CravateRouge / bloodyAD

BloodyAD is an Active Directory Privilege Escalation Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

module "addUser" adjust help text

trietend opened this issue · comments

The OU parameter is missing and identity only takes a sAMAccountName.

def addUser(conn, sAMAccountName, password, ou=None):
"""
Add a new user in the LDAP database
By default the user object is put in the OU Users
This can be changed with the ou parameter
Args:
identity: sAMAccountName, DN, GUID or SID of the target
password: the password that will be set for the user account
"""

Nice catch! Thanks for your contribution :)