Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

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.

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.

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 nmap-bot closed this in d2d5a78 Nov 29, 2015

qha added a commit to qha/nmap that referenced this pull request Dec 16, 2015

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