Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xploit9999/simple-scanport
A simple bash script for scan ports.
https://github.com/xploit9999/simple-scanport
bash bash-script
Last synced: about 1 month ago
JSON representation
A simple bash script for scan ports.
- Host: GitHub
- URL: https://github.com/xploit9999/simple-scanport
- Owner: Xploit9999
- Created: 2023-12-25T23:58:48.000Z (about 1 year ago)
- Default Branch: dev
- Last Pushed: 2023-12-26T00:07:46.000Z (about 1 year ago)
- Last Synced: 2024-01-25T18:08:29.542Z (12 months ago)
- Topics: bash, bash-script
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### DESCRIPTION
It's a simple scan port for tcp and udp connections.
### USAGE
Usage options [ -s -p -r -P ]-s = Enter the server(s), if they are a group, put them inside quotes, e.g., "srv1 srv2"
-p = Enter the port(s), if it's a group, put them inside quotes, e.g., "80 22 23"
-r = Port range, enter the range of ports in this format, e.g., 80-120
-P = specify protocol to use (tcp, udp)```vim
# Single host and single port:$ ./scanport -s 192.168.1.4 -p 22 -P tcp
# Multiple hosts and multiple ports:
$ ./scanport -s "192.168.1.4 192.168.1.6" -p "53 21" -P udp
# Range ports on a host:
$ ./scanport -s 192.168.1.4 -r 20-40 -P tcp
```