Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Module: http_redirect_scan #693

Merged
merged 2 commits into from
Jul 2, 2023

Conversation

securestep9
Copy link
Collaborator

feature #692 http_redirect_scan module scans for target websites returning 3xx response code and redirecting users to a different location (the redirection code and location URL are logged)

Checklist

  • I have followed the Contributor Guidelines.
  • The code has been thoroughly tested in my local development environment with flake8 and pylint.
  • The code is Python 3 compatible.
  • The code follows the PEP8 styling guidelines with 4 spaces indentation.
  • This Pull Request relates to only one issue or only one feature
  • I have referenced the corresponding issue number in my commit message
  • I have added the relevant documentation.
  • My branch is up-to-date with the Upstream master branch.

Changes proposed in this pull request

http_redirect_scan module checks if a target webserver returns an 3xx http status code and logs it along with the redirection URL as specified in the Location response header . This can be very useful for recon as some redirections can be going to a subdomain/URL not exposed anywhere else, the redirection can go to a login page and include an auth token/session id in the URL etc.

Additionally understanding the redirections within your organisation's subdomains can help you identify any unauthorised or malicious redirects that may have been set up by cybercriminals. By regularly monitoring and auditing the redirects on the subdomains of your organisation you can mitigate the risk of phishing attacks and subdomain hijacking

Your development environment

  • OS: MacOS
  • OS Version: 12.6
  • Python Version: 3.11

feature #692  http_redirect_scan module scans for target websites returning 3xx response code and redirecting users to a different location
@securestep9 securestep9 added the new module pull request with new module(s) label Jul 2, 2023
@securestep9 securestep9 self-assigned this Jul 2, 2023
@securestep9 securestep9 merged commit 0931846 into master Jul 2, 2023
@securestep9 securestep9 deleted the securestep9-module-http_redirect_scan branch July 2, 2023 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new module pull request with new module(s)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant