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

Include screenshots using domain name and 'Host' header when using nmap XML #192

Open
soutzis opened this issue Jul 21, 2023 · 0 comments
Open

Comments

@soutzis
Copy link

soutzis commented Jul 21, 2023

Is your feature request related to a problem? Please describe.
When using nmap's XML output file. there doesn't seem to be an option for using the values between the tags for taking additional screenshots.

Describe the solution you'd like
It is very common for a web application to require the 'Host' header in order to serve the web application to the client, especially with servers that have multiple virtual hosts. It would be great if gowitness also took screenshots of the web application using its domain name and adding the 'Host' header automatically, all based on the values (if they exist) between the 'hostnames' tags in the nmap xml file.

For example, let's say I used nmap to scan ip 7.7.7.7 and output the results in xml format using the -oX switch.
It would be really great if gowitness had the capability to issue the http/https requests with the corresponding 'Host' header in each request, based on the tag values. So instead of sending 2 requests by default, it would send 4 requests.

Since the functionality for parsing Nmap's XML files already exists, I assume that it would be quick and easy to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant