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 /
servers /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
1.63
KB
-rw-r--r--
acl_security.pl
2.46
KB
-rwxr-xr-x
auto.pl
2.9
KB
-rwxr-xr-x
backup_config.pl
678
B
-rwxr-xr-x
cgi_args.pl
313
B
-rwxr-xr-x
config
140
B
-rw-r--r--
config-debian-linux
174
B
-rw-r--r--
config-redhat-linux
180
B
-rw-r--r--
config-syno-linux
140
B
-rw-r--r--
config.info
977
B
-rw-r--r--
config.info.ar
1.5
KB
-rw-r--r--
config.info.ca
1.17
KB
-rw-r--r--
config.info.cs
421
B
-rw-r--r--
config.info.de
1.14
KB
-rw-r--r--
config.info.es
481
B
-rw-r--r--
config.info.fr
489
B
-rw-r--r--
config.info.hu
147
B
-rw-r--r--
config.info.it
1.03
KB
-rw-r--r--
config.info.ja
1.21
KB
-rw-r--r--
config.info.ko
983
B
-rw-r--r--
config.info.ms
934
B
-rw-r--r--
config.info.nl
979
B
-rw-r--r--
config.info.no
925
B
-rw-r--r--
config.info.pl
1.02
KB
-rw-r--r--
config.info.pt_BR
460
B
-rw-r--r--
config.info.ru
1.48
KB
-rw-r--r--
config.info.sk
445
B
-rw-r--r--
config.info.sv
99
B
-rw-r--r--
config.info.tr
487
B
-rw-r--r--
config.info.zh
81
B
-rw-r--r--
config.info.zh_TW
60
B
-rw-r--r--
config_info.pl
264
B
-rwxr-xr-x
defaultacl
88
B
-rw-r--r--
delete_servs.cgi
836
B
-rwxr-xr-x
edit_auto.cgi
2.32
KB
-rwxr-xr-x
edit_serv.cgi
4.8
KB
-rwxr-xr-x
find.cgi
1.46
KB
-rwxr-xr-x
index-json.cgi
266
B
-rwxr-xr-x
index.cgi
5.76
KB
-rwxr-xr-x
link.cgi
7
KB
-rwxr-xr-x
log_parser.pl
843
B
-rwxr-xr-x
login.cgi
441
B
-rwxr-xr-x
logout.cgi
340
B
-rwxr-xr-x
module.info
178
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
124
B
-rw-r--r--
module.info.ar
133
B
-rw-r--r--
module.info.ar.auto
23
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
189
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
190
B
-rw-r--r--
module.info.ca
120
B
-rw-r--r--
module.info.ca.auto
18
B
-rw-r--r--
module.info.cs
31
B
-rw-r--r--
module.info.cs.auto
92
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
119
B
-rw-r--r--
module.info.de
117
B
-rw-r--r--
module.info.de.auto
15
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
194
B
-rw-r--r--
module.info.es
37
B
-rw-r--r--
module.info.es.auto
109
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
141
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
193
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
145
B
-rw-r--r--
module.info.fr
34
B
-rw-r--r--
module.info.fr.auto
102
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
141
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
141
B
-rw-r--r--
module.info.hu
25
B
-rw-r--r--
module.info.hu.auto
109
B
-rw-r--r--
module.info.it
33
B
-rw-r--r--
module.info.it.auto
99
B
-rw-r--r--
module.info.ja
141
B
-rw-r--r--
module.info.ko
32
B
-rw-r--r--
module.info.ko.auto
109
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
151
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
131
B
-rw-r--r--
module.info.ms
110
B
-rw-r--r--
module.info.ms.auto
16
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
127
B
-rw-r--r--
module.info.nl
29
B
-rw-r--r--
module.info.nl.auto
97
B
-rw-r--r--
module.info.no
23
B
-rw-r--r--
module.info.no.auto
89
B
-rw-r--r--
module.info.pl
24
B
-rw-r--r--
module.info.pl.auto
95
B
-rw-r--r--
module.info.pt
36
B
-rw-r--r--
module.info.pt.auto
107
B
-rw-r--r--
module.info.pt_BR
40
B
-rw-r--r--
module.info.pt_BR.auto
113
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
125
B
-rw-r--r--
module.info.ru
30
B
-rw-r--r--
module.info.ru.auto
152
B
-rw-r--r--
module.info.sk
31
B
-rw-r--r--
module.info.sk.auto
91
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
133
B
-rw-r--r--
module.info.sv
27
B
-rw-r--r--
module.info.sv.auto
93
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
285
B
-rw-r--r--
module.info.tr
36
B
-rw-r--r--
module.info.tr.auto
111
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
192
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
188
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
163
B
-rw-r--r--
module.info.zh
30
B
-rw-r--r--
module.info.zh.auto
85
B
-rw-r--r--
module.info.zh_TW
34
B
-rw-r--r--
module.info.zh_TW.auto
91
B
-rw-r--r--
prefs.info
63
B
-rw-r--r--
save_auto.cgi
2.34
KB
-rwxr-xr-x
save_serv.cgi
3.31
KB
-rwxr-xr-x
servers-lib.pl
15.11
KB
-rwxr-xr-x
uninstall.pl
262
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : link.cgi
#!/usr/bin/perl # link.cgi # Forward the URL from path_info on to another webmin server if ($ENV{'PATH_INFO'} =~ /^\/(\d+)\/([a-zA-Z0-9\-\/]+)\.(jar|class|gif|png)$/) { # Allow fetches of Java classes and images without a referer header, # as Java sometimes doesn't provide these $trust_unknown_referers = 1; } use strict; use warnings; no warnings 'redefine'; no warnings 'uninitialized'; require './servers-lib.pl'; our (%text, %gconfig, %access, $module_name, %tconfig); $ENV{'PATH_INFO'} =~ /^\/(\d+)(.*)$/ || &error("Bad PATH_INFO : $ENV{'PATH_INFO'}"); my $id = $1; my $path = $2 ? &urlize("$2") : '/'; $path =~ s/^%2F/\//; if ($ENV{'QUERY_STRING'}) { $path .= '?'.$ENV{'QUERY_STRING'}; } elsif (@ARGV) { $path .= '?'.join('+', @ARGV); } my $s = &get_server($id); &can_use_server($s) || &error($text{'link_ecannot'}); $access{'links'} || &error($text{'link_ecannot'}); my $url = "@{[&get_webprefix()]}/$module_name/link.cgi/$s->{'id'}"; $| = 1; my $meth = $ENV{'REQUEST_METHOD'}; my %miniserv; &get_miniserv_config(\%miniserv); my ($user, $pass); if ($s->{'autouser'}) { # Login is variable .. check if we have it yet if ($ENV{'HTTP_COOKIE'} =~ /$id=(\S+)/) { # Yes - set the login and password to use ($user, $pass) = split(/:/, &decode_base64("$1")); } else { # No - need to display a login form &ui_print_header(undef, $text{'login_title'}, ""); print &text('login_desc', "<tt>$s->{'host'}</tt>"),"<p>\n"; print &ui_form_start( "@{[&get_webprefix()]}/$module_name/login.cgi", "post"); print &ui_hidden("id", $id); print &ui_table_start($text{'login_header'}, undef, 2); print &ui_table_row($text{'login_user'}, &ui_textbox("user", undef, 20)); print &ui_table_row($text{'login_pass'}, &ui_password("pass", undef, 20)); print &ui_table_end(); print &ui_form_end([ [ undef, $text{'login_login'} ] ]); &ui_print_footer("", $text{'index_return'}); exit; } } elsif ($s->{'sameuser'}) { # Login comes from this server $user = $main::remote_user; defined($main::remote_pass) || &error($text{'login_esame'}); $pass = $main::remote_pass; } else { # Login is fixed $user = $s->{'user'}; $pass = $s->{'pass'}; } # Connect to the server my $con = &make_http_connection($s->{'ip'} || $s->{'host'}, $s->{'port'}, $s->{'ssl'}, $meth, $path, undef, undef, { 'host' => $s->{'host'}, 'nocheckhost' => !$s->{'checkssl'} }); &error($con) if (!ref($con)); # Send request headers &write_http_connection($con, "Host: $s->{'host'}\r\n"); &write_http_connection($con, "User-agent: Webmin\r\n"); my $auth = &encode_base64("$user:$pass"); $auth =~ s/\n//g; &write_http_connection($con, "Authorization: basic $auth\r\n"); my ($http_host, $http_port); if ($ENV{'HTTP_HOST'} =~ /^(\S+):(\d+)$/) { # Browser supplies port $http_host = $1; $http_port = $2; } elsif ($ENV{'HTTP_HOST'}) { # Browser only supplies host $http_host = $ENV{'HTTP_HOST'}; $http_port = $ENV{'SERVER_PORT'} || $miniserv{'port'} || 80; } else { # Web server supplies host and port $http_host = $ENV{'SERVER_NAME'}; $http_port = $ENV{'SERVER_PORT'}; } my $http_prot = $ENV{'HTTPS'} eq "ON" ? "https" : "http"; &write_http_connection($con, sprintf( "Webmin-servers: %s://%s:%d%s/%s\n", $http_prot, $http_host, $http_port, @{[&get_webprefix()]}, $tconfig{'inframe'} ? "" : "$module_name/")); &write_http_connection($con, sprintf( "Webmin-path: %s://%s:%d%s/%s/link.cgi%s\n", $http_prot, $http_host, $http_port, @{[&get_webprefix()]}, $module_name, $ENV{'PATH_INFO'})); if ($ENV{'HTTP_WEBMIN_PATH'}) { &write_http_connection($con, sprintf( "Complete-webmin-path: %s%s\n", $ENV{'HTTP_WEBMIN_PATH'})); } else { &write_http_connection($con, sprintf( "Complete-webmin-path: %s://%s:%d%s/%s/link.cgi%s\n", $http_prot, $http_host, $http_port, @{[&get_webprefix()]}, $module_name, $ENV{'PATH_INFO'})); } my $cl = $ENV{'CONTENT_LENGTH'}; &write_http_connection($con, "Content-length: $cl\r\n") if ($cl); &write_http_connection($con, "Content-type: $ENV{'CONTENT_TYPE'}\r\n") if ($ENV{'CONTENT_TYPE'}); my $ref = $ENV{'HTTP_REFERER'}; if ($ref && $ref =~ /^.*\Q$url\E(.*)/) { my $rurl = ($s->{'ssl'} ? 'https' : 'http').'://'.$s->{'host'}. ':'.$s->{'port'}.$1; &write_http_connection($con, "Referer: $rurl\r\n"); } &write_http_connection($con, "\r\n"); my $post; if ($cl) { &read_fully(\*STDIN, \$post, $cl); &write_http_connection($con, $post); } # read back the headers my $dummy = &read_http_connection($con); my (%header, $headers); while(1) { my $headline; ($headline = &read_http_connection($con)) =~ s/\r|\n//g; last if (!$headline); $headline =~ /^(\S+):\s+(.*)$/ || &error("Bad header"); $header{lc($1)} = $2; $headers .= $headline."\n"; } my $defport = $s->{'ssl'} ? 443 : 80; if ($header{'location'} && ($header{'location'} =~ /^(http|https):\/\/$s->{'host'}:$s->{'port'}(.*)$/|| $header{'location'} =~ /^(http|https):\/\/$s->{'host'}(.*)/ && $s->{'port'} == $defport)) { # fix a redirect local $gconfig{'webprefixnoredir'} = 1; # We've already added # webprefix, so no need # to add it again &redirect("$url$2"); exit; } elsif ($header{'www-authenticate'}) { # Invalid login if ($s->{'autouser'}) { print "Set-Cookie: $id=; path=/\n"; &error(&text('link_eautologin', $s->{'host'}, "@{[&get_webprefix()]}/$module_name/link.cgi/$id/")); } else { &error(&text('link_elogin', $s->{'host'}, $user)); } } else { # just output the headers print $headers,"\n"; } # read back the rest of the page if ($header{'content-type'} && $header{'content-type'} =~ /text\/html/ && !$header{'x-no-links'}) { # Fix up HTML while($_ = &read_http_connection($con)) { s/src='(\/[^']*)'/src='$url$1'/gi; s/src="(\/[^"]*)"/src="$url$1"/gi; s/src=(\/[^ "'>]*)/src=$url$1/gi; s/href='(\/[^']*)'/href='$url$1'/gi; s/href="(\/[^"]*)"/href="$url$1"/gi; s/href=(\/[^ >"']*)/href=$url$1/gi; s/action='(\/[^']*)'/action='$url$1'/gi; s/action="(\/[^"]*)"/action="$url$1"/gi; s/action=(\/[^ "'>]*)/action=$url$1/gi; s/\.location\s*=\s*'(\/[^']*)'/.location='$url$1'/gi; s/\.location\s*=\s*"(\/[^']*)"/.location="$url$1"/gi; s/window.open\("(\/[^"]*)"/window.open\("$url$1"/gi; s/name=return\s+value="(\/[^"]*)"/name=return value="$url$1"/gi; s/param\s+name=config\s+value='(\/[^']*)'/param name=config value='$url$1'/gi; s/param\s+name=config\s+value="(\/[^']*)"/param name=config value="$url$1"/gi; s/param\s+name=config\s+value=(\/[^']*)/param name=config value=$url$1/gi; print; if (/<applet.*archive=file.jar.*>/) { # Remote webmin file manager applet - give it the # session ID on *this* system print "<param name=session value=\"$main::session_id\">\n"; } } } elsif ($header{'content-type'} && $header{'content-type'} =~ /text\/css/ && !$header{'x-no-links'}) { # Fix up CSS while($_ = &read_http_connection($con)) { s/url\("(\/[^"]*)"\)/url\("$url$1"\)/gi; print; } } else { # Just pass through my $bs = &get_buffer_size(); while(my $buf = &read_http_connection($con, $bs)) { print $buf; } } &close_http_connection($con);
Close