Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 scapy ssh connection my network sniffing from my router
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.
from scapy.all import *

def sniffSSHRequest():
    sniff(iface='eth0', filter="tcp and host and port 22", count=1)

Well, you're sniffing, but then not doing anything with the results.  The docs show printing to the screen in various formats to show what's what, if it's a router, what's your gameplan on getting the info back out of it?

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  How to read router prompt and use it? simbha 1 499 May-06-2019, 05:56 AM
Last Post: simbha
  GNS3 telnet from bash terminal to virtual cisco router marienbad 2 565 Feb-24-2019, 07:55 AM
Last Post: marienbad
  Python module for Router configuration parsing anna 0 1,144 Mar-08-2018, 06:02 PM
Last Post: anna
  sniffing real time with pyshark or scapy jeanapala 2 2,915 Nov-16-2017, 09:07 PM
Last Post: jeanapala
  Scapy route6 configuration peterkl 0 1,314 Mar-06-2017, 03:58 PM
Last Post: peterkl
  Scapy Beacon Frames peterkl 1 2,354 Feb-28-2017, 09:00 PM
Last Post: peterkl
  FIN scan with scapy peterkl 0 2,121 Feb-13-2017, 09:10 PM
Last Post: peterkl
  Scapy question azazel79 1 3,019 Nov-09-2016, 11:01 PM
Last Post: nilamo

Forum Jump:

Users browsing this thread: 1 Guest(s)