Contributing Guide
Thank you for your interest in contributing to Apache Sling Auditor!
Getting Started
- Fork the repository on GitHub
- Clone your fork locally
- Create a branch for your changes
- Make your changes
- Test thoroughly
- Submit a Pull Request
Development Setup
1
2
3
4
5
6
7
8
9
10
# Clone your fork
git clone https://github.com/Auditing-Korner/Apache-Sling-Auditor.git
cd Apache-Sling-Auditor
# Create virtual environment
python -m venv venv
source venv/bin/activate # Windows: .\venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
Contribution Guidelines
Code Style
- Follow PEP 8 Python style guidelines
- Use meaningful variable and function names
- Add comments for complex logic
- Keep functions focused and small
Testing
- Test your changes before submitting
- Test on authorized systems only
- Verify no scan results are committed
- Check for linting errors
Documentation
- Update README.md for new features
- Add docstrings to new functions
- Update configuration documentation
- Include usage examples
What to Contribute
Bug Fixes
- Fix bugs in existing code
- Improve error handling
- Add input validation
New Features
- Add new CVE detections
- Implement new security checks
- Add new exploitation capabilities
- Improve reporting
Documentation
- Improve existing documentation
- Add examples
- Fix typos and errors
- Add tutorials
Configuration
- Add new default credentials
- Add new test paths
- Improve wordlists
- Add new CVE definitions
Pull Request Process
- Create a feature branch
1
git checkout -b feature/your-feature-name - Make your changes
- Write clean, tested code
- Update documentation
- Follow code style
- Test your changes
1
python auditor.py -t http://test-target.com:4502 --mode quick
- Commit your changes
1 2
git add . git commit -m "Description of changes"
- Push to your fork
1
git push origin feature/your-feature-name
- Create Pull Request
- Provide clear description
- Reference related issues
- Include screenshots if applicable
Important Reminders
Never Commit Scan Results
CRITICAL: Never commit scan results, reports, or extracted data.
- All outputs are gitignored
- Verify with
before committing1
git status
- Check
is working1
.gitignore
Security Considerations
- Never commit credentials or API keys
- Review code for security issues
- Test responsibly
- Follow responsible disclosure
Code Review Process
- Maintainers review PRs
- Feedback may be provided
- Changes may be requested
- PR is merged when approved
Questions?
- Open an issue for questions
- Check existing issues first
- Be respectful and professional
Author
Ruben Silva
- LinkedIn: https://www.linkedin.com/in/ruben-silva85/
- GitHub: Auditing-Korner
- Patreon: https://www.patreon.com/cw/rfs85 - Support cybersecurity research and get exclusive content
Thank you for contributing!