enhance readme
This commit is contained in:
45
README.md
45
README.md
@@ -9,39 +9,22 @@ Exploit code for eternal red not included, for obvious reasons ;)
|
|||||||
|
|
||||||
# USAGE
|
# USAGE
|
||||||
|
|
||||||
usage: smb_enum.py [-h] [-l HOST] [-L HOSTLIST] [-p PORT] [-t THRCNT]
|
./smb_enum.py -h
|
||||||
[-T TIMEOUT] [-o OUTFILE] [-r UNRANDOM] [-P PAYL]
|
|
||||||
|
|
||||||
smb public share enumerator 0.1 by the dash
|
usage: smb_enum.py [-h] [-l HOST] [-L HOSTLIST] [-p PORT] [-t THRCNT]
|
||||||
|
[-T TIMEOUT] [-o OUTFILE] [-r UNRANDOM] [-P PAYL]
|
||||||
optional arguments:
|
|
||||||
-h, --help show this help message and exit
|
|
||||||
-l HOST, --host HOST host to check version
|
|
||||||
-L HOSTLIST, --hostlist HOSTLIST
|
|
||||||
hostlist to check version
|
|
||||||
-p PORT, --port PORT ipmi port
|
|
||||||
-t THRCNT, --threads THRCNT
|
|
||||||
how many threads
|
|
||||||
-T TIMEOUT, --timeout TIMEOUT
|
|
||||||
timeout of socket recv
|
|
||||||
-o OUTFILE, --outfile OUTFILE
|
|
||||||
outfile in txt format
|
|
||||||
-r UNRANDOM, --unrandom UNRANDOM
|
|
||||||
disable random targetlist
|
|
||||||
-P PAYL, --payload PAYL
|
|
||||||
payload to upload
|
|
||||||
|
|
||||||
Use against one target:
|
|
||||||
./smb_enum.py -l 1.1.1.1
|
|
||||||
Hostmode: 1.1.1.1
|
|
||||||
Targets: 1
|
|
||||||
1.1.1.1:139 READ public .
|
|
||||||
1.1.1.1:139 READ public ..
|
|
||||||
1.1.1.1:139 READ public no
|
|
||||||
1.1.1.1:139 READ public such
|
|
||||||
1.1.1.1:139 READ public agency
|
|
||||||
1.1.1.1:139 WRITE public
|
|
||||||
|
|
||||||
|
Use against one target:
|
||||||
|
./smb_enum.py -l 1.1.1.1
|
||||||
|
Hostmode: 1.1.1.1
|
||||||
|
Targets: 1
|
||||||
|
1.1.1.1:139 READ public .
|
||||||
|
1.1.1.1:139 READ public ..
|
||||||
|
1.1.1.1:139 READ public no
|
||||||
|
1.1.1.1:139 READ public such
|
||||||
|
1.1.1.1:139 READ public agency
|
||||||
|
1.1.1.1:139 WRITE public
|
||||||
|
|
||||||
Read like that:
|
Read like that:
|
||||||
Ip Address:Port,READ/WRITE Access, Name of the Share, Name of the File
|
Ip Address:Port,READ/WRITE Access, Name of the Share, Name of the File
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user