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 /
iscsi-tgtd /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
127
B
-rw-r--r--
atboot.cgi
658
B
-rwxr-xr-x
config
70
B
-rw-r--r--
config-Amazon-Linux-2-ALL
184
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
184
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
184
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
184
B
-rw-r--r--
config-debian-linux
92
B
-rw-r--r--
config-redhat-linux
128
B
-rw-r--r--
config-syno-linux
70
B
-rw-r--r--
config.info
421
B
-rw-r--r--
config.info.ca
487
B
-rw-r--r--
config.info.ca.UTF-8
492
B
-rw-r--r--
config.info.de
504
B
-rw-r--r--
config.info.de.UTF-8
504
B
-rw-r--r--
config.info.no
465
B
-rw-r--r--
config.info.no.UTF-8
465
B
-rw-r--r--
delete_targets.cgi
927
B
-rwxr-xr-x
edit_manual.cgi
1
KB
-rwxr-xr-x
edit_target.cgi
5.36
KB
-rwxr-xr-x
index.cgi
2.7
KB
-rwxr-xr-x
install_check.pl
346
B
-rwxr-xr-x
iscsi-tgtd-lib.pl
11.61
KB
-rw-r--r--
log_parser.pl
457
B
-rwxr-xr-x
module.info
196
B
-rw-r--r--
module.info.ca
136
B
-rw-r--r--
module.info.ca.UTF-8
149
B
-rw-r--r--
module.info.de
123
B
-rw-r--r--
module.info.de.UTF-8
135
B
-rw-r--r--
restart.cgi
298
B
-rwxr-xr-x
save_manual.cgi
631
B
-rwxr-xr-x
save_target.cgi
4.42
KB
-rwxr-xr-x
start.cgi
275
B
-rwxr-xr-x
stop.cgi
250
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : delete_targets.cgi
#!/usr/bin/perl # Delete multiple targets use strict; use warnings; require './iscsi-tgtd-lib.pl'; our (%text, %in, %config); &ReadParse(); &error_setup($text{'dtargets_err'}); &lock_file($config{'config_file'}); my $conf = &get_tgtd_config(); # Find the targets my @d = split(/\0/, $in{'d'}); my @deltargets; my @locks; foreach my $d (@d) { my ($target) = grep { $_->{'value'} eq $d } &find($conf, "target"); push(@deltargets, $target) if ($target); push(@locks, $target->{'file'}); } @deltargets || &error($text{'dtargets_enone'}); @locks = &unique(@locks); # Delete them, in reverse order foreach my $l (@locks) { &lock_file($l); } foreach my $target (reverse(@deltargets)) { &save_directive($conf, $target, undef); &flush_file_lines($target->{'file'}); &delete_if_empty($target->{'file'}); } foreach my $l (@locks) { &unlock_file($l); } &webmin_log('delete', 'targets', scalar(@deltargets)); &redirect("");
Close