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 : backup_db.cgi
#!/usr/bin/perl # backup_db.cgi # Do the actual backup require './mysql-lib.pl'; &ReadParse(); if ($in{'all'}) { @alldbs = grep { &supports_backup_db($_) } &list_databases(); @dbs = grep { &can_edit_db($_) } @alldbs; @alldbs == @dbs || &error($text{'dbase_ecannot'}); } else { &can_edit_db($in{'db'}) || &error($text{'dbase_ecannot'}); } $access{'edonly'} && &error($text{'dbase_ecannot'}); $access{'buser'} || &error($text{'dbase_ecannot'}); &error_setup($text{'backup_err'}); # Cannot download all the DBs if ($in{'dest'} == 1 && $in{'all'}) { &error($text{'backup_edownloadall'}); } if ($in{'dest'} == 1 && ($in{'sched'} || $in{'save'})) { &error($text{'backup_edownloadsave'}); } if (!$in{'save'} || $in{'sched'}) { if ($in{'all'}) { -d $in{'file'} || -d &date_subs($in{'file'}) || $in{'mkdir'} || &error($text{'backup_efile2'}); } else { $in{'dest'} || $in{'file'} =~ /^\/\S+$/ || &error($text{'backup_efile'}); } $in{'where_def'} || $in{'where'} || &error($text{'backup_ewhere'}); $in{'charset_def'} || $in{'charset'} =~ /^\S+$/ || &error($text{'backup_echarset'}); $ccmd = $in{'compress'} == 1 ? "gzip" : $in{'compress'} == 2 ? "bzip2" : undef; !$ccmd || &has_command($ccmd) || &error(&text('backup_eccmd', "<tt>$ccmd</tt>")); if (!$in{'dest'} && !&is_under_directory($access{'bpath'}, $in{'file'})) { &error($text{'backup_epath'}."<br>". &text('backup_eunder', "<tt>$access{'bpath'}</tt>")); } if (!$in{'all'} && !$in{'tables_def'}) { @tables = split(/\0/, $in{'tables'}); @tables || &error($text{'backup_etables'}); } } @compat = $in{'compatible_def'} ? ( ) : ( $in{'compatible'} ); push(@compat, split(/\0/, $in{'options'})); $cron = !$module_info{'usermin'} && $access{'buser'} eq 'root' && !$access{'user'} && &foreign_installed("cron"); $cmode = 0; if ($cron) { $config{'backup_before_'.$in{'db'}} = $in{'before'}; $config{'backup_after_'.$in{'db'}} = $in{'after'}; if ($in{'all'}) { $config{'backup_cmode_'.$in{'db'}} = $in{'cmode'}; $cmode = $in{'cmode'}; } $config{'backup_email_'.$in{'db'}} = $in{'email'}; $config{'backup_notify_'.$in{'db'}} = $in{'notify'}; &foreign_require("cron"); @jobs = &cron::list_cron_jobs(); $cmd = $in{'all'} ? "$cron_cmd --all" : "$cron_cmd $in{'db'}"; ($job) = grep { $_->{'command'} eq $cmd } @jobs; $oldjob = $job; $job ||= { 'command' => $cmd, 'user' => 'root', 'active' => 1 }; &cron::parse_times_input($job, \%in); } # Save choices for next time the form is visited (and for the cron job) if ($module_info{'usermin'}) { if (!$in{'dest'}) { $userconfig{'backup_'.$in{'db'}} = $in{'file'}; } $userconfig{'backup_where_'.$in{'db'}} = $in{'where_def'} ? undef : $in{'where'}; $userconfig{'backup_charset_'.$in{'db'}} = $in{'charset_def'} ? undef : $in{'charset'}; $userconfig{'backup_compatible_'.$in{'db'}} = $in{'compatible_def'} ? undef : $in{'compatible'}; $userconfig{'backup_options_'.$in{'db'}} = join(" ", split(/\0/, $in{'options'})); $userconfig{'backup_compress_'.$in{'db'}} = $in{'compress'}; $userconfig{'backup_drop_'.$in{'db'}} = $in{'drop'}; $userconfig{'backup_single_'.$in{'db'}} = $in{'single'}; $userconfig{'backup_quick_'.$in{'db'}} = $in{'quick'}; $userconfig{'backup_tables_'.$in{'db'}} = join(" ", @tables); if ($in{'save'}) { &save_user_module_config(); } } else { if (!$in{'dest'}) { $config{'backup_'.$in{'db'}} = $in{'file'}; $config{'backup_prefix_'.$in{'db'}} = $in{'prefix'}; $in{'prefix'} =~ /\// && &error($text{'backup_eprefix'}); } $config{'backup_mkdir_'.$in{'db'}} = $in{'mkdir'}; $config{'backup_where_'.$in{'db'}} = $in{'where_def'} ? undef : $in{'where'}; $config{'backup_charset_'.$in{'db'}} = $in{'charset_def'} ? undef : $in{'charset'}; $config{'backup_compatible_'.$in{'db'}} = $in{'compatible_def'} ? undef : $in{'compatible'}; $config{'backup_options_'.$in{'db'}} = join(" ", split(/\0/, $in{'options'})); $config{'backup_compress_'.$in{'db'}} = $in{'compress'}; $config{'backup_drop_'.$in{'db'}} = $in{'drop'}; $config{'backup_single_'.$in{'db'}} = $in{'single'}; $config{'backup_quick_'.$in{'db'}} = $in{'quick'}; $config{'backup_tables_'.$in{'db'}} = join(" ", @tables); if ($in{'save'}) { &save_module_config(); } } if ($in{'dest'}) { my $mt; my $fn = "backup.sql"; if ($in{'compress'} == 1) { $mt = "application/x-gzip"; $fn .= ".gz"; } elsif ($in{'compress'} == 2) { $mt = "application/x-bzip2"; $fn .= ".bz2"; } else { $mt = "text/plain"; } print "Content-Type: $mt\n"; print "Content-Disposition: Attachment; filename=\"$fn\"\n"; print "\n"; } else { &ui_print_header(undef, $text{'backup_title'}, ""); } if (!$in{'save'}) { # Actually execute the backup now @dbs = $in{'all'} ? @alldbs : ( $in{'db'} ); if ($cmode == 1) { # Run and check before-backup command (for all DBs) $bok = &execute_before(undef, STDOUT, 1, $in{'file'}, undef); if (!$bok) { print "$main::whatfailed : ", $text{'backup_ebefore'},"<p>\n"; goto donebackup; } } foreach $db (@dbs) { my $deletefile = 0; if ($in{'all'}) { # File in a directory $dir = &date_subs($in{'file'}); $prefix = &date_subs($in{'prefix'}); &make_dir($dir, 0755) if ($in{'mkdir'}); $file = $dir."/".$prefix.$db.".sql". ($in{'compress'} == 1 ? ".gz" : $in{'compress'} == 2 ? ".bz2" : ""); $deletefile = 1; } elsif (!$in{'dest'}) { # Single file $file = &date_subs($in{'file'}); $deletefile = 1; } else { # Temp file for download $file = &transname(); if ($access{'buser'} && $access{'buser'} ne 'root') { # Need to pre-create file owned by user who # will be doing the writing &open_tempfile(FILE, ">$file", 0, 1); &close_tempfile(FILE); &set_ownership_permissions($access{'buser'}, undef, undef, $file); } } if (-d $file) { print &text('backup_eisdir', &html_escape($file)),"<p>\n"; next; } if ($cron && $cmode == 0) { # Run and check before-backup command (for one DB) $bok = &execute_before($db, STDOUT, 1, $file, $in{'all'} ? undef : $db); if (!$bok) { print $text{'backup_ebefore'},"<p>\n"; next; } } &unlink_file($file) if ($deletefile); local $err = &backup_database($db, $file, $in{'compress'}, $in{'drop'}, $in{'where_def'} ? undef : $in{'where'}, $in{'charset_def'} ? undef : $in{'charset'}, \@compat, \@tables, $access{'buser'}, $in{'single'}, $in{'quick'}); if ($err) { print &text('backup_ebackup', "<pre>".&html_escape($err)."</pre>"),"<p>\n"; } elsif (!$in{'dest'}) { @st = stat($file); print &text('backup_done', "<tt>$db</tt>", "<tt>$file</tt>", int($st[7])),"<p>\n"; } &execute_after($db, STDOUT, 1, $file, $in{'all'} ? undef : $db) if ($cron && $cmode == 0); if ($in{'dest'}) { # Sent to browser open(OUT, $file); while(<OUT>) { print $_; } close(OUT); &unlink_file($file); } } &execute_after(undef, STDOUT, 1, $in{'file'}, undef) if ($cmode == 1); donebackup: } if ($cron) { &lock_file($cron_cmd); &cron::create_wrapper($cron_cmd, $module_name, "backup.pl"); &unlock_file($cron_cmd); &lock_file(&cron::cron_file($job)); if ($in{'sched'} && !$oldjob) { &cron::create_cron_job($job); $what = "backup_ccron"; } elsif (!$in{'sched'} && $oldjob) { # Need to delete cron job &cron::delete_cron_job($job); $what = "backup_dcron"; } elsif ($in{'sched'} && $oldjob) { # Need to update cron job &cron::change_cron_job($job); $what = "backup_ucron"; } else { $what = "backup_ncron"; } &unlock_file(&cron::cron_file($job)); # Tell the user what was done print $text{$what},"<p>\n" if ($what && !$in{'dest'}); } &webmin_log("backup", undef, $in{'all'} ? "" : $in{'db'}, \%in); if (!$in{'dest'}) { if ($in{'all'}) { &ui_print_footer("", $text{'index_return'}); } else { &ui_print_footer( "edit_dbase.cgi?db=$in{'db'}", $text{'dbase_return'}, &get_databases_return_link($in{'db'}), $text{'index_return'}); } }
Close