1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

Made RPC grinding work from service detection again by changing the

looked-for service name from "rpc" to "rpcbind", the name it has in
nmap-service-probes.
This commit is contained in:
david
2009-07-16 04:29:29 +00:00
parent a8891ec0ca
commit a79ddef79f
2 changed files with 5 additions and 1 deletions

View File

@@ -5625,7 +5625,7 @@ void pos_scan(Target *target, u16 *portarray, int numports, stype scantype) {
break; // done!
rsi.rpc_current_port->getServiceDeductions(&sd);
if (sd.name && sd.service_tunnel == SERVICE_TUNNEL_NONE &&
strcmp(sd.name, "rpc") == 0)
strcmp(sd.name, "rpcbind") == 0)
break; // Good - an RPC port for us to scan.
}