【工具安裝】MAC 安裝 netdiscover 使用教程



日期:2019-06-27 15:54:19
作者:Bay0net
介紹:在 mac os 下,如何安裝 netdiscover 及基本使用方法


0x01、當前環境

MAC os 10.14.4
已安裝 brew

0x02、安裝方式

使用 brew 安裝
brew install sidaf/pentest/netdiscover

安裝后,在命令行直接使用 netdiscover 命令出錯

查找一下其路徑,發現是 /usr/local/sbin/netdiscover

/usr/local/sbin/ 加入到環境變量中

vi ~/.zshrc
# add this in the last line of the document
export PATH="/usr/local/sbin/:$PATH"

iTerm2 中重新打開個 tab 即可。

0x03、使用說明

Usage: netdiscover [-i device] [-r range | -p] [-s time] [-n node] [-c count] [-f] [-S]
  -i device: your network device 
  -r range: scan a given range instead of auto scan. 192.168.6.0/24,/16,/8
  -p passive mode do not send anything, only sniff
  -s time: time to sleep between each arp request (miliseconds)
  -c count: number of times to send each arp reques (for nets with packet loss)
  -n node: last ip octet used for scanning (from 2 to 253)
  -S enable sleep time supression betwen each request (hardcore mode)
  -f enable fastmode scan, saves a lot of time, recommended for auto

Some Examples

# use eth0 scan 10.1.2.0/24
netdiscover -i eth0 -r 10.1.2.0/24

# passive mode
netdiscover -p


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM