Commit Graph
2 Commits
Author SHA1 Message Date
L1ghtn1ng fa2dedd38b Refactor and standardize output handling with new utilities in theHarvester.lib.output, add tests for print_linkedin_sections and sorted_unique. Fix regex inaccuracies and enhance CORS validation. 2026-01-24 11:28:20 +00:00
L1ghtn1ng 3d7489c962 Add security tests and enhance input sanitization mechanisms
- Introduced comprehensive security tests, including CORS configuration, XML injection prevention, path traversal prevention, and information disclosure protection.
- Improved input sanitization for filenames and XML content to mitigate injection attacks and ensure safe handling.
- Updated CORS middleware to restrict HTTP methods and block credentials with wildcard origins.
- Removed traceback exposure in API error responses, even in debug mode.
- Verified rate limiting and input validation for sensitive API endpoints.
- Ensured no hardcoded secrets are present in the main codebase.
2026-01-17 01:05:40 +00:00