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 /
syslog-ng /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
389
B
-rw-r--r--
apply.cgi
202
B
-rwxr-xr-x
backup_config.pl
617
B
-rwxr-xr-x
config
189
B
-rw-r--r--
config-Amazon-Linux-2-ALL
187
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
187
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
187
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
187
B
-rw-r--r--
config-debian-linux
195
B
-rw-r--r--
config-freebsd
224
B
-rw-r--r--
config-gentoo-linux
210
B
-rw-r--r--
config-openmamba-linux
185
B
-rw-r--r--
config-redhat-linux-12.0-23.0
195
B
-rw-r--r--
config-redhat-linux-24.0-ALL
175
B
-rw-r--r--
config-solaris
196
B
-rw-r--r--
config-suse-linux
127
B
-rw-r--r--
config-syno-linux
121
B
-rw-r--r--
config.info
575
B
-rw-r--r--
config.info.ca
665
B
-rw-r--r--
config.info.ca.UTF-8
673
B
-rw-r--r--
config.info.de
699
B
-rw-r--r--
config.info.de.UTF-8
699
B
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.nl
651
B
-rw-r--r--
config.info.nl.UTF-8
651
B
-rw-r--r--
config.info.no
629
B
-rw-r--r--
config.info.no.UTF-8
629
B
-rw-r--r--
delete_destinations.cgi
710
B
-rwxr-xr-x
delete_filters.cgi
667
B
-rwxr-xr-x
delete_logs.cgi
549
B
-rwxr-xr-x
delete_sources.cgi
667
B
-rwxr-xr-x
edit_destination.cgi
6.76
KB
-rwxr-xr-x
edit_filter.cgi
4.24
KB
-rwxr-xr-x
edit_log.cgi
2.22
KB
-rwxr-xr-x
edit_source.cgi
9.59
KB
-rwxr-xr-x
index.cgi
1.63
KB
-rwxr-xr-x
install_check.pl
379
B
-rwxr-xr-x
list_destinations.cgi
1.88
KB
-rwxr-xr-x
list_filters.cgi
1.1
KB
-rwxr-xr-x
list_logs.cgi
1.23
KB
-rwxr-xr-x
list_options.cgi
5.63
KB
-rwxr-xr-x
list_sources.cgi
1.04
KB
-rwxr-xr-x
log_parser.pl
685
B
-rwxr-xr-x
module.info
148
B
-rw-r--r--
module.info.ca
130
B
-rw-r--r--
module.info.ca.UTF-8
142
B
-rw-r--r--
module.info.de
112
B
-rw-r--r--
module.info.de.UTF-8
124
B
-rw-r--r--
module.info.hu
36
B
-rw-r--r--
module.info.hu.UTF-8
44
B
-rw-r--r--
module.info.ms_MY
117
B
-rw-r--r--
module.info.ms_MY.UTF-8
129
B
-rw-r--r--
module.info.nl
23
B
-rw-r--r--
module.info.nl.UTF-8
29
B
-rw-r--r--
module.info.no
25
B
-rw-r--r--
module.info.no.UTF-8
31
B
-rw-r--r--
save_destination.cgi
4.99
KB
-rwxr-xr-x
save_filter.cgi
3.64
KB
-rwxr-xr-x
save_log.cgi
1.94
KB
-rwxr-xr-x
save_options.cgi
2.08
KB
-rwxr-xr-x
save_source.cgi
6.11
KB
-rwxr-xr-x
start.cgi
198
B
-rwxr-xr-x
stop.cgi
194
B
-rwxr-xr-x
syslog-ng-lib.pl
20.61
KB
-rwxr-xr-x
view_log.cgi
2.92
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : view_log.cgi
#!/usr/bin/perl # Show a log file require './syslog-ng-lib.pl'; &ReadParse(); &foreign_require("proc", "proc-lib.pl"); # Work out the file $conf = &get_config(); if ($in{'dest'}) { # From a destination @dests = &find("destination", $conf); ($dest) = grep { $_->{'value'} eq $in{'dest'} } @dests; $dest || &error($text{'destination_egone'}); $file = &find_value("file", $dest->{'members'}); } elsif ($in{'omod'}) { # From another module @others = &get_other_module_logs($in{'omod'}); ($other) = grep { $_->{'mindex'} == $in{'oidx'} } @others; if ($other->{'file'}) { $file = $other->{'file'}; } else { $cmd = $other->{'cmd'}; } } print "Refresh: $config{'refresh'}\r\n" if ($config{'refresh'}); &ui_print_header("<tt>".($file || $cmd)."</tt>", $text{'view_title'}, ""); $lines = $in{'lines'} ? int($in{'lines'}) : $config{'lines'}; $filter = $in{'filter'} ? quotemeta($in{'filter'}) : ""; &filter_form(); $| = 1; print "<pre>"; local $tailcmd = $config{'tail_cmd'} || "tail -n LINES"; $tailcmd =~ s/LINES/$lines/g; if ($filter ne "") { # Are we supposed to filter anything? Then use grep. local @cats; if ($cmd) { push(@cats, $cmd); } elsif ($config{'compressed'}) { # All compressed versions foreach $l (&all_log_files($file)) { $c = &catter_command($l); push(@cats, $c) if ($c); } } else { # Just the one log @cats = ( "cat ".quotemeta($file) ); } $cat = "(".join(" ; ", @cats).")"; $got = &foreign_call("proc", "safe_process_exec", "$cat | grep -i $filter | $tailcmd", 0, 0, STDOUT, undef, 1, 0, undef, 1); } else { # Not filtering .. so cat the most recent non-empty file if ($cmd) { # Getting output from a command $fullcmd = $cmd." | ".$tailcmd; } elsif ($config{'compressed'}) { # Find the first non-empty file, newest first $catter = "cat ".quotemeta($file); if (!-s $file) { foreach $l (&all_log_files($file)) { next if (!-s $l); $c = &catter_command($l); if ($c) { $catter = $c; last; } } } $fullcmd = $catter." | ".$tailcmd; } else { # Just run tail on the file $fullcmd = $tailcmd." ".quotemeta($file); } $got = &foreign_call("proc", "safe_process_exec", $fullcmd, 0, 0, STDOUT, undef, 1, 0, undef, 1); } print "<i>$text{'view_empty'}</i>\n" if (!$got); print "</pre>\n"; &filter_form(); &ui_print_footer("list_destinations.cgi", $text{'destinations_return'}, "", $text{'index_return'}); sub filter_form { print "<form action=view_log.cgi style='margin-left:1em'>\n"; print &ui_hidden("dest", $in{'dest'}),"\n"; print &ui_hidden("oidx", $in{'oidx'}),"\n"; print &ui_hidden("omod", $in{'omod'}),"\n"; print &text('view_header', &ui_textbox("lines", $lines, 3), "<tt>".&html_escape($log->{'file'})."</tt>"),"\n"; print " \n"; print &text('view_filter', &ui_textbox("filter", $in{'filter'}, 25)),"\n"; print " \n"; print "<input type=submit value='$text{'view_refresh'}'></form>\n"; }
Close