Skip to content

Instantly share code, notes, and snippets.

@jabedude
jabedude / tcpdump.sh
Last active March 16, 2016 17:41
Debian TCPDUMP service for RC4.D
#!/bin/bash
NAME=tcpDump
PIDFILE=/var/run/$NAME.pid
DAEMON=/usr/sbin/tcpdump
DAEMON_OPTS="-i eth0 -w /RL4/outfile.pcap"
mkdir /RL4
touch /RL4/outfile.pcap
case "$1" in
start)