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:
@@ -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.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user