Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   Песочница (https://forum.antichat.xyz/forumdisplay.php?f=189)
-   -   Проблемы с nmap (https://forum.antichat.xyz/showthread.php?t=233970)

nakurukataоm 06.10.2010 19:30

я пытаюсь сканировать nmapom удаленный компьютер, но nmap выдает ошибку:

WARNING: Using raw sockets because ppp0 is not an ethernet device. This probably won't work on Windows.

Nmap only supports ethernet interfaces on Windows for most operations because Microsoft disabled raw sockets as of Windows XP SP2. Depending on the reason for this error, it is possible that the --unprivileged command-line argument will help

Подскажите пожалуйста, как устранить всю эту фигню и что такое непривилегированные аргументы командной строки?

PvgValo 06.10.2010 19:36

Впн у тебя включен?

nakurukataоm 06.10.2010 20:11

я честно попытался разобраться что такое слушать порт, но скорее всего недопонял до конца=\ вообще команда для nmapa: nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389

Тоже самое с впном, скорее всего впн у меня просто нет=)

PvgValo 06.10.2010 20:14

Ты сообщение об ошибке целиком перевел, или ограничился только непривелегированным аргументом?

nakurukataоm 06.10.2010 20:18

NSE: Loaded 36 scripts for scanning.

Initiating Ping Scan at 17:57

Scanning **.**.***.*** [8 ports]

WARNING: Using raw sockets because ppp0 is not an ethernet device. This probably won't work on Windows.

pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter: Системе не удается найти указанное устройство. (20). Will wait 5 seconds then retry.

pcap_open_live(ppp0, 100, 0, 2) FAILED. Reported error: Error opening adapter: Системе не удается найти указанное устройство. (20). Will wait 25 seconds then retry.

Call to pcap_open_live(ppp0, 100, 0, 2) failed three times. Reported error: Error opening adapter: Системе не удается найти указанное устройство. (20)

There are several possible reasons for this, depending on your operating system:

LINUX: If you are getting Socket type not supported, try modprobe af_packet or recompile your kernel with SOCK_PACKET enabled.

*BSD: If you are getting device not configured, you need to recompile your kernel with Berkeley Packet Filter support. If you are getting No such file or directory, try creating the device (eg cd /dev; MAKEDEV ; or use mknod).

*WINDOWS: Nmap only supports ethernet interfaces on Windows for most operations because Microsoft disabled raw sockets as of Windows XP SP2. Depending on the reason for this error, it is possible that the --unprivileged command-line argument will help.

SOLARIS: If you are trying to scan localhost or the address of an interface and are getting '/dev/lo0: No such file or directory' or 'lo0: No DLPI device found', complain to Sun. I don't think Solaris can support advanced localhost scans. You can probably use "-PN -sT localhost" though.

просто как бэ у меня виндовс=\ вот я и привел часть про виндовс

PvgValo 06.10.2010 20:38

И так переводим вместе. если сканируемый компьютер находится не за эфирнет девайсом, то для работы требуются низкоуровневые сокеты.

Ниже. В винде сервис пак 2, низкоуровневые сокеты отключены. Не работают они там.

Они работают в виндосервере 2003

nakurukataоm 06.10.2010 20:49

Я честно долго думал где тему запостить=*) по поиску бОльшая часть тем про сканирование тут.

-я вроде бы не себя сканирую, даже точно не себя чсканирую

- а что такое эзернет интерфейс?

Strilo4ka 06.10.2010 20:54

заходим сюдо http://nmap.org/book/inst-windows.html и внимательно читаем:

Цитата:

Сообщение от None
You cannot generally scan your own machine from itself (using a loopback IP such as 127.0.0.1 or any of its registered IP addresses). This is a Windows limitation that we haven't yet worked around. If you really want to do this, use a TCP connect scan without pinging (-sT -Pn) as that uses the high level socket API rather than sending raw packets.
*
Nmap only supports ethernet interfaces (including most 802.11 wireless cards and many VPN clients) for raw packet scans. Unless you use the -sT -Pn options, RAS connections (such as PPP dialups) and certain VPN clients are not supported. This support was dropped when Microsoft removed raw TCP/IP socket support in Windows XP SP2. Now Nmap must send lower-level ethernet frames instead.


nakurukataоm 06.10.2010 22:07

Извините, а какой сканер можно использовать из под виндовс? просто у меня есть еще essential net tools и оно тоже не работает=(

HIMIKAT 06.10.2010 22:26

Цитата:

Сообщение от nakurukataоm
nakurukataоm said:
Извините, а какой сканер можно использовать из под виндовс? просто у меня есть еще essential net tools и оно тоже не работает=(

Тебе что в итоге нужно, просканировать на все открытые порты, на удаленном хосте?


Время: 01:33