A comprehensive security testing framework for modern and legacy vulnerabilities. This project is designed to help security professionals and developers identify vulnerabilities in web applications, networks, systems, and mobile applications.
- Web Security Modules: Test for SQL Injection, XSS, CSRF, Directory Traversal, and Remote Code Execution (RCE).
- Network Security Modules: Port scanning, packet analysis, and Nmap integration for network security testing.
- System Security Modules: Privilege escalation tests and rootkit detection for Linux and Windows systems.
- Mobile Security Modules: Security testing for Android and iOS applications using Frida.
- Automated Scanning: Integration with OWASP ZAP and Nmap for automated scanning.
- Detailed Reporting: JSON reports generated for all detected vulnerabilities.
- Python 3.x
- Virtual environment tools like
venvorvirtualenv - Required Python libraries specified in
requirements.txt
-
Clone the repository:
git clone https://github.com/oaslananka/security-testing-framework.git
-
Navigate into the project directory:
cd security-testing-framework -
Set up a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts�ctivate`
-
Install the required packages:
pip install -r requirements.txt
Run the main script to start security tests:
python main.py --url <target_url> --test <test_type> --param <parameter_name>python main.py --url http://example.com --test sql --param searchSupported test types:
sql: SQL Injection testingxss: Cross-Site Scripting testingrce: Remote Code Execution testing
To run the unit tests, use the following command:
pytest tests/Make sure to set the PYTHONPATH correctly if needed:
set PYTHONPATH=%CD% # On Windows
export PYTHONPATH=$(pwd) # On Linux/macOSsecurity-testing-framework/
│
├── modules/
│ ├── web_security/
│ ├── network_security/
│ ├── system_security/
│ ├── mobile_security/
│ └── reporting/
│
├── tests/
├── main.py
├── requirements.txt
└── README.md-
Fork the repository.
-
Create your feature branch:
git checkout -b my-new-feature
-
Commit your changes:
git commit -m 'Add some feature' -
Push to the branch:
git push origin my-new-feature
-
Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or suggestions, feel free to open an issue or contact me directly.