https://github.com/rix4uni/portscan
Port Scanning with ffuf
https://github.com/rix4uni/portscan
Last synced: over 1 year ago
JSON representation
Port Scanning with ffuf
- Host: GitHub
- URL: https://github.com/rix4uni/portscan
- Owner: rix4uni
- License: mit
- Created: 2023-09-16T14:16:56.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-16T14:39:18.000Z (almost 3 years ago)
- Last Synced: 2025-02-07T00:18:45.221Z (over 1 year ago)
- Language: Shell
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PortScan
Port Scanning with ffuf
# Installation
```
git clone https://github.com/rix4uni/PortScan.git && cd PortScan && chmod +x install.sh portscan && ./install.sh && cd .. && mv PortScan ~/bin && source ~/.bashrc
```
# Usage
```yaml
____ _____ ____ ____ ___ ___ __ _ _
( _ \( _ )( _ \(_ _)/ __) / __) /__\ ( \( )
)___/ )(_)( ) / )( \__ \( (__ /(__)\ ) (
(__) (_____)(_)\_) (__) (___/ \___)(__)(__)(_)\_)
PortScan v1.1 coded by @rix4uni in INDIA
TARGET OPTIONS:
-l, -list, string list of hosts to scan ports (file)
-tp, -top-ports, string top ports to scan (default 100) [100,1000,Full,Favourite]
-t, -threads int number of threads to use (default 5000)
-rl, -rate-limit int maximum requests to send per second (default 150)
-sc, -status-code display response status-code
-h, --help display help
USAGE EXAMPLES:
portscan -l subs.txt -top-ports 100 -t 5000 -rl 1000 -sc 200,301,302,401,403
portscan -l subs.txt -p - -t 5000 -rl 1000 -sc 200,301,302,401,403
portscan -l subs.txt -favourite -t 5000 -rl 1000 -sc 200,301,302,401,403
```
# subs.txt file must contains output with protocol like this
```
https://hackerone.com
https://tesla.com
```
or
```
http://hackerone.com
http://tesla.com
```
# Ports Usage
Check this directory `default-port-list` contains default ports list in `.txt` files
| Flag | Description |
|-------------------|--------------------------------------|
| `-top-ports 100` | Scan for nmap top **100** port |
| `-top-ports 1000` | Scan for nmap top **1000** port |
| `-p - ` | Scan for full ports from **1-65535** |
| `-favourite` | Scan my favourite ports from **default-port-list** |