链接地址: https://github.com/dhgdhg/Scapy-Note
一.安装
1.1.必选
tcpdump: sudo apt-get install tcpdump
Scapy: pip3 install --pre scapy
1.2.可选
pip3 install matplotlib vpython pyx cryptography sphinx sphinx_rtd_theme pylint
nmap
pyx:
sudo apt-get install texlive
wireshark
二.启动
2.1.启动Scapy
sudo scapy
2.2.wi-fi启动监听模式
sudo iw dev wlan0 interface add mon0 type monitor
sudo ifconfig mon0 up
sudo ip link set mon0 up
2.3.启动蓝牙
kali虚拟机启动蓝牙
本机关闭蓝牙
apt-get install bluetooth
service bluetooth restart
service bluetooth status
bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre> Active: active (running) since Wed 2020-01-01 06:22:50 EST; 3min 10s ago Docs: man:bluetoothd(8) Main PID: 595 (bluetoothd) Status: "Running" Tasks: 1 (limit: 4615) Memory: 4.0M CGroup: /system.slice/bluetooth.service └─595 /usr/lib/bluetooth/bluetoothd
systemctl enable /lib/systemd/system/bluetooth.service
systemctl start bluetooth.service
验证蓝牙设备
hcitool dev
- 如果虚拟机获取不到蓝牙
- 则在Device Manager中把蓝牙先禁用再启用
- 然后选择你要连接到的虚拟机
- 连接后可以等俩分钟再验证
测试LE Scan
hcitool lescan