Jump to content


Go to solution Solved by dark_pyrro,

Recommended Posts


For context I am very new to this and might be missing/saying something very obvious. I would like to connect my Packet Squirrel in between my laptop and my router to capture the traffic on my laptop. I would like to then send this data to Wireshark via SSH on my PC. I am currently attempting the following code:


# Payload configuration
INTERFACE="wlan0" # Replace with your identified network interface
REMOTE_USER="user" # Replace with your remote machine's username
REMOTE_HOST="PC IPv4" # Replace with your remote machine's IP address
REMOTE_PORT="22" # Replace with your SSH port if it's not the default 22


# Start TCPDUMP and pipe the output to SSH
nohup tcpdump -i $INTERFACE -s 0 -U -w - 2>/tmp/tcpdump_error.log | ssh -p $REMOTE_PORT $REMOTE_USER@$REMOTE_HOST "wireshark -k -i -"

Currently I am able to SSH into the packet squirrel on my laptop but not my PC. Am I on the right track/is what I am attempting even possible?

Thank you for any advice. 

Link to comment
Share on other sites

  • Solution

As an alternative method, you could pipe the tcpdump output to netcat on the Squirrel. Then listen on the PC using netcat and pipe that to Wireshark. 

Remember to use a relevant NETMODE on the Squirrel.

Also use a relevant interface to run tcpdump against.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...