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

Fix regex matcher and extractor to match only rfc1918 addresses #9690

Merged
merged 1 commit into from
May 11, 2024

Conversation

x676f64
Copy link
Contributor

@x676f64 x676f64 commented May 2, 2024

Template / PR Information

This is a PR to fix a weak match and extraction. The previous regular expression matched any IP in the location header instead of only RFC-1918 addresses.

  • Fixed regex matcher and extractor to only match on RFC-1918 addresses

Template Validation

I've validated this template locally?

  • YES
  • NO

Additional Details (leave it blank if not applicable)

Additional References:

@DhiyaneshGeek DhiyaneshGeek added the good first issue Good for newcomers label May 3, 2024
@GeorginaReeder
Copy link

Thanks so much for your contribution @x676f64 , we appreciate it!

@DhiyaneshGeek DhiyaneshGeek added the Done Ready to merge label May 9, 2024
@DhiyaneshGeek DhiyaneshGeek self-assigned this May 9, 2024
@pussycat0x pussycat0x merged commit 7079b58 into projectdiscovery:main May 11, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Done Ready to merge good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants