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 /
vgetty /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
backup_config.pl
923
B
-rwxr-xr-x
config
63
B
-rw-r--r--
config.info
109
B
-rw-r--r--
config.info.ca
127
B
-rw-r--r--
config.info.ca.UTF-8
131
B
-rw-r--r--
config.info.cz
121
B
-rw-r--r--
config.info.cz.UTF-8
124
B
-rw-r--r--
config.info.de
119
B
-rw-r--r--
config.info.de.UTF-8
119
B
-rw-r--r--
config.info.es
139
B
-rw-r--r--
config.info.es.UTF-8
139
B
-rw-r--r--
config.info.hu
119
B
-rw-r--r--
config.info.hu.UTF-8
127
B
-rw-r--r--
config.info.ms_MY
111
B
-rw-r--r--
config.info.ms_MY.UTF-8
111
B
-rw-r--r--
config.info.nl
113
B
-rw-r--r--
config.info.nl.UTF-8
113
B
-rw-r--r--
config.info.no
108
B
-rw-r--r--
config.info.no.UTF-8
108
B
-rw-r--r--
config.info.pl
129
B
-rw-r--r--
config.info.pl.UTF-8
133
B
-rw-r--r--
config.info.ru.UTF-8
169
B
-rw-r--r--
config.info.ru_RU
115
B
-rw-r--r--
config.info.ru_RU.UTF-8
169
B
-rw-r--r--
config.info.ru_SU
115
B
-rw-r--r--
config.info.uk_UA
120
B
-rw-r--r--
config.info.uk_UA.UTF-8
169
B
-rw-r--r--
delete.cgi
1.31
KB
-rwxr-xr-x
edit_options.cgi
4.85
KB
-rwxr-xr-x
edit_vgetty.cgi
2.78
KB
-rwxr-xr-x
email.pl
1018
B
-rwxr-xr-x
index.cgi
1.41
KB
-rwxr-xr-x
install_check.pl
387
B
-rwxr-xr-x
list_messages.cgi
2.48
KB
-rwxr-xr-x
list_received.cgi
1.87
KB
-rwxr-xr-x
list_vgetty.cgi
1.18
KB
-rwxr-xr-x
listen.cgi
511
B
-rwxr-xr-x
log_parser.pl
749
B
-rwxr-xr-x
module.info
172
B
-rw-r--r--
module.info.ca
115
B
-rw-r--r--
module.info.ca.UTF-8
128
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
91
B
-rw-r--r--
module.info.de.UTF-8
103
B
-rw-r--r--
module.info.es
45
B
-rw-r--r--
module.info.es.UTF-8
51
B
-rw-r--r--
module.info.hu
27
B
-rw-r--r--
module.info.hu.UTF-8
34
B
-rw-r--r--
module.info.ms_MY
126
B
-rw-r--r--
module.info.ms_MY.UTF-8
138
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
31
B
-rw-r--r--
module.info.pl.UTF-8
38
B
-rw-r--r--
module.info.ru.UTF-8
57
B
-rw-r--r--
module.info.ru_RU
34
B
-rw-r--r--
module.info.ru_RU.UTF-8
60
B
-rw-r--r--
module.info.ru_SU
34
B
-rw-r--r--
save_options.cgi
3.9
KB
-rwxr-xr-x
save_vgetty.cgi
3.09
KB
-rwxr-xr-x
upload.cgi
1.78
KB
-rwxr-xr-x
vgetty-lib.pl
4.3
KB
-rwxr-xr-x
vgetty_apply.cgi
228
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_vgetty.cgi
#!/usr/bin/perl # save_vgetty.cgi # Save, create or delete a serial port configuration require './vgetty-lib.pl'; &foreign_require("inittab", "inittab-lib.pl"); &ReadParse(); @inittab = &inittab::parse_inittab(); @vgt = &vgetty_inittabs(); if (!$in{'new'}) { ($init) = grep { $_->{'id'} eq $in{'id'} } @vgt; $oldtty = $init->{'tty'}; $oldtty = "/dev/$oldtty" if ($oldtty !~ /^\//); } @conf = &get_config(); $rings = &find_value("rings", \@conf); $ans = &find_value("answer_mode", \@conf); &lock_file($inittab::config{'inittab_file'}); if ($in{'delete'}) { # Just deleting an inittab entry &inittab::delete_inittab($init); if (defined($in{'rings_def'})) { local $tf = &tty_opt_file($ans, $oldtty); &lock_file($tf); unlink($tf); &unlock_file($tf); } if (defined($in{'ans_def'})) { $tf = &tty_opt_file($rings, $oldtty); &lock_file($tf); unlink($tf); &unlock_file($tf); } } else { # Validate and store inputs &error_setup($text{'vgetty_err'}); $cmd = $in{'new'} ? &has_command("vgetty") : $init->{'vgetty'}; if ($init->{'args'}) { $init->{'args'} =~ s/^\s+//; $cmd .= " $init->{'args'}"; } if ($in{'tty'}) { $cmd .= " $in{'tty'}"; $init->{'tty'} = $in{'tty'}; } else { -r $in{'other'} || &error($text{'vgetty_etty'}); $cmd .= " $in{'other'}"; $init->{'tty'} = $in{'other'}; } $newtty = $init->{'tty'}; $newtty = "/dev/$newtty" if ($newtty !~ /^\//); if ($in{'new'} || $newtty ne $oldtty) { # Check for tty clash foreach $v (&vgetty_inittabs()) { local $vtty = $v->{'tty'}; $vtty = "/dev/$vtty" if ($vtty !~ /^\//); &error(&text('vgetty_eclash', "<tt>$vtty</tt>")) if ($vtty eq $newtty); } } $init->{'process'} = $cmd; if (defined($in{'rings_def'})) { $tf = &tty_opt_file($rings, $init->{'tty'}); &lock_file($tf); if (!$in{'new'} && $oldtty ne $newtty) { unlink(&tty_opt_file($rings, $oldtty)); } if ($in{'rings_def'}) { unlink($tf); } else { $in{'rings'} =~ /^\d+$/ || &error($text{'vgetty_erings'}); $in{'rings'} >= 2 || &error($text{'vgetty_erings2'}); &open_tempfile(TF, ">$tf"); &print_tempfile(TF, $in{'rings'},"\n"); &close_tempfile(TF); } &unlock_file($tf); } if (defined($in{'ans_def'})) { $tf = &tty_opt_file($ans, $init->{'tty'}); &lock_file($tf); if (!$in{'new'} && $oldtty ne $newtty) { unlink(&tty_opt_file($ans, $oldtty)); } if ($in{'ans_def'}) { unlink($tf); } else { $mode = &parse_answer_mode("ans"); $mode || &error($text{'vgetty_eans'}); &open_tempfile(TF, ">$tf"); &print_tempfile(TF, $mode,"\n"); &close_tempfile(TF); } &unlock_file($tf); } if ($in{'new'}) { $maxid = 1; foreach $i (@inittab) { $maxid = $i->{'id'} if ($i->{'id'} =~ /^\d+$/ && $i->{'id'} > $maxid); } $init->{'id'} = $maxid + 1; $init->{'levels'} = [ 2, 3, 4, 5 ]; $init->{'action'} = "respawn"; &inittab::create_inittab($init); } else { &inittab::modify_inittab($init); } } &unlock_file($inittab::config{'inittab_file'}); &webmin_log($in{'delete'} ? "delete" : $in{'new'} ? "create" : "modify", "vgetty", $init->{'tty'}, $init); &redirect("list_vgetty.cgi");
Close