Nmap Development mailing list archives
RPC scan broken
From: Pasi Eronen <pasi.eronen () nixu com>
Date: Fri, 5 Apr 2002 15:59:11 +0300 (EET DST)
Hi, It seems that the RPC scan (-sR) is totally broken in Nmap versions 2.54BETA29 .. BETA32. In nmap.c, the RPC scanning is started as: if (o.rpcscan) pos_scan(currenths, NULL, 0, RPC_SCAN); But in the pos_scan() function in scan_engine.c, there's a test: void pos_scan(struct hoststruct *target, u16 *portarray, int numports, stype scantype) { ... if (! numports) return; /* nothing to scan for */ And because "numports" is always 0, the scan is never run. Fix: "if (!numports && (scantype != RPC_SCAN)) return;" Best regards, Pasi -- Pasi Eronen E-mail pasi.eronen () nixu com Nixu Oy Tel +358 50 5123499 Mäkelänkatu 91, 00610 Helsinki Fax +358 9 4781030 --------------------------------------------------------------------- For help using this (nmap-dev) mailing list, send a blank email to nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).
Current thread:
- RPC scan broken Pasi Eronen (Apr 05)
- Re: RPC scan broken Fyodor (Apr 19)