Feb-10-2017, 11:59 AM
I want to sniff ssh connection to any pc on my network. I have scapy on my router and I would like to get a sniff result whenever someone connect to any of my pc in my network using ssh. This what I did by I have no result.
#!/usr/bin/python from scapy.all import * def sniffSSHRequest(): sniff(iface='eth0', filter="tcp and host 192.168.1.2 and port 22", count=1) sniffSSHRequest()