Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wux1an/port-scanner
port scanner
https://github.com/wux1an/port-scanner
fast port port-scan scan
Last synced: about 1 month ago
JSON representation
port scanner
- Host: GitHub
- URL: https://github.com/wux1an/port-scanner
- Owner: wux1an
- Created: 2022-04-13T15:07:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-15T13:17:39.000Z (over 2 years ago)
- Last Synced: 2024-06-21T08:08:22.998Z (6 months ago)
- Topics: fast, port, port-scan, scan
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# port-scanner
port scanner## Usage
```ruby
$ port-scanner --help
A fast port scan tool based on full tcp connectionUsage:
port-scanner [flags]Examples:
1. port-scanner -h 192.168.*.0 -p 80,443
2. port-scanner -h 192.168.*.0 -p 80,443 -t 1 -n 50 -s -o result.txtFlags:
-b, --bar int number of progress bar (default 5)
--help help for this command
-h, --hosts string hosts, eg: 10.0.0.1,10.0.0.5-10,192.168.1.*,192.168.10.0/24
--no-color disable colorful output
-o, --output string file path to output the opened ports
-p, --ports string ports, eg: 80 or 1-1024 or 1-1024,3389,8080
-s, --shuffle shuffle hosts and ports
-n, --thread int thread number (default 20)
-t, --timeout int timeout(second) of tcp connect (default 3)
-v, --version version$ port-scanner -h 192.168.2.1-5 -p 1-500 -n 100 -t 1 -s -o r.txt
...
=================================================Total: 5 hosts x 500 ports
Start: 2022-04-13 12:04:35 Cost: 1.6174ms
Finish: 2022-04-13 12:04:35IP Opened Ports
192.168.2.1 3 53 80 443
192.168.2.4 3 135 139 445=================================================
```