Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

nmap problems


ghost's Avatar
0 0

ok so two days ago I had nmap on my computer and it was working just fine when for some reason I uninstalled it. So today I install it again on the same directory with the same name and I try to scan a host and it gives me this error

Standard Time
dnet: Failed to open device eth0
QUITTING!```

so i try typing ```markupC:\nmap>nmap 127.0.0.1

Starting Nmap 3.95 ( http://www.insecure.org/nmap ) at 2005-12-23 01:40 Eastern
Standard Time
Skipping SYN Stealth Scan against localhost (127.0.0.1) because Windows does not
 support scanning your own machine (localhost) this way.
All 0 scanned ports on localhost (127.0.0.1) are: unknown

Nmap finished: 1 IP address (1 host up) scanned in 0.156 seconds

and I just cant fix it please help me.


ghost's Avatar
0 0

Try scanning your router not localhost…

The first error Im not sure about but the second error Its kinda common sense what they are saying…


Windows IP Configuration


Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.1.103
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1

C:\Tools\nmap>nmap 127.0.0.1

Starting nmap 3.93 ( http://www.insecure.org/nmap ) at 2005-12-22 23:13 Pacific
Standard Time
Skipping SYN Stealth Scan against localhost (127.0.0.1) because Windows does not
 support scanning your own machine (localhost) this way.
All 0 scanned ports on localhost (127.0.0.1) are: unknown

Nmap finished: 1 IP address (1 host up) scanned in 0.031 seconds

C:\Tools\nmap>nmap 192.168.1.1

Starting nmap 3.93 ( http://www.insecure.org/nmap ) at 2005-12-22 23:13 Pacific
Standard Time
Interesting ports on 192.168.1.1:
(The 1667 ports scanned but not shown below are in state: closed)
PORT   STATE SERVICE
80/tcp open  http

Nmap finished: 1 IP address (1 host up) scanned in 2.360 seconds

C:\Tools\nmap>```

ghost's Avatar
0 0

nope I get the same error


Starting Nmap 3.95 ( http://www.insecure.org/nmap ) at 2005-12-23 10:15 Eastern
Standard Time
dnet: Failed to open device eth0
QUITTING!

C:\nmap>```

ghost's Avatar
0 0

dnet: Failed to open device eth0

=> I would say hardware issues accroding to this line. Have you installed any new drivers lately

PS I'm not a big expert with nmap. To be honest, I rarely use it ;)


n3w7yp3's Avatar
Member
0 0

dnet is a raw packe manipulation library (libdnet).

I've never used nmap on Windows before (I'm a Linux user), but I'd suggest that you try to install libdnet, and make sure that you have all the correct winpcap modules installed.

BTW, eth0 is your ethernet card, in case you were wondering ;)