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

Bugfix for non-HTTP ports (xmlrpc-methods.nse) #244

Closed
wants to merge 1 commit into from
Closed

Bugfix for non-HTTP ports (xmlrpc-methods.nse) #244

wants to merge 1 commit into from

Conversation

takeshixx
Copy link

@takeshixx takeshixx commented Nov 26, 2015

Whenever the script runs on a non HTTP port (like a sshd running on
TCP/443), this script returns an ERROR because it references
response.body which is not set in such a case.

Whenever the script runs on a non HTTP port (like a sshd running on
TCP/443), this script returns an ERROR because it references
response.body which is not set in such a case.
@dmiller-nmap
Copy link

@dmiller-nmap dmiller-nmap commented Nov 29, 2015

Thanks for catching this. I'm handling it by checking for response, response.body, and response.status immediately after the http.post and bailing out early if any of them is false. Watch for linked commit to close this PR soon.

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

Successfully merging this pull request may close these issues.

None yet

2 participants