Advanced Security Port Scanner and Vulnerability Assessment Tool
Project description
Security Port Scanner
A comprehensive security assessment tool built in Python that performs advanced port scanning, service detection, and vulnerability analysis. This tool is designed to demonstrate professional-grade security testing capabilities while maintaining ethical usage standards.
Features
- High-performance multi-threaded port scanning
- Advanced service detection and banner grabbing
- Operating system fingerprinting
- Built-in vulnerability database and checking
- Stealth mode for careful enumeration
- Professional security reporting (JSON and CSV formats)
- Detailed logging system for audit trails
- Configurable rate limiting for stealth operations
- Cross-platform compatibility (Windows, Linux, macOS)
Installation
You can install SecureScanner directly from PyPI:
pip install securescanner
Or install from source:
git clone https://github.com/BreyeFoka/securescanner.git
cd securescanner
pip install .
Usage
Command Line Interface
The tool provides an intuitive command-line interface for security testing operations.
Basic usage:
securescanner 192.168.1.1
Advanced options:
securescanner 192.168.1.1 -s 1 -e 1024 -t 50 --stealth -o ./reports
Available options:
-s, --start: Start port number (default: 1)-e, --end: End port number (default: 1024)-t, --threads: Number of concurrent threads (default: 50)--stealth: Enable stealth mode for careful scanning-o, --output-dir: Custom directory for reports and logs-v, --version: Display version information-d, --debug: Enable detailed debug logging
Python API
from securescanner import SecurityScanner
# Create a scanner instance
scanner = SecurityScanner('192.168.1.1', output_dir='./reports')
# Optional: Enable stealth mode
scanner.rate_limit = 0.5 # 500ms between connection attempts
# Run the scan
scanner.scan(start_port=1, end_port=1024, num_threads=50)
Output Files
The scanner generates three types of output files:
security_scan.log: Detailed scan logssecurity_report.json: Comprehensive JSON reportsecurity_report.csv: Spreadsheet-friendly report
Sample JSON Report
{
"scan_info": {
"target": "192.168.1.1",
"timestamp": "2025-08-12 10:00:00",
"os_detection": "Linux (Apache)"
},
"open_ports": [
{
"port": 80,
"service": "http",
"banner": "Apache/2.4.41 (Ubuntu)",
"vulnerabilities": [
"Directory Traversal",
"SQL Injection",
"XSS"
]
}
]
}
Security Considerations
This tool should only be used for authorized security testing. Unauthorized port scanning may be illegal in some jurisdictions. Always ensure you have permission to scan the target system.
Features like stealth mode and rate limiting are provided to help avoid triggering security systems, but they should be used responsibly.
Development
Setting up development environment
git clone https://github.com/BreyeFoka/securescanner.git
cd securescanner
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -e .
Running tests
python -m pytest tests/
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Version History
- 0.1.0
- Initial release with core functionality
- Multi-threaded port scanning implementation
- Vulnerability assessment system
- Professional reporting system
Project Status
This project is actively maintained and part of a cybersecurity learning and demonstration portfolio. It showcases:
- Network security testing methodologies
- Multi-threaded application development
- Security report generation
- Professional-grade Python package development
Contact & Support
For questions, feature requests, or bug reports, please:
- Open an issue in the GitHub repository
- Contact the maintainer at breyefokalagloire@gmail.com
Project Repository: Security Port Scanner on GitHub
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file securescanner-0.1.0.tar.gz.
File metadata
- Download URL: securescanner-0.1.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91b861ce919eac528d593e275107acb542fad95aa82a02aef464b90d2b41eecd
|
|
| MD5 |
c7cd3a04c9a79d45cd44614fe53ea02c
|
|
| BLAKE2b-256 |
4b687fd2d364b568bfffa508a36c5a31a96960339f3a2d1f66978e032be3d393
|
File details
Details for the file securescanner-0.1.0-py3-none-any.whl.
File metadata
- Download URL: securescanner-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6708663842fd970e4b4a440ad4553c7ddee5907b4bbef5533929ffe298846c86
|
|
| MD5 |
ff0be6023d1ce270b258856debdf5e45
|
|
| BLAKE2b-256 |
288315297ca046a6a5d2868563fa5f4b8749f837b51440e3bc3709f6e0914ccc
|