Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rexlx/pscan
scan a target machine for all open ports with golang
https://github.com/rexlx/pscan
golang portscanner
Last synced: 23 days ago
JSON representation
scan a target machine for all open ports with golang
- Host: GitHub
- URL: https://github.com/rexlx/pscan
- Owner: rexlx
- License: mit
- Created: 2020-02-04T11:31:40.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-17T19:42:27.000Z (over 3 years ago)
- Last Synced: 2024-06-21T16:45:27.633Z (5 months ago)
- Topics: golang, portscanner
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pscan
scan a target machine for all open ports with go
works on windows or linux (not tested on mac). I learned how to do this from reading https://nostarch.com/blackhatgo```bash
usage: pscan ADDR [ARGS]optional args:
--workers how many workers to dispatch (max is 1000)
--wait how long to wait in ms before we fail the port (default is 90)
--range range of ports to scan (42-6666)examples: (on windows command is pscan.exe)
$ pscan 192.168.1.87 (defaults applied are ports 0-65535 with 250 workers
waiting 90ms)$ pscan 192.168.1.87 --workers 666 --wait 100
$ pscan 192.168.1.87 --workers 666 --wait 100 --range 40000-42000
```