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-server /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
106
B
-rw-r--r--
atboot.cgi
906
B
-rwxr-xr-x
backup_config.pl
672
B
-rwxr-xr-x
config
192
B
-rw-r--r--
config-freebsd
179
B
-rw-r--r--
config.info
238
B
-rw-r--r--
config.info.ca
294
B
-rw-r--r--
config.info.ca.UTF-8
298
B
-rw-r--r--
config.info.de
265
B
-rw-r--r--
config.info.de.UTF-8
265
B
-rw-r--r--
config.info.no
258
B
-rw-r--r--
config.info.no.UTF-8
258
B
-rw-r--r--
delete_devices.cgi
1.43
KB
-rwxr-xr-x
delete_extents.cgi
1.43
KB
-rwxr-xr-x
delete_targets.cgi
1.15
KB
-rwxr-xr-x
delete_users.cgi
805
B
-rwxr-xr-x
edit_device.cgi
1.79
KB
-rwxr-xr-x
edit_extent.cgi
3.11
KB
-rwxr-xr-x
edit_manual.cgi
601
B
-rwxr-xr-x
edit_opts.cgi
1002
B
-rwxr-xr-x
edit_target.cgi
2.09
KB
-rwxr-xr-x
edit_user.cgi
1.28
KB
-rwxr-xr-x
index.cgi
1.72
KB
-rwxr-xr-x
install_check.pl
348
B
-rwxr-xr-x
iscsi-server-lib.pl
12.22
KB
-rw-r--r--
list_devices.cgi
1.25
KB
-rwxr-xr-x
list_extents.cgi
1.16
KB
-rwxr-xr-x
list_targets.cgi
1.41
KB
-rwxr-xr-x
list_users.cgi
994
B
-rwxr-xr-x
log_parser.pl
677
B
-rwxr-xr-x
module.info
214
B
-rw-r--r--
module.info.ca
148
B
-rw-r--r--
module.info.ca.UTF-8
161
B
-rw-r--r--
module.info.de
134
B
-rw-r--r--
module.info.de.UTF-8
146
B
-rw-r--r--
module.info.ms_MY
150
B
-rw-r--r--
module.info.ms_MY.UTF-8
162
B
-rw-r--r--
module.info.no
122
B
-rw-r--r--
module.info.no.UTF-8
134
B
-rw-r--r--
restart.cgi
302
B
-rwxr-xr-x
save_device.cgi
1.91
KB
-rwxr-xr-x
save_extent.cgi
2.4
KB
-rwxr-xr-x
save_manual.cgi
403
B
-rwxr-xr-x
save_opts.cgi
1.09
KB
-rwxr-xr-x
save_target.cgi
1.8
KB
-rwxr-xr-x
save_user.cgi
1.01
KB
-rwxr-xr-x
start.cgi
279
B
-rwxr-xr-x
stop.cgi
254
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_device.cgi
#!/usr/bin/perl # Create, update or delete an device use strict; use warnings; require './iscsi-server-lib.pl'; our (%text, %in, %config); &lock_file($config{'targets_file'}); my $conf = &get_iscsi_config(); &ReadParse(); &error_setup($in{'delete'} ? $text{'device_derr'} : $text{'device_err'}); my ($device, $old_device); if (!$in{'new'}) { # Get the existing device $device = &find($conf, "device", $in{'num'}); $device || &text('device_egone', $in{'num'}); $old_device = $device; } else { # Creating a new one $device = { 'num' => &find_free_num($conf, 'device'), 'type' => 'device' }; } if ($in{'delete'}) { # Check if in use before deleting my @users = &find_extent_users($conf, $device); if (@users) { &error(&text('device_einuse', join(", ", map { &describe_object($_) } @users))); } # Delete, after asking for confirmation if ($in{'confirm'}) { # Delete it &save_directive($conf, $device, undef); } else { # Ask first &ui_print_header(undef, $text{'device_edit'}, ""); print &ui_confirmation_form( "save_device.cgi", &text('device_rusure', $device->{'type'}.$device->{'num'}), [ [ 'num', $in{'num'} ], [ 'delete', 1 ] ], [ [ 'confirm', $text{'device_sure'} ] ], ); &ui_print_footer("list_devices.cgi", $text{'devices_return'}); return; } } else { # Validate and store inputs $device->{'mode'} = $in{'mode'}; my @extents = split(/\r?\n/, $in{'extents'}); @extents || &error($text{'device_eextents'}); $device->{'extents'} = \@extents; if (&indexof($device->{'type'}.$device->{'num'}, &expand_extents($conf, { }, @extents)) >= 0) { # Contains self!? &error($text{'device_eself'}); } # Write out the config &save_directive($conf, $old_device, $device); } &unlock_file($config{'targets_file'}); &webmin_log($in{'new'} ? 'create' : $in{'delete'} ? 'delete' : 'modify', 'device', $device->{'type'}.$device->{'num'}); &redirect("list_devices.cgi");
Close