startdump.sh 232 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

source $HOME/dragonlab/etc/start.cfg

if [ ! -d $logpath/$date ]
then
  mkdir -p $logpath/$date
fi

sudo /usr/local/bin/mapidump -l 86400 -d ntx7 -w $logpath/$date/passive.pcap > /dev/null 2>> $logpath/$date/error.log &