⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-pear
/
pear
/
data
/
turba
/
scripts
/
ldap
/
View File Name :
addou.pl
#!/usr/bin/perl -w # # LDAP add personal ou's from /home # This script adds an ou for each directory in /home. # # Script by tarjei@nu.no. # Remember to remove ou's like mailman, mysql, postgres, etc. # Settings that should be changed for your setup: $basedn = "ou=personal_addressbook, dc=example, dc=com"; $binddn = "uid=root, ou=People, dc=example, dc=com"; $passwd = ""; # End of configuration section - don't edit below here. use Getopt::Std; my %Options; $user = $ARGV[0]; print "Adding ou: ou=$user,$basedn"; $FILE = "|/usr/bin/ldapadd -x $options -D '$binddn' -w $passwd"; open FILE or die; print FILE <