Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- pipeFile="/tmp/captured_traffic_pipe"
- rm -f $pipeFile
- mkfifo $pipeFile
- ssh -p 2200 pi@192.168.1.150 'sudo tcpdump -s 0 -U -n -w - -i eth1' > $pipeFile
- wireshark -k -i $pipeFile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement