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

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

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.

@takeshixx takeshixx Bugfix for non-HTTP ports
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.
d6fdc4c

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.

nmap-bot closed this in d2d5a78 Nov 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment