____ ____
/ ___| ___ __ _ _ __ | _ \
\___ \ / __| / _` || '_ \ | |_) |
___) || (__ | (_| || | | || _ <
|____/ \___| \__,_||_| |_||_| \_\
🕵🏻 ScanR: A lightweight, fast, and configurable port scanner built in Rust for reliable multi-platform network scanning.
To install scanr, simply clone the repository and follow the instructions below:
git clone git@github.com:trinhminhtriet/scanr.git cd scanr cargo build --release rm -rf /usr/local/bin/scanr \ && ln -s ${PWD}/target/release/scanr /usr/local/bin/scanr \ && which scanr && scanr --version
docker build -t trinhminhtriet/scanr .
docker run -it --rm trinhminhtriet/scanr docker run -it --rm trinhminhtriet/scanr https://github.com
Running the below command will globally install the scanr
binary.
Optionally, you can add ~/.cargo/bin
to your PATH if it's not already there
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc source ~/.bashrc
Available command line arguments
argument result[string]
The address or IP to scan. [default: 127.0.0.1
] -a
Scan every port, from 1
to 65535
, conflicts with -p
-c [number]
How many concurrent request should be made. [default: 1000
] -m
Monochrome mode - won't colourize the output [default: false
] -p [number / string]
Inclusive port range to scan, accepts either a range: -300
, 101-200
, or a single port 80
, conflicts with -a
[default: -1000
] -r [number]
Retry attempts per port. [default: 1
] -t [number]
Timeout for each request in milliseconds. [default: 2000
] -6
Scan the IPv6 address instead of IPv4, [default: false
]
# Scan github.com using the default settings scanr github.com # Scan default address [127.0.0.1], all ports [1-65535], # 2048 concurrent requests, 500ms timeout, 0 retries, IPv4 scanr -a -c 2048 -t 500 -r 0 # Scan www.google.com, ports 10-600, # 500 concurrent requests, 3000ms timeout, default retries [1], IPv4 scanr www.google.com -p 10-600 -c 500 -t 3000 # Scan www.digitalocean.com, ports 1-100 # default concurrent requests[1000], 1000ms timeout, and use IPv6 address scanr www.digitalocean.com -p -100 -t 1000 -6 # Scan www.bbc.com, port 443 only # default concurrent requests[1000], default timeout[2000ms], 6 retries, IPv4 scanr www.bbc.com -p 443 -r 6
Running the below command will globally uninstall the scanr
binary.
Remove the project repo
rm -rf /path/to/git/clone/scanr
We welcome contributions!
git checkout -b my-feature
;git commit -m "feat: my new feature"
;git push origin my-feature
.Once your pull request has been merged, you can delete your branch.
This project is licensed under the MIT License - see the LICENSE file for details.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4