NetScan is a SIMPLIEST tool for port, SSL sertificates and headers scanning. It allows you to scan ports on remote addresses, check their status (open/closed), check SSL sertificates ans headers for them. The scan results can be saved in CSV or JSON format.
- Port Scanning: Check the status of ports on a remote address.
- Reports: Generate reports in CSV and JSON formats.
- SSL sertificates and headers scanning: Check remote address for SSL sertificates and headers
- Rust (version 1.50 or higher)
- Dependencies in Cargo.toml
You can download pre-built version
-
Clone this repository:
git clone https://github.com/nazarhktwitch/NetScan cd NetScan
-
Build the project:
cargo build --release
-
The compiled binary will be available in the
target/debug/
or for release intarget/release/
directory.
-
Run the program
-
Enter the target address (e.g.,
https://example.com
). -
Enter a comma-separated list of ports to scan (e.g.,
80,443,8080
).- The program will scan each specified port and check if it's open, along with verifying SSL certificates for port 443 and fetching HTTP headers for ports 80 and 443.
-
After the scan completes (If save to CSV/JSON enabled), the results will be displayed, and reports will be saved in both CSV and JSON formats.
- The CSV report will be saved as
scan_report.csv
. - The JSON report will be saved as
scan_report.json
.
- The CSV report will be saved as
See logs in 'logs' folder, config is 'config.json'
This project is licensed under the MIT License - see the LICENSE file for details.