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

Http-screenshot to FQDN instead of IP address. #178

Closed
fjavierc opened this issue Nov 8, 2015 · 3 comments
Closed

Http-screenshot to FQDN instead of IP address. #178

fjavierc opened this issue Nov 8, 2015 · 3 comments
Assignees

Comments

@fjavierc
Copy link

fjavierc commented Nov 8, 2015

Hello!

Is it possible to make a http-screenshot to a FQDN instead of IP address ?

Many websites resolve to the same ip address and when I do a "http-screenshot" to a FQDN, it attacks the IP address and get errors 403 - Access Denied.

To make the http-screenshot I use phantomjs, screenshot.js and http-screenshot.nse from Ivre repository and works ok.

Thanks!

@p-l-
Copy link
Member

p-l- commented Nov 8, 2015

Hi,

Can you check if the patch form #180 works for you? Thanks!

@fjavierc
Copy link
Author

fjavierc commented Nov 8, 2015

Hi Pierre,

Work OK !!

Well ... except when there is some automatic redirection ( HTTP 302 code ) or when trying to make a screenshot over HTTPS ( port 443, 8443, etc ). I think this "problem" is more complicated to resolve or need more extensive development.

What do you think ? Do you think is better to open a new issue/enhancement ?

Thank you!

@p-l-
Copy link
Member

p-l- commented Nov 8, 2015

Do you have an example of web site you cannot screenshot? Since this fixes the problem reported I'll merge #180 (which will close this issue), open another one to report sites for which the script fails. Thanks again!

@p-l- p-l- closed this as completed in #180 Nov 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants