1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
david
e7f22c5aed Actually show the error message from ReceivePacket failure. 2013-06-19 23:53:37 +00:00
david
201a5130a2 Fix nsedoc issues (missing ---, mostly)
Originally committed by dmiller but recommitted by david after recovery
from backup.
2013-04-12 17:29:16 +00:00
kroosec
3858d67874 Added check for excluded ports for rpc-grind.nse 2012-10-11 19:49:44 +00:00
david
ba88cb4f5d Check for received packet in rpc-grind.nse.
The script was checking the returned data, but not the status. When
status is false, data is actually an error message. So in case of a
timeout, the script was receiving nil, "TIMEOUT" and interpreting
"TIMEOUT" as a response from the server. It looked like this:

Discovered open port 1434/udp on 127.0.0.1
NSE: rpc-grind: RPC checking function response data is not RPC.
NSE: Target port 1434 is not a RPC port.

This was reported by Christopher Clements.
http://seclists.org/nmap-dev/2012/q3/685
2012-09-11 00:39:04 +00:00
patrik
448bb5a71b fixed a bug in a loop where the script would wait for a condition that was
supposed to be signalled by other threads which were no longer running.
2012-08-29 05:37:56 +00:00
patrik
a18d0b2ff0 nse_check_globals cleanup 2012-08-18 07:10:27 +00:00
dmiller
4728d7437d Fixes to rpc-grind
NSE: rpc-grind Connect(): RPC library does not support: nil protocol
NSE: rpc-grind Connect(): RPC library does not support: rpcbind version
81578896

These errors caused by ChkProgram and ChkVersion called from
rpc.Comm.Connect. Added a dummy program in rpc-grind and a check for
self.checkprogver in ChkVersion, and everything works great.

Also fixed portrule to only fail if the non-rpcbind service name was not
the result of table lookup. Was failing on port 2049 (in nmap-services
as "nfs") without -sV.
2012-08-18 03:32:50 +00:00
kroosec
b1990f2b33 Added rpc-grind.nse 2012-08-17 18:44:35 +00:00