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

Input Format doesn't run correctly #234

Closed
hundan2020 opened this issue Nov 23, 2019 · 1 comment
Closed

Input Format doesn't run correctly #234

hundan2020 opened this issue Nov 23, 2019 · 1 comment

Comments

@hundan2020
Copy link

hundan2020 commented Nov 23, 2019

echo 1.0.0.1, baidu.com | zgrab2 http

by document, it should connect with the ip 1.0.0.1, but it still return the content of baidu.com, following is the response

{"ip":"1.0.0.1","domain":"baidu.com","data":{"http":{"status":"success","protocol":"http","result":{"response":{"status_line":"200 OK","status_code":200,"protocol":{"name":"HTTP/1.1","major":1,"minor":1},"headers":{"accept_ranges":["bytes"],"cache_control":["max-age=86400"],"connection":["Keep-Alive"],"content_length":["81"],"content_type":["text/html"],"date":["Sat, 23 Nov 2019 10:25:54 GMT"],"etag":["\"51-47cf7e6ee8400\""],"expires":["Sun, 24 Nov 2019 10:25:54 GMT"],"last_modified":["Tue, 12 Jan 2010 13:48:00 GMT"],"server":["Apache"]},"body":"\u003chtml\u003e\n\u003cmeta http-equiv=\"refresh\" content=\"0;url=http://www.baidu.com/\"\u003e\n\u003c/html\u003e\n","body_sha256":"1d2d898b8ee2611eeed02868e27b1e3db2d266b4016b54160f128187961431fb","content_length":81,"request":{"url":{"scheme":"http","host":"baidu.com","path":"/"},"method":"GET","headers":{"accept":["*/*"],"user_agent":["Mozilla/5.0 zgrab/0.x"]},"host":"baidu.com"}}},"timestamp":"2019-11-23T18:27:24+08:00"}}}
@hundan2020 hundan2020 changed the title Input Format doesn Input Format doesn't run correctly Nov 23, 2019
@codyprime
Copy link
Member

Fixed in #240

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

2 participants