PySecToolkit - Python Security Toolkit
# PySecToolkit - Python Security Toolkit
A comprehensive 7-in-1 Python security toolkit for security engineers, penetration testers, and Python developers. Each module is production-ready and designed for integration into your own security tools and projects.
## 7 Security Modules
| Module | Description |
|--------|-------------|
| Port Scanner | Async TCP port scanner with service fingerprinting |
| Vuln Detector | Web vulnerability detector (SQLi, XSS, traversal, headers) |
| Password Generator | Secure password generator with strength analysis |
| Network Scanner | Network discovery and device fingerprinting |
| IP Locator | IP geolocation lookup with caching |
| DNS Toolkit | DNS query, reverse lookup, subdomain enumeration |
| File Scanner | Sensitive file and secret detection |
## Quick Start
import asyncio
from core.port_scanner import PortScanner
scanner = PortScanner(timeout=2.0, max_concurrent=100)
results = await scanner.scan("192.168.1.1", ports=[80, 443])
for r in results.results:
if r.is_open:
print(f"Port {r.port}: {r.service}")
## Features
- Pure Python: Only standard library + requests
- Async/Await: High-performance concurrent scanning
- Type Annotated: Full type hints for IDE support
- Well Documented: Docstrings and examples for all modules
- 93 Tests: Comprehensive test suite included
- MIT Licensed: Commercial use permitted
## Use Cases
1. Security Audit Automation
2. CI/CD Security Integration
3. Penetration Testing Toolkit
4. Security Monitoring Dashboard
5. Developer Security Toolkit
## File Structure
PySecToolkit/
├── core/ # 7 security modules
├── utils/ # Report generator, config
├── examples/ # 3 usage examples
├── tests/ # 93 test cases
├── requirements.txt
├── README.md
├── API_REFERENCE.md
├── DEVELOPMENT_GUIDE.md
├── CHANGELOG.md
├── LICENSE
└── DISCLAIMER.md
## Disclaimer
For authorized security testing only. See DISCLAIMER.md for details.