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 /
cluster-useradmin /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
273
B
-rw-r--r--
add.cgi
2.09
KB
-rwxr-xr-x
cluster-useradmin-lib.pl
5.51
KB
-rwxr-xr-x
config
150
B
-rw-r--r--
config.info
566
B
-rw-r--r--
config.info.ca
655
B
-rw-r--r--
config.info.cs
79
B
-rw-r--r--
config.info.de
657
B
-rw-r--r--
config.info.es
78
B
-rw-r--r--
config.info.fr
758
B
-rw-r--r--
config.info.hr
0
B
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.ms
131
B
-rw-r--r--
config.info.nl
129
B
-rw-r--r--
config.info.no
137
B
-rw-r--r--
config.info.pl
121
B
-rw-r--r--
create_group.cgi
3.32
KB
-rwxr-xr-x
create_user.cgi
9.72
KB
-rwxr-xr-x
delete_group.cgi
3.61
KB
-rwxr-xr-x
delete_host.cgi
257
B
-rwxr-xr-x
delete_user.cgi
5.22
KB
-rwxr-xr-x
edit_group.cgi
5.39
KB
-rwxr-xr-x
edit_host.cgi
1.96
KB
-rwxr-xr-x
edit_user.cgi
17.68
KB
-rwxr-xr-x
group_form.cgi
2.29
KB
-rwxr-xr-x
index.cgi
4.98
KB
-rwxr-xr-x
log_parser.pl
542
B
-rwxr-xr-x
module.info
387
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
259
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
392
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
489
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
487
B
-rw-r--r--
module.info.ca
265
B
-rw-r--r--
module.info.ca.auto
29
B
-rw-r--r--
module.info.cs
40
B
-rw-r--r--
module.info.cs.auto
247
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
249
B
-rw-r--r--
module.info.de
147
B
-rw-r--r--
module.info.de.auto
24
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
521
B
-rw-r--r--
module.info.es
36
B
-rw-r--r--
module.info.es.auto
228
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
275
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
406
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
291
B
-rw-r--r--
module.info.fr
44
B
-rw-r--r--
module.info.fr.auto
260
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
316
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
261
B
-rw-r--r--
module.info.hu
31
B
-rw-r--r--
module.info.hu.auto
285
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
253
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
361
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
310
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
298
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
274
B
-rw-r--r--
module.info.ms
247
B
-rw-r--r--
module.info.ms.auto
25
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
282
B
-rw-r--r--
module.info.nl
40
B
-rw-r--r--
module.info.nl.auto
242
B
-rw-r--r--
module.info.no
36
B
-rw-r--r--
module.info.no.auto
225
B
-rw-r--r--
module.info.pl
240
B
-rw-r--r--
module.info.pl.auto
29
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
282
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
291
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
301
B
-rw-r--r--
module.info.ru
0
B
-rw-r--r--
module.info.ru.auto
477
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
305
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
266
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
265
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
597
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
291
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
456
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
468
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
287
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
244
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
253
B
-rw-r--r--
prefs.info
28
B
-rw-r--r--
refresh.cgi
2.31
KB
-rwxr-xr-x
save_group.cgi
4.65
KB
-rwxr-xr-x
save_user.cgi
12.76
KB
-rwxr-xr-x
search_group.cgi
1.69
KB
-rwxr-xr-x
search_user.cgi
1.73
KB
-rwxr-xr-x
sync.cgi
4.92
KB
-rwxr-xr-x
sync_form.cgi
1.75
KB
-rwxr-xr-x
user_form.cgi
5.66
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sync.cgi
#!/usr/bin/perl # sync.cgi # Create missing users and groups on servers require './cluster-useradmin-lib.pl'; &ReadParse(); @hosts = &list_useradmin_hosts(); @servers = &list_servers(); &ui_print_header(undef, $text{'sync_title'}, ""); # Work out which hosts to sync on @phosts = &create_on_parse(undef, undef, undef, 1); # Build lists of all users and group foreach $h (@hosts) { foreach $u (@{$h->{'users'}}) { push(@ulist, $u) if (!$doneuser{$u->{'user'}}++); } foreach $g (@{$h->{'groups'}}) { push(@glist, $g) if (!$donegroup{$g->{'group'}}++); } } # Find users and groups to sync if ($in{'users_mode'} == 1) { @usync = @ulist; } elsif ($in{'users_mode'} == 2) { map { $usel{$_}++ } split(/\s+/, $in{'usel'}); @usync = grep { $usel{$_->{'user'}} } @ulist; } elsif ($in{'users_mode'} == 3) { map { $unot{$_}++ } split(/\s+/, $in{'unot'}); @usync = grep { !$unot{$_->{'user'}} } @ulist; } elsif ($in{'users_mode'} == 4) { @usync = grep { (!$in{'uuid1'} || $_->{'uid'} >= $in{'uuid1'}) && (!$in{'uuid2'} || $_->{'uid'} <= $in{'uuid2'}) } @ulist; } elsif ($in{'users_mode'} == 5) { local $gid = getgrnam($in{'ugid'}); @usync = grep { $_->{'gid'} == $gid } @ulist if (defined($gid)); } if ($in{'groups_mode'} == 1) { @gsync = @glist; } elsif ($in{'groups_mode'} == 2) { map { $gsel{$_}++ } split(/\s+/, $in{'gsel'}); @gsync = grep { $gsel{$_->{'group'}} } @glist; } elsif ($in{'groups_mode'} == 3) { map { $gnot{$_}++ } split(/\s+/, $in{'gnot'}); @gsync = grep { !$gnot{$_->{'group'}} } @glist; } elsif ($in{'groups_mode'} == 4) { @gsync = grep { (!$in{'ggid1'} || $_->{'gid'} >= $in{'ggid1'}) && (!$in{'ggid2'} || $_->{'gid'} <= $in{'ggid2'}) } @glist; } # Setup error handler for down hosts sub add_error { $add_error_msg = join("", @_); } &remote_error_setup(\&add_error); # Sync on chosen hosts foreach $host (@phosts) { $add_error_msg = undef; local ($serv) = grep { $_->{'id'} == $host->{'id'} } @servers; print "<b>",&text('sync_on', $serv->{'desc'} ? $serv->{'desc'} : $serv->{'host'}),"</b><p>\n"; print "<ul>\n"; # Find missing users and groups local (%usync, %gsync); map { $usync{$_->{'user'}}++ } @{$host->{'users'}}; map { $gsync{$_->{'group'}}++ } @{$host->{'groups'}}; local @uneed = grep { !$usync{$_->{'user'}} } @usync; local @gneed = grep { !$gsync{$_->{'group'}} } @gsync; if (@uneed || @gneed) { &remote_foreign_require($serv->{'host'}, "useradmin", "user-lib.pl"); if ($add_error_msg) { # Host is down! print "$add_error_msg<p>\n"; print "</ul>\n"; next; } # Create missing users foreach $u (@uneed) { # Create the user print &text('sync_ucreate', $u->{'user'}),"<br>\n"; if (!$in{'test'}) { &remote_foreign_call($serv->{'host'}, "useradmin", "create_user", $u); push(@{$host->{'users'}}, $u); } print "$text{'udel_done'}<p>\n"; local $made_home; if ($in{'makehome'}) { # Create the home directory local $exists = &remote_eval($serv->{'host'}, "useradmin", "-d '$u->{'home'}'"); if (!$exists) { print "$text{'usave_mkhome'}<br>\n"; if (!$in{'test'}) { local $rv = &remote_eval($serv->{'host'}, "useradmin", "&make_dir('$u->{'home'}', oct('$uconfig{'homedir_perms'}'), 1) && chmod(oct('$uconfig{'homedir_perms'}'), '$u->{'home'}') ? undef : \$!"); $rv && &error(&text( 'usave_emkdir', $rv)); $rv = &remote_eval($serv->{'host'}, "useradmin", "chown($u->{'uid'}, $u->{'gid'}, '$u->{'home'}')"); $rv || &error(&text( 'usave_echown', $rv)); } $made_home = 1; print "$text{'udel_done'}<p>\n"; } } if ($in{'others'}) { # Create in other modules on the server print "$text{'usave_others'}<br>\n"; if (!$in{'test'}) { $u->{'passmode'} = 2; &remote_foreign_call( $serv->{'host'}, "useradmin", "other_modules", "useradmin_create_user", $u); } print "$text{'udel_done'}<p>\n"; } if ($in{'copy_files'} && $made_home) { # Copy files to new home directory local $fconfig = &remote_foreign_config( $serv->{'host'}, "useradmin"); print "$text{'usave_copy'}<br>\n"; local $uf = $fconfig->{'user_files'}; local $gn = getgrgid($u->{'gid'}); $uf =~ s/\$group/$gn/g; $uf =~ s/\$gid/$u->{'gid'}/g; &remote_foreign_call($serv->{'host'}, "useradmin", "copy_skel_files", $uf, $u->{'home'}, $u->{'uid'}, $u->{'gid'}) if (!$in{'test'}); print "$text{'udel_done'}<p>\n"; } } # Create missing groups foreach $g (@gneed) { print &text('sync_gcreate', $g->{'group'}),"<br>\n"; if (!$in{'test'}) { &remote_foreign_call($serv->{'host'}, "useradmin", "create_group", $g); push(@{$host->{'groups'}}, $g); } print "$text{'udel_done'}<p>\n"; } # Update in local list &save_useradmin_host($host); } else { print "$text{'sync_insync'}<p>\n"; } print "</ul>\n"; } &webmin_log("sync", undef, undef, \%in); &ui_print_footer("", $text{'index_return'});
Close