# Enum4linux-ng

## About

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.

### Links

[Github](https://github.com/cddmp/enum4linux-ng)

[Original Enum4Linux](https://github.com/CiscoCXSecurity/enum4linux)

## Installing

### Kali

```
sudo apt install enum4linux-ng
```

### Debian based

* Install Pre Reqs

```
sudo apt install -y smbclient python3-ldap3 python3-yaml python3-impacket
```

* Best done in an a VENV

```
git clone https://github.com/cddmp/enum4linux-ng && cd enum4linux-ng
pip install wheel
pip install -r requirements.txt
```

## Usage

* Basic usage

```
python3 enum4linux-ng.py -As <target>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cybersec.th4ntis.com/tools/enum4linux-ng.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
