Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
IceMoonHSV authored Mar 26, 2020
1 parent 184fcc0 commit 616038e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# PortScanner

Syntax for Scanner:


scanner.exe [arg1] [arg2] [arg3] ...


Argument Keys:


hosts - Required. Comma separated list of hosts. This can be computer name or IP address.
ports - Required. Comma separated list of ports, or one of the following preconfigured port lists:
admin - 135, 139, 445, 3389, 5985, 5986
web - 21, 23, 25, 80, 443, 8080
top20 - 21, 22, 23, 25, 53, 80, 110, 111, 135, 139, 143, 443, 445, 993, 995, 1723, 3306, 3389, 5900, 8080
timeout - Optional. Length of time in milliseconds for scanner to wait for a response. EX: 5000 = 5 seconds.
Note: Lowest value is 500 milliseconds which it will default to if no value is given.
outfile - Optional. File to write results out to on disk. Writes to current folder if none provided. Slows scanning.
If no file is specified, output will be written to the console.


Example Usage:


Scan 127.0.0.1 and localhost for ports 21, 22, and 23, with a 5 second timeout.
scanner.exe hosts=127.0.0.1,localhost ports=21,22,23 timeout=5000

Scan 127.0.0.1 for for the ports defined in the preconfigured "admin" port list.
scanner.exe hosts=127.0.0.1 ports=admin

0 comments on commit 616038e

Please sign in to comment.