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 /
software /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
2.82
KB
-rw-r--r--
aix-lib.pl
19.2
KB
-rwxr-xr-x
apt-lib.pl
13.32
KB
-rwxr-xr-x
apt_upgrade.cgi
1.97
KB
-rwxr-xr-x
cgi_args.pl
524
B
-rwxr-xr-x
close.cgi
263
B
-rwxr-xr-x
config-aix
30
B
-rw-r--r--
config-cobalt-linux
30
B
-rw-r--r--
config-coherent-linux
30
B
-rw-r--r--
config-corel-linux
33
B
-rw-r--r--
config-cygwin
33
B
-rw-r--r--
config-debian-linux
51
B
-rw-r--r--
config-freebsd
54
B
-rw-r--r--
config-freebsd-8.4-ALL
52
B
-rw-r--r--
config-gentoo-linux
33
B
-rw-r--r--
config-hpux
31
B
-rw-r--r--
config-mandrake-linux
30
B
-rw-r--r--
config-msc-linux
30
B
-rw-r--r--
config-netbsd
34
B
-rw-r--r--
config-open-linux
30
B
-rw-r--r--
config-openbsd
34
B
-rw-r--r--
config-openmamba-linux
48
B
-rw-r--r--
config-openserver
33
B
-rw-r--r--
config-redhat-linux
48
B
-rw-r--r--
config-slackware-linux
36
B
-rw-r--r--
config-solaris
33
B
-rw-r--r--
config-suse-linux
30
B
-rw-r--r--
config-syno-linux
50
B
-rw-r--r--
config-trustix-linux
30
B
-rw-r--r--
config-turbo-linux
30
B
-rw-r--r--
config-united-linux
30
B
-rw-r--r--
config-unixware
33
B
-rw-r--r--
config-windows
30
B
-rw-r--r--
config.info
511
B
-rw-r--r--
config.info.ca
549
B
-rw-r--r--
config.info.ca.UTF-8
554
B
-rw-r--r--
config.info.cz
359
B
-rw-r--r--
config.info.cz.UTF-8
372
B
-rw-r--r--
config.info.de
523
B
-rw-r--r--
config.info.de.UTF-8
523
B
-rw-r--r--
config.info.es
372
B
-rw-r--r--
config.info.es.UTF-8
372
B
-rw-r--r--
config.info.fr
133
B
-rw-r--r--
config.info.fr.UTF-8
135
B
-rw-r--r--
config.info.ja_JP.UTF-8
428
B
-rw-r--r--
config.info.ja_JP.euc
384
B
-rw-r--r--
config.info.ko_KR.UTF-8
409
B
-rw-r--r--
config.info.ko_KR.euc
373
B
-rw-r--r--
config.info.ms
188
B
-rw-r--r--
config.info.ms.UTF-8
188
B
-rw-r--r--
config.info.ms_MY
411
B
-rw-r--r--
config.info.ms_MY.UTF-8
411
B
-rw-r--r--
config.info.nl
415
B
-rw-r--r--
config.info.nl.UTF-8
415
B
-rw-r--r--
config.info.no
424
B
-rw-r--r--
config.info.no.UTF-8
424
B
-rw-r--r--
config.info.pl
391
B
-rw-r--r--
config.info.pl.UTF-8
392
B
-rw-r--r--
config.info.ru.UTF-8
222
B
-rw-r--r--
config.info.ru_RU
179
B
-rw-r--r--
config.info.ru_RU.UTF-8
222
B
-rw-r--r--
config.info.ru_SU
179
B
-rw-r--r--
config.info.sv
224
B
-rw-r--r--
config.info.sv.UTF-8
224
B
-rw-r--r--
config.info.tr
122
B
-rw-r--r--
config.info.uk_UA
181
B
-rw-r--r--
config.info.uk_UA.UTF-8
218
B
-rw-r--r--
config.info.zh_CN
115
B
-rw-r--r--
config.info.zh_CN.UTF-8
122
B
-rw-r--r--
config.info.zh_TW.Big5
117
B
-rw-r--r--
config.info.zh_TW.UTF-8
125
B
-rw-r--r--
csw-lib.pl
2.68
KB
-rwxr-xr-x
cygwin-lib.pl
22.33
KB
-rwxr-xr-x
debian-lib.pl
6.54
KB
-rwxr-xr-x
delete_file.cgi
239
B
-rwxr-xr-x
delete_pack.cgi
1.46
KB
-rwxr-xr-x
delete_packs.cgi
1.85
KB
-rwxr-xr-x
do_install.cgi
2.56
KB
-rwxr-xr-x
edit_pack.cgi
1.13
KB
-rwxr-xr-x
emerge-lib.pl
7.65
KB
-rwxr-xr-x
file_info.cgi
2.09
KB
-rwxr-xr-x
find.cgi
1.63
KB
-rwxr-xr-x
freebsd-lib.pl
7.95
KB
-rwxr-xr-x
hpux-lib.pl
8.01
KB
-rwxr-xr-x
index.cgi
3
KB
-rwxr-xr-x
install_pack.cgi
4.7
KB
-rwxr-xr-x
ipkg-close.cgi
269
B
-rwxr-xr-x
ipkg-edit_pack.cgi
1.45
KB
-rwxr-xr-x
ipkg-lib.pl
7.78
KB
-rwxr-xr-x
ipkg-open.cgi
243
B
-rwxr-xr-x
ipkg-tree.cgi
4
KB
-rwxr-xr-x
ipkg_upgrade.cgi
926
B
-rwxr-xr-x
list_pack.cgi
1.85
KB
-rwxr-xr-x
log_parser.pl
1.34
KB
-rwxr-xr-x
module.info
484
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
27
B
-rw-r--r--
module.info.cz.UTF-8
36
B
-rw-r--r--
module.info.de
106
B
-rw-r--r--
module.info.de.UTF-8
118
B
-rw-r--r--
module.info.es
29
B
-rw-r--r--
module.info.es.UTF-8
35
B
-rw-r--r--
module.info.fr
29
B
-rw-r--r--
module.info.fr.UTF-8
35
B
-rw-r--r--
module.info.hu
36
B
-rw-r--r--
module.info.hu.UTF-8
44
B
-rw-r--r--
module.info.ja_JP.UTF-8
52
B
-rw-r--r--
module.info.ja_JP.euc
39
B
-rw-r--r--
module.info.ko_KR.UTF-8
43
B
-rw-r--r--
module.info.ko_KR.euc
33
B
-rw-r--r--
module.info.ms
23
B
-rw-r--r--
module.info.ms.UTF-8
29
B
-rw-r--r--
module.info.ms_MY
110
B
-rw-r--r--
module.info.ms_MY.UTF-8
122
B
-rw-r--r--
module.info.nl
27
B
-rw-r--r--
module.info.nl.UTF-8
33
B
-rw-r--r--
module.info.no
26
B
-rw-r--r--
module.info.no.UTF-8
32
B
-rw-r--r--
module.info.pl
120
B
-rw-r--r--
module.info.pl.UTF-8
133
B
-rw-r--r--
module.info.pt
28
B
-rw-r--r--
module.info.pt.UTF-8
34
B
-rw-r--r--
module.info.ru.UTF-8
36
B
-rw-r--r--
module.info.ru_RU
23
B
-rw-r--r--
module.info.ru_RU.UTF-8
39
B
-rw-r--r--
module.info.ru_SU
23
B
-rw-r--r--
module.info.sv
21
B
-rw-r--r--
module.info.sv.UTF-8
27
B
-rw-r--r--
module.info.tr
26
B
-rw-r--r--
module.info.zh_CN
18
B
-rw-r--r--
module.info.zh_TW.Big5
25
B
-rw-r--r--
msi-lib.pl
8.44
KB
-rwxr-xr-x
open.cgi
238
B
-rwxr-xr-x
openbsd-lib.pl
4.72
KB
-rwxr-xr-x
pkg-lib.pl
2.5
KB
-rw-r--r--
pkgadd-lib.pl
9.97
KB
-rwxr-xr-x
pkgadd-no-ask
164
B
-rw-r--r--
pkgsrc-lib.pl
7.22
KB
-rw-r--r--
ports-lib.pl
3.49
KB
-rw-r--r--
ports_upgrade.cgi
501
B
-rwxr-xr-x
rhn-lib.pl
3.02
KB
-rwxr-xr-x
rhn.cgi
1.3
KB
-rwxr-xr-x
rhn_check.cgi
1.84
KB
-rwxr-xr-x
rpm-lib.pl
11.18
KB
-rwxr-xr-x
rpmfind.cgi
2.11
KB
-rwxr-xr-x
search.cgi
2.27
KB
-rwxr-xr-x
slackware-lib.pl
6.95
KB
-rwxr-xr-x
software-lib.pl
7.56
KB
-rwxr-xr-x
tree.cgi
3.79
KB
-rwxr-xr-x
urpmi-lib.pl
2.14
KB
-rwxr-xr-x
urpmi_upgrade.cgi
839
B
-rwxr-xr-x
view.cgi
899
B
-rwxr-xr-x
yum-lib.pl
12.8
KB
-rwxr-xr-x
yum_upgrade.cgi
908
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : software-lib.pl
# software-lib.pl # A generalized system for package management on solaris, linux, etc.. BEGIN { push(@INC, ".."); }; use WebminCore; &init_config(); $heiropen_file = "$module_config_directory/heiropen"; # Use the appropriate function set for whatever package management system # we are using. do "$config{'package_system'}-lib.pl"; if ($config{'update_system'} eq '*') { # User specifically doesn't want any $update_system = undef; } elsif ($config{'update_system'}) { # User-specified system $update_system = $config{'update_system'}; } else { # Guess which update system we are using if ($gconfig{'os_type'} eq 'freebsd') { if (&use_pkg_ng()) { $update_system = "pkg"; } else { $update_system = "ports"; } } elsif (&has_command($config{'apt_mode'} ? "aptitude" : "apt-get")) { $update_system = "apt"; } elsif (&has_command("yum") && -r "/etc/yum.conf") { $update_system = "yum"; } elsif (&has_command("dnf") && -r "/etc/dnf/dnf.conf") { # DNF is basically compatible with YUM $update_system = "yum"; } elsif (&has_command("up2date") && &has_command("rhn_check")) { $update_system = "rhn"; } elsif (-x "/opt/csw/bin/pkg-get" || &has_command("pkg-get") || -x "/opt/csw/bin/pkgutil" || &has_command("pkgutil")) { $update_system = "csw"; } elsif (&has_command("urpmi")) { $update_system = "urpmi"; } elsif (&has_command("emerge")) { $update_system = "emerge"; } elsif (&has_command("pkgin") || -x "/usr/pkg/bin/pkgin") { $update_system = "pkgsrc"; } } if ($update_system) { # Load the update system specific library, unless it has already been # loaded above if ($update_system ne $config{'package_system'}) { do $update_system."-lib.pl"; } $has_update_system = 1; } # uncompress_if_needed(file, disposable) # If some file needs to be uncompressed or ungzipped, do it and return the # new temp file path. Otherwise, return the original path. sub uncompress_if_needed { return $_[0] if (&is_readonly_mode()); # don't even bother open(PFILE, $_[0]); read(PFILE, $two, 2); close(PFILE); if ($two eq "\037\235") { if (!&has_command("uncompress")) { &unlink_file($_[0]) if ($_[1]); &error($text{'soft_euncompress'}); } local $temp = $_[0] =~ /\/([^\/]+)\.Z/i ? &tempname("$1") : &tempname(); local $out = `uncompress -c $_[0] 2>&1 >$temp`; unlink($_[0]) if ($_[1]); if ($?) { unlink($temp); &error(&text('soft_euncmsg', $out)); } return $temp; } elsif ($two eq "\037\213") { if (!&has_command("gunzip")) { unlink($_[0]) if ($_[1]); &error($text{'soft_egzip'}); } local $temp = $_[0] =~ /\/([^\/]+)\.gz/i ? &tempname("$1") : &tempname(); local $out = `gunzip -c $_[0] 2>&1 >$temp`; unlink($_[0]) if ($_[1]); if ($?) { unlink($temp); &error(&text('soft_egzmsg', $out)); } return $temp; } return $_[0]; } # show_package_info(package, version, [no-installed-message]) sub show_package_info { my ($name, $ver, $nomsg) = @_; my @pinfo = &package_info($name, $ver); return () if (!@pinfo); print &ui_subheading(&text('do_success', $name)) if (!$nomsg); print &ui_table_start($text{'edit_details'}, "width=100%", 4, [ "width=20%", undef, "width=20%", undef ]); # Package description if ($pinfo[2]) { $desc = &html_escape(&entities_to_ascii($pinfo[2])); $desc =~ s/\r?\n/ <br>/g; print &ui_table_row($text{'edit_desc'}, "<tt>$desc</tt>", 3); } # Name print &ui_table_row($text{'edit_pack'}, &html_escape($pinfo[0])); # Class, if any print &ui_table_row($text{'edit_class'}, $pinfo[1] ? &html_escape($pinfo[1]) : $text{'edit_none'}); # Version number print &ui_table_row($text{'edit_ver'}, &html_escape($pinfo[4])); if ($pinfo[5]) { # Vendor print &ui_table_row($text{'edit_vend'}, &html_escape(&entities_to_ascii($pinfo[5]))); } # Architecture print &ui_table_row($text{'edit_arch'}, &html_escape($pinfo[3])); if ($pinfo[6]) { # Install date print &ui_table_row($text{'edit_inst'}, $pinfo[6]); } print &ui_table_end(); return @pinfo; } @type_map = ( $text{'soft_reg'}, $text{'soft_dir'}, $text{'soft_spec'}, $text{'soft_sym'}, $text{'soft_hard'}, $text{'soft_edit'} ); # get_heiropen() # Returns an array of open categories sub get_heiropen { open(HEIROPEN, $heiropen_file); local @heiropen = <HEIROPEN>; chop(@heiropen); close(HEIROPEN); return @heiropen; } # save_heiropen(&heir) sub save_heiropen { &open_tempfile(HEIR, ">$heiropen_file"); foreach $h (@{$_[0]}) { &print_tempfile(HEIR, $h,"\n"); } &close_tempfile(HEIR); } # missing_install_link(package, description, return, return-desc) # Returns HTML for installing some package that is missing, from the # appropriate update system for this OS. Returns undef if automatic installation # is not possible for some reason. # Supported package names are : # apache # sendmail # postfix # squid # procmail # samba # mysql # postgresql # clamav # spamassassin sub missing_install_link { local ($name, $desc, $return, $returndesc) = @_; return undef if (!defined(&update_system_resolve)); return undef if (!&foreign_check($module_name)); local $pkg = &update_system_resolve($name); return undef if (!$pkg); local ($cpkg) = caller(); local $caller = eval '$'.$cpkg.'::module_name'; return &ui_form_start("$gconfig{'webprefix'}/$module_name/install_pack.cgi", "get"). &text('missing_msg', $desc, $text{$update_system."_name"})."\n". &ui_hidden("source", 3). &ui_hidden("update", $pkg). &ui_hidden("return", $return). &ui_hidden("returndesc", $returndesc). &ui_hidden("caller", $caller). &ui_form_end([ [ undef, $text{'missing_now'} ] ]); } # update_system_button(field-name, label) # Returns HTML for a button that opens the update system search window sub update_system_button { local ($name, $label) = @_; if (defined(&update_system_available) || defined(&update_system_search)) { return "<input type=button onClick='window.ifield = form.$name; chooser = window.open(\"../$module_name/find.cgi\", \"chooser\", \"toolbar=no,menubar=no,scrollbars=yes,width=600,height=500\")' value=\"$label\">"; } return undef; } # compare_versions(ver1, ver2) # Returns -1 if ver1 is older than ver2, 1 if newer, 0 if same sub compare_versions { local ($ver1, $rel1) = split(/-/, $_[0], 2); local ($ver2, $rel2) = split(/-/, $_[1], 2); if ($rel1 ne "" && $rel2 ne "" && $config{'package_system'} eq 'rpm') { # If two RPM packages have releases, then the version part comparison # must be done first and separately so that release number parts don't # override version parts. return &compare_versions($ver1, $ver2) || &compare_versions($rel1, $rel2); } return &compare_version_numbers($_[0], $_[1]); } # check_package_system() # Returns an error message if some command needed by the selected package # management system is missing. sub check_package_system { local $err; if (defined(&validate_package_system)) { $err = &validate_package_system(); } if (defined(&list_package_system_commands)) { foreach my $c (&list_package_system_commands()) { $c =~ s/\s+.*$//; # Strip off args if (!&has_command($c)) { $err ||= &text('index_epackagecmd', &package_system(), "<tt>$c</tt>"); } } } return $err; } # check_update_system() # Returns an error message if some command needed by the selected update # system is missing. sub check_update_system { return undef if (!$update_system); local $err; if (defined(&validate_update_system)) { $err = &validate_update_system(); } if (defined(&list_update_system_commands)) { foreach my $c (&list_update_system_commands()) { if (!&has_command($c)) { $err ||= &text('index_eupdatecmd', $text{$update_system.'_name'} || uc($update_system), "<tt>$c</tt>"); } } } return $err; } 1;
Close