Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
libexec /
webmin /
jabber /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
backup_config.pl
770
B
-rwxr-xr-x
config
152
B
-rw-r--r--
config-cobalt-linux
190
B
-rw-r--r--
config-coherent-linux
190
B
-rw-r--r--
config-debian-linux
166
B
-rw-r--r--
config-gentoo-linux
195
B
-rw-r--r--
config-mandrake-linux
185
B
-rw-r--r--
config-msc-linux
190
B
-rw-r--r--
config-openmamba-linux
190
B
-rw-r--r--
config-redhat-linux
190
B
-rw-r--r--
config-suse-linux
190
B
-rw-r--r--
config-syno-linux
152
B
-rw-r--r--
config-trustix-linux
190
B
-rw-r--r--
config-turbo-linux
190
B
-rw-r--r--
config-united-linux
202
B
-rw-r--r--
config.info
365
B
-rw-r--r--
config.info.ca
411
B
-rw-r--r--
config.info.ca.UTF-8
415
B
-rw-r--r--
config.info.cz
387
B
-rw-r--r--
config.info.cz.UTF-8
344
B
-rw-r--r--
config.info.de
421
B
-rw-r--r--
config.info.de.UTF-8
421
B
-rw-r--r--
config.info.es
348
B
-rw-r--r--
config.info.es.UTF-8
348
B
-rw-r--r--
config.info.nl
397
B
-rw-r--r--
config.info.nl.UTF-8
397
B
-rw-r--r--
config.info.no
381
B
-rw-r--r--
config.info.no.UTF-8
381
B
-rw-r--r--
config.info.pl
390
B
-rw-r--r--
config.info.pl.UTF-8
394
B
-rw-r--r--
config.info.ru.UTF-8
580
B
-rw-r--r--
config.info.ru_RU
384
B
-rw-r--r--
config.info.ru_RU.UTF-8
580
B
-rw-r--r--
config.info.ru_SU
384
B
-rw-r--r--
config.info.uk_UA
396
B
-rw-r--r--
config.info.uk_UA.UTF-8
584
B
-rw-r--r--
cpan_modules.pl
97
B
-rwxr-xr-x
edit_admin.cgi
1.66
KB
-rwxr-xr-x
edit_file.cgi
696
B
-rwxr-xr-x
edit_filter.cgi
1.37
KB
-rwxr-xr-x
edit_general.cgi
1.7
KB
-rwxr-xr-x
edit_ips.cgi
1.59
KB
-rwxr-xr-x
edit_karma.cgi
2.83
KB
-rwxr-xr-x
edit_messages.cgi
2.46
KB
-rwxr-xr-x
edit_modules.cgi
1.35
KB
-rwxr-xr-x
index.cgi
4.11
KB
-rwxr-xr-x
install_check.pl
609
B
-rwxr-xr-x
jabber-lib.pl
5.13
KB
-rwxr-xr-x
module.info
169
B
-rw-r--r--
module.info.ca
98
B
-rw-r--r--
module.info.ca.UTF-8
110
B
-rw-r--r--
module.info.cz
25
B
-rw-r--r--
module.info.cz.UTF-8
31
B
-rw-r--r--
module.info.de
95
B
-rw-r--r--
module.info.de.UTF-8
107
B
-rw-r--r--
module.info.es
50
B
-rw-r--r--
module.info.es.UTF-8
56
B
-rw-r--r--
module.info.ms_MY
100
B
-rw-r--r--
module.info.ms_MY.UTF-8
112
B
-rw-r--r--
module.info.nl
25
B
-rw-r--r--
module.info.nl.UTF-8
31
B
-rw-r--r--
module.info.no
25
B
-rw-r--r--
module.info.no.UTF-8
31
B
-rw-r--r--
module.info.pl
93
B
-rw-r--r--
module.info.pl.UTF-8
107
B
-rw-r--r--
module.info.ru.UTF-8
53
B
-rw-r--r--
module.info.ru_RU
35
B
-rw-r--r--
module.info.ru_RU.UTF-8
56
B
-rw-r--r--
module.info.ru_SU
35
B
-rw-r--r--
restart.cgi
274
B
-rwxr-xr-x
save_admin.cgi
1.16
KB
-rwxr-xr-x
save_file.cgi
636
B
-rwxr-xr-x
save_filter.cgi
920
B
-rwxr-xr-x
save_general.cgi
1.75
KB
-rwxr-xr-x
save_ips.cgi
979
B
-rwxr-xr-x
save_karma.cgi
1.26
KB
-rwxr-xr-x
save_messages.cgi
1.29
KB
-rwxr-xr-x
save_modules.cgi
748
B
-rwxr-xr-x
start.cgi
168
B
-rwxr-xr-x
stop.cgi
197
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : jabber-lib.pl
# jabber-lib.pl # Common functions for editing the jabber config files # # XXX - http://prdownloads.sourceforge.net/expat/expat-1.95.2-1.i686.rpm # - XML::Parser XML::Generator # XXX - admin <read> and <write> - what do they mean? BEGIN { push(@INC, ".."); }; use WebminCore; &init_config(); if ($config{'jabber_lib'}) { $ENV{$gconfig{'ld_env'}} .= ':' if ($ENV{$gconfig{'ld_env'}}); $ENV{$gconfig{'ld_env'}} .= $config{'jabber_lib'}; } eval "use XML::Parser; \$got_xml_parser++"; eval "use XML::Generator; \$got_xml_generator++"; # get_jabber_config() # Parse the jabber XML config file sub get_jabber_config { return $get_jabber_config_cache if (defined($get_jabber_config_cache)); local $xml = new XML::Parser('Style' => 'Tree'); eval { $get_jabber_config_cache = $xml->parsefile($config{'jabber_config'}); }; if ($@) { return $@; } return $get_jabber_config_cache; } # find(name, &config) sub find { local (@rv, $i); local $list = $_[1]->[1]; for($i=1; $i<@$list; $i+=2) { if (lc($list->[$i]) eq lc($_[0])) { push(@rv, [ $list->[$i], $list->[$i+1], $i ]); } } return wantarray ? @rv : $rv[0]; } # find_value(name, &config) sub find_value { local @rv = map { &value_in($_) } &find($_[0], $_[1]); return wantarray ? @rv : $rv[0]; } # jabber_pid_file() # Returns the PID file used by jabber sub jabber_pid_file { local $conf = &get_jabber_config(); local $pidfile = &find_value("pidfile", $conf); if ($pidfile =~ /^\//) { return $pidfile; } elsif ($pidfile) { return "$config{'jabber_dir'}/$pidfile"; } else { return "$config{'jabber_dir'}/jabber.pid"; } } # value_in(&tag) sub value_in { return undef if (!$_[0]); local $zero = &find("0", $_[0]); return $zero ? $zero->[1] : undef; } # generate_config(&tree, &gen) # Returns an XML::Generator object created from a config tree structure sub generate_config { local $gen = $_[1] ? $_[1] : XML::Generator->new(escape => 'always'); local $list = $_[0]->[1]; local (@mems, $i); for($i=1; $i<@$list-1; $i+=2) { if ($list->[$i] eq '0') { push(@mems, $list->[$i+1]); } else { push(@mems, &generate_config( [ $list->[$i], $list->[$i+1] ], $gen)); } } local $name = $_[0]->[0]; return $gen->$name($list->[0], @mems); } # save_jabber_config(&config) sub save_jabber_config { &open_tempfile(CONFIG, ">$config{'jabber_config'}"); local $xml = &generate_config($_[0]); &print_tempfile(CONFIG, $xml); &print_tempfile(CONFIG, "\n"); &close_tempfile(CONFIG); } # save_directive(&config, name|&old, &new) # Replaces all directives of some name with new values sub save_directive { local @ov = ref($_[1]) ? @{$_[1]} : &find($_[1], $_[0]); local @nv = @{$_[2]}; local ($i, $j); for($i=0; $i<@ov || $i<@nv; $i++) { local $idx = $ov[$i]->[2] if ($ov[$i]); if ($ov[$i] && $nv[$i]) { # Updating an existing value $_[0]->[1]->[$idx] = $nv[$i]->[0]; $_[0]->[1]->[$idx+1] = $nv[$i]->[1]; } elsif ($ov[$i]) { # Deleting an old value splice(@{$_[0]->[1]}, $idx, 2); map { $_->[2] -= 2 if ($_->[2] >= $idx) } @ov; } else { # Adding a new value after the last non-text one local $nt = -1; for($j=1; $j<@{$_[0]->[1]}; $j+=2) { $nt = $j if ($_[0]->[1]->[$j] ne '0'); } splice(@{$_[0]->[1]}, $nt+2, 0, $nv[$i]->[0], $nv[$i]->[1]); } } } # find_by_tag(name, tag, value, &config) sub find_by_tag { local @m = &find($_[0], $_[3]); @m = grep { lc($_->[1]->[0]->{lc($_[1])}) eq lc($_[2]) } @m; return wantarray ? @m : $m[0]; } # xml_string(name, &tree, ...) # Converts a list of XML structures into text sub xml_string { local $rv = ""; for($i=0; $i<@_; $i+=2) { local $xml = &generate_config([ $_[$i], $_[$i+1] ]); if ($xml =~ /\S/) { $rv .= $xml."\n"; } } return $rv; } # get_jabberd_version(&out) sub get_jabberd_version { local $jabberd = $config{'jabber_daemon'} ? $config{'jabber_daemon'} : "$config{'jabber_dir'}/bin/jabberd"; local $out = `$jabberd -v 2>&1`; ${$_[0]} = $out; return $out =~ /\s(1\.4\S*)/ ? $1 : undef; } # stop_jabber() # Stops jabber, and returns undef on success or an error message on failure sub stop_jabber { if ($config{'stop_cmd'}) { &system_logged("$config{'stop_cmd'} </dev/null >/dev/null 2>&1"); } else { local $pid = &check_pid_file(&jabber_pid_file()); if ($pid) { &kill_logged('TERM', $pid) || return $!; } else { return $text{'stop_epid'}; } } unlink(&jabber_pid_file()); return undef; } # start_jabber() # Starts jabber, and returns undef on success or an error message on failure sub start_jabber { &system_logged("$config{'start_cmd'} </dev/null >/tmp/err 2>&1"); return undef; } @register_fields = ( 'name', 'email' ); @karma_presets = ( { 'heartbeat' => 2, 'init' => 10, 'max' => 10, 'inc' => 1, 'dec' => 1, 'penalty' => -6, 'restore' => 10 }, { 'heartbeat' => 2, 'init' => 50, 'max' => 50, 'inc' => 4, 'dec' => 1, 'penalty' => -5, 'restore' => 50 }, { 'heartbeat' => 2, 'init' => 64, 'max' => 64, 'inc' => 6, 'dec' => 1, 'penalty' => -3, 'restore' => 64 } ); @filter_conds = ( "ns", "unavailable", "from", "resource", "subject", "body", "show", "type", "roster", "group" ); @filter_acts = ( "error", "offline", "forward", "reply", "continue", "settype" ); 1;
Close