cddmp / enum4linux-ng

A next generation version of enum4linux (a Windows/Samba enumeration tool) with additional features like JSON/YAML export. Aimed for security professionals and CTF players.
GNU General Public License v3.0
1.18k stars 125 forks source link

lack of documentation for use of setup.py #40

Closed TheGrinchOnMath closed 1 year ago

TheGrinchOnMath commented 1 year ago

I am using a linux mint 21.1 installation. I have python 3.10.6 with pip installed on the machine. I also installed all the required packages, namely smbclient, ldap3, yaml and impacket. My question is, do i run the enum4linux-ng.py file directly, or is there a way to get the command to be part of system commands such as apt-get or openvpn, that i can use from the command line without executing a file? I noticed a setup.py file, but have no idea how to use it, or if it is of any use.

cddmp commented 1 year ago

You run it directly by calling enum4linux-ng.py. Please note, when you install the python ldap3, yaml and impacket packages provided by Linux Mint, you do not need to run pip again. pip is the alternative way of installing the packages. Using the Linux distributions own packages is the recommended way.