2 releases
new 0.1.1 | Apr 20, 2025 |
---|---|
0.1.0 | Apr 20, 2025 |
#352 in Network programming
10KB
103 lines
π― PortSniper
βββββββ βββββββ βββββββ βββββββ βββββββββββββββββ βββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββ
βββββββββββ βββββββββββ βββ ββββββββββββββ ββββββββββββββββββββ ββββββββ
βββββββ βββ βββββββββββ βββ ββββββββββββββββββββββββββββ ββββββ ββββββββ
βββ ββββββββββββ βββ βββ βββββββββββ ββββββββββββ βββββββββββ βββ
βββ βββββββ βββ βββ βββ βββββββββββ βββββββββββ βββββββββββ βββ
π« PortSniper is a blazing fast asynchronous port scanner built with Rust and powered by Tokio. It's perfect for lightweight and parallel port scanning during pentests or network analysis.
π Features
- β‘ Asynchronous scanning with Tokio
- π³οΈ Open port detection
- β±οΈ Customizable timeout
- π§΅ True parallelism with tasks
- π Optional progress bar with
indicatif
- π§ Simple and clean CLI interface
π οΈ Installation
git clone https://github.com/miguell-j/portsniper.git
cd portsniper
cargo build --release
π§ͺ Usage
cargo run --release -- --ip 192.168.0.1 --start 1 --end 1000 --timeout 1000
Arguments
Argument | Description | Default |
---|---|---|
--ip |
Target IP address | required |
--start |
Starting port | 1 |
--end |
Ending port | 1024 |
--timeout |
Timeout in milliseconds per port | 1000 |
π‘ Example
cargo run --release -- --ip 192.168.0.100 --start 20 --end 90 --timeout 500
π€ Sample Output
π« PortSniper scanning 192.168.0.100 (ports 20 to 90)...
β³ Scanning...
β
Open ports found:
- Port 22
- Port 80
π¦ Dependencies
β οΈ Legal Disclaimer
This tool is intended for educational and ethical purposes only. Never use it against networks or systems without explicit permission. Misuse can lead to legal consequences.
π¨βπ» Author
Crafted with π», β, and some sleepless nights by Miguel AraΓΊjo Julio
π« Contact: julioaraujo.guel@gmail.com
π License
Licensed under the MIT License. See the LICENSE file for more information.
Dependencies
~6β14MB
~157K SLoC