Last active
July 19, 2020 17:56
-
-
Save marvin-marvin/451d3729c79822162e8fdf90ff55dca5 to your computer and use it in GitHub Desktop.
sniff 2 pinbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# sniff 2 sensor | |
SHELL=/bin/sh | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin | |
while true | |
do | |
/usr/sbin/tcpdump -i lbr0 -s0 -nn -w - | /usr/bin/ssh -i /root/.ssh/id_rsa -o "StrictHostKeyChecking no" [email protected] "/usr/bin/daemonlogger -R - -o eno1 -t 60 -c 4200000" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment