CravateRouge / bloodyAD

BloodyAD is an Active Directory Privilege Escalation Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ldap3.core.exceptions.LDAPNoSuchObjectResult

TryA9ain opened this issue · comments

ldap3.core.exceptions.LDAPNoSuchObjectResult

i use

proxychains4 python bloodyAD.py -d xx.com -u test -p 'test' --host 10.1.1.1 setAttribute 'CN=wangleiaab,CN=Computers,DC=xx,DC=com' dNSHostName '["AD.xx.com"]'

but error

image

As stated your dn CN=wangleiaab,CN=Computers,DC=xx,DC=com doesn't exist. Try with the sAMAccountName of the computer e.g wangleiaab$ or do a getObjectAttributes wangleiaab$ distinguishedName to have the exact DN.