o
    jj                     @   s:   d dl Z d dlmZ dd Zdd Zedkre  dS dS )    N)MSLDAPDump2Bloodhoundc                    s   t | }| I d H  d S )N)r   run)urlmsldap r   /root/aizidognhua/tmp/workspace/projects/ec89d86c-575f-41c9-af57-ac45cbdbf775/venv/lib/python3.10/site-packages/msldap/examples/msldapbloodhound.pyamain   s   r   c                  C   sF   dd l } | jdd}|jddd td | }tt|j d S )Nr   zBloodhound collector for MSLDAP)descriptionr   zPLDAP connection URL, or ADEXPLORER dat file path in the form adexplorer://<path>)helpz
WARNING: This script is still in development. It is not guaranteed to provide the same results as the original Bloodhound collector.
)	argparseArgumentParseradd_argumentprint
parse_argsasyncior   r   r   )r   parserargsr   r   r   main   s   r   __main__)r   msldap.bloodhoundr   r   r   __name__r   r   r   r   <module>   s    

