Skip to content

Commit d069d75

Browse files
authored
Update README.md
1 parent 6516300 commit d069d75

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ I made it for educational purposes for myself and to overcome issues with enum4l
1818
- support for YAML and JSON export
1919
- colored console output (can be disabled via [NO_COLOR](https://no-color.org/))
2020
- ldapsearch und polenum are natively implemented
21+
- support for multiple authentication methods
2122
- support for legacy SMBv1 connections
2223
- auto detection of IPC signing support
2324
- 'smart' enumeration will automatically disable tests which would otherwise fail
@@ -70,21 +71,20 @@ This time the ```-A``` and ```-C``` option are used. While the first one behaves
7071
```
7172
ENUM4LINUX - next generation
7273
73-
usage: enum4linux-ng.py [-h] [-A] [-As] [-U] [-G] [-Gm] [-S] [-C] [-P] [-O] [-L] [-I] [-R] [-N] [-w WORKGROUP] [-u USER] [-p PW] [-d] [-k USERS] [-r RANGES] [-s SHARES_FILE] [-t TIMEOUT]
74-
[-v] [-oJ OUT_JSON_FILE | -oY OUT_YAML_FILE | -oA OUT_FILE]
74+
usage: enum4linux-ng.py [-h] [-A] [-As] [-U] [-G] [-Gm] [-S] [-C] [-P] [-O] [-L] [-I] [-R] [-N] [-w DOMAIN] [-u USER] [-p PW | -K TICKET_FILE | -H NTHASH] [--local-auth] [-d] [-k USERS] [-r RANGES] [-s SHARES_FILE] [-t TIMEOUT]
75+
[-v] [--keep] [-oJ OUT_JSON_FILE | -oY OUT_YAML_FILE | -oA OUT_FILE]
7576
host
7677
77-
This tool is a rewrite of Mark Lowe's enum4linux.pl, a tool for enumerating information from Windows and Samba systems. It is mainly a wrapper around the Samba tools nmblookup, net,
78-
rpcclient and smbclient. Other than the original tool it allows to export enumeration results as YAML or JSON file, so that it can be further processed with other tools. The tool tries to
79-
do a 'smart' enumeration. It first checks whether SMB or LDAP is accessible on the target. Depending on the result of this check, it will dynamically skip checks (e.g. LDAP checks if LDAP
80-
is not running). If SMB is accessible, it will always check whether a session can be set up or not. If no session can be set up, the tool will stop enumeration. The enumeration process can
81-
be interupted with CTRL+C. If the options -oJ or -oY are provided, the tool will write out the current enumeration state to the JSON or YAML file, once it receives SIGINT triggered by
82-
CTRL+C. The tool was made for security professionals and CTF players. Illegal use is prohibited.
78+
This tool is a rewrite of Mark Lowe's enum4linux.pl, a tool for enumerating information from Windows and Samba systems. It is mainly a wrapper around the Samba tools nmblookup, net, rpcclient and smbclient. Other than the original
79+
tool it allows to export enumeration results as YAML or JSON file, so that it can be further processed with other tools. The tool tries to do a 'smart' enumeration. It first checks whether SMB or LDAP is accessible on the target.
80+
Depending on the result of this check, it will dynamically skip checks (e.g. LDAP checks if LDAP is not running). If SMB is accessible, it will always check whether a session can be set up or not. If no session can be set up, the
81+
tool will stop enumeration. The enumeration process can be interupted with CTRL+C. If the options -oJ or -oY are provided, the tool will write out the current enumeration state to the JSON or YAML file, once it receives SIGINT
82+
triggered by CTRL+C. The tool was made for security professionals and CTF players. Illegal use is prohibited.
8383
8484
positional arguments:
8585
host
8686
87-
optional arguments:
87+
options:
8888
-h, --help show this help message and exit
8989
-A Do all simple enumeration including nmblookup (-U -G -S -P -O -N -I -L). This option is enabled if you don't provide any other option.
9090
-As Do all simple short enumeration without NetBIOS names lookup (-U -G -S -P -O -I -L)
@@ -99,11 +99,14 @@ optional arguments:
9999
-I Get printer information via RPC
100100
-R Enumerate users via RID cycling
101101
-N Do an NetBIOS names lookup (similar to nbtstat) and try to retrieve workgroup from output
102-
-w WORKGROUP Specify workgroup/domain manually (usually found automatically)
102+
-w DOMAIN Specify workgroup/domain manually (usually found automatically)
103103
-u USER Specify username to use (default "")
104104
-p PW Specify password to use (default "")
105+
-K TICKET_FILE Try to authenticate with Kerberos, only useful in Active Directory environment
106+
-H NTHASH Try to authenticate with hash
107+
--local-auth Authenticate locally to target
105108
-d Get detailed information for users and groups, applies to -U, -G and -R
106-
-k USERS User(s) that exists on remote system (default: administrator,guest,krbtgt,domain admins,root,bin,none). Used to get sid with "lookupsid known_username"
109+
-k USERS User(s) that exists on remote system (default: administrator,guest,krbtgt,domain admins,root,bin,none). Used to get sid with "lookupsids"
107110
-r RANGES RID ranges to enumerate (default: 500-550,1000-1050)
108111
-s SHARES_FILE Brute force guessing for shares
109112
-t TIMEOUT Sets connection timeout in seconds (default: 5s)

0 commit comments

Comments
 (0)