Thank you for your interest in contributing to pentestkit! This document provides guidelines and instructions for contributing to this project.
By participating in this project, you agree to uphold our Code of Conduct:
- Use welcoming and inclusive language
- Be respectful of differing viewpoints and experiences
- Gracefully accept constructive criticism
- Focus on what is best for the community
- Show empathy towards other community members
- Check existing issues - Search through the issues to see if the bug has already been reported.
- Create a new issue - If the bug is new, create an issue using the bug report template.
- Provide detailed information - Include:
- A clear description of the bug
- Steps to reproduce
- Expected vs. actual behavior
- Screenshots if applicable
- Environment details (OS, Python version, etc.)
- Check existing issues - Make sure the enhancement has not already been suggested.
- Create a new issue - Use the feature request template.
- Describe the enhancement - Provide a clear description of what you want to happen and why it would be valuable.
- Fork the repository
- Create a feature branch -
git checkout -b feature/your-feature-name - Make your changes
- Add tests - New features and bug fixes should include tests
- Ensure all tests pass - Run
pytest - Update documentation - Make sure any new functionality is documented
- Create a pull request - Use the pull request template
- Python 3.8 or higher
- pip
- virtualenv or venv (recommended)
-
Fork and clone the repository:
git clone https://github.com/rahulkaushal04/pentestkit.git
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install development dependencies:
pip install -r requirements.txt
pytestFor a specific test:
pytest tests/test_parser.pyWith coverage:
pytest --cov=pentestkitpentestkit/
│── src/
│ ├── pentestkit/
│ │ ├── dataclasses/
│ │ ├── fuzzer/
│ │ ├── parser/
│ │ ├── cli.py
│ │ ├── utils.py/
│ ├── tests/
│── docs/
By contributing to pentestkit, you agree that your contributions will be licensed under the project's license.
If you have questions or need help, please:
- Open an issue
Thank you for contributing to make pentestkit better!