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

[FEATURE] Getting subdomain name #197

Open
abdilahrf opened this issue Apr 21, 2024 · 1 comment
Open

[FEATURE] Getting subdomain name #197

abdilahrf opened this issue Apr 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@abdilahrf
Copy link

What is the problem you are trying to solve?

I want to build a payload that directy consume the subdomain of a host to a payload
Eg /{subdomain}.zip
but the reserved keyword {request.url.host} only give the full domain admin.google.com can't be only the subdomain which is admin

How would you like this problem to be solved?

if you have a keyword to extract the subdomain only, that would be great
or let me know if i missing something, that you could've done this on the current condition

@abdilahrf abdilahrf added the enhancement New feature or request label Apr 21, 2024
@Hannah-PortSwigger
Copy link
Contributor

Hi

Thanks for the feedback!

Have you tried using a regular expression to extract the subdomain from your Host header?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants