Nmap Development mailing list archives
Re: Doubt about nmap -sP
From: Sundhar <sundhar.i14 () iiits in>
Date: Sun, 18 Dec 2016 15:33:14 +0530
Hi, Thanks for replying. As you said I scanned my network again(both with root and as a regular user), this time I ensured that the phone is not in standby mode but still the problem seams to exist. I also tried -sn in this mode nmap did not discover the phone when it is being operated as root (I tried for 5 times) but it is able to detect with same problem as that of -sP when it is not in root.I am attaching the screen shots of all the above mentioned cases. On Sat, Dec 17, 2016 at 5:55 PM, Jacek Wielemborek <d33tah () gmail com> wrote:
W dniu 16.12.2016 o 05:03, Sundhar pisze:hi all, I am new to nmap. I faced a problem while learning, I scanned my home network with nmap -sP 192.168.225.1/24 <http://192.168.225.1/24> the result included my laptop and the gateway but it did not contain my two android phones.so, I performed the scan again. This time the result included all the devices. After seeing this I tried scanning for few more times and I realized that sometimes the scan is listing all devices and sometimes it isn't. (did not contain the 2 android phones). can anyone tell me what might be the reason?What conditions change? For example, do you get your phone up from standby between tests? Like in first test (where the phone isn't discovered) has the phone been in standby for a long period, then you acivated it before the second attempt and it re-connected to the network? Or could it be that you had one attempt as a regular user and the other as root? I wouldn't be surprised if Nmap's host discovery was more effective as root, where it could also send ARP queries. Also, keep in mind that in current nmap, -sP is now -sn. -sP is only kept for compatibility purposes.
-- Best Regards, Sai Sundhar.
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Doubt about nmap -sP Sundhar (Dec 15)
- Re: Doubt about nmap -sP Barry Dragoon (Dec 16)
- Re: Doubt about nmap -sP Jacek Wielemborek (Dec 17)
- Re: Doubt about nmap -sP Sundhar (Dec 18)