Espionage 是一个网络数据包嗅探器,用于拦截通过接口传输的大量数据。该工具允许用户运行常规和详细流量分析,实时显示流量,揭示数据包方向、协议、标志等信息。Espionage 还可以进行 ARP 欺骗,因此目标发送的所有数据都将通过攻击者(MiTM)重定向。Espionage 支持 IPv4、TCP/UDP、ICMP 和 HTTP。Espionage 使用 Python 3.8 编写,但也支持 3.6 版本。这是该工具的第一个版本,如果您想贡献代码为 Espionage 增加更多功能,请联系开发者。注意:这不是一个 Scapy 封装库,scapylib 仅用于协助 HTTP 请求和 ARP。
1: git clone https://www.github.com/josh0xA/Espionage.git
2: cd Espionage
3: sudo python3 -m pip install -r requirments.txt
4: sudo python3 espionage.py --help
sudo python3 espionage.py --normal --iface wlan0 -f capture_output.pcapwlan0 替换为您的网络接口。sudo python3 espionage.py --verbose --iface wlan0 -f capture_output.pcapsudo python3 espionage.py --normal --iface wlan0sudo python3 espionage.py --verbose --httpraw --iface wlan0sudo python3 espionage.py --target <target-ip-address> --iface wlan0sudo python3 espionage.py --iface wlan0 --onlyhttpsudo python3 espionage.py --iface wlan0 --onlyhttpsecuresudo python3 espionage.py --iface wlan0 --urlonly
命令 8 将仅嗅探并返回受害者访问的 URL。(与 sslstrip 配合使用效果最佳)。usage: espionage.py [-h] [--version] [-n] [-v] [-url] [-o] [-ohs] [-hr] [-f FILENAME] -i IFACE
[-t TARGET]
optional arguments:
-h, --help show this help message and exit
--version returns the packet sniffers version.
-n, --normal executes a cleaner interception, less sophisticated.
-v, --verbose (recommended) executes a more in-depth packet interception/sniff.
-url, --urlonly only sniffs visited urls using http/https.
-o, --onlyhttp sniffs only tcp/http data, returns urls visited.
-ohs, --onlyhttpsecure
sniffs only https data, (port 443).
-hr, --httpraw displays raw packet data (byte order) recieved or sent on port 80.
(Recommended) arguments for data output (.pcap):
-f FILENAME, --filename FILENAME
name of file to store the output (make extension '.pcap').
(Required) arguments required for execution:
-i IFACE, --iface IFACE
specify network interface (ie. wlan0, eth0, wlan1, etc.)
(ARP Spoofing) required arguments in-order to use the ARP Spoofing utility:
-t TARGET, --target TARGET
一篇简单的 Medium 文章可以在此处找到:
点击此处查看官方 Medium 文章
本程序的开发者 Josh Schiavone 编写以下代码仅供教育和道德目的使用。嗅探/拦截的数据不得用于恶意用途。Josh Schiavone 不对滥用此渗透测试工具的行为负责或承担责任。愿上帝保佑你们所有人。
MIT 许可协议
版权所有 (c) 2024 Josh Schiavone