[ SEA-GHOST MINI SHELL]
#!/bin/bash
domain=$1
path=$2
info=$3
#accountStatus=`ldapsearch -h $domain -D "CN=monitoring-ldap-read,OU=Monitoring system,OU=Internal systems,OU=Technical accounts,OU=Share objects,OU=_Dreamscapenetworks,DC=internal,DC=dreamscapenetworks,DC=com" -b "DC=internal,DC=dreamscapenetworks,DC=com" -w "asd@#4sd3S#s3S!d56" -p 389 -s sub cn=$search | grep $info | awk '{print $2}'`
accountStatus=`ldapsearch -h $domain -D "monitoring-ldap-read" -b "$path" -w "asd@#4sd3S#s3S!d56" -p 389 -s sub cn=monitoring-ldap-read | grep $info | awk '{print $2}'`
echo "$accountStatus"
SEA-GHOST - SHELL CODING BY SEA-GHOST