mirror of
https://github.com/nmap/nmap.git
synced 2026-08-30 13:42:59 +00:00
about ready for 3.95 release
This commit is contained in:
parent
453981b882
commit
1655d26bd8
2 changed files with 19 additions and 1 deletions
|
|
@ -1821,7 +1821,7 @@ bool ultrascan_port_pspec_update(UltraScanInfo *USI, HostScanStats *hss,
|
|||
proto = IPPROTO_TCP;
|
||||
portno = pspec->pd.tcp.dport;
|
||||
} else if (pspec->type == PS_UDP) {
|
||||
proto = IPPROTO_TCP;
|
||||
proto = IPPROTO_UDP;
|
||||
portno = pspec->pd.udp.dport;
|
||||
} else assert(0);
|
||||
|
||||
|
|
@ -3780,6 +3780,14 @@ void pos_scan(Target *target, u16 *portarray, int numports, stype scantype) {
|
|||
/* if (!testinglist) testinglist = current; */
|
||||
ss.numqueries_outstanding++;
|
||||
gettimeofday(¤t->sent[0], NULL);
|
||||
if (send_rpc_query(target->v4hostip(),
|
||||
rsi.rpc_current_port->portno,
|
||||
rsi.rpc_current_port->proto, current->portno,
|
||||
current - scan, current->trynum) == -1) {
|
||||
/* Futz, I'll give up on this guy ... */
|
||||
rsi.rpc_status = RPC_STATUS_NOT_RPC;
|
||||
break;
|
||||
}
|
||||
if (senddelay) usleep(senddelay);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue