killdump.sh 241 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
#!/bin/sh

source $HOME/dragonlab/etc/start.cfg

id=`ps xa | grep ntx7 | grep mapidump | awk '{print $1}'`

sudo kill $id 2>> $logpath/$date/error.log
sudo chown $USER.$USER $logpath/$date/passive.pcap
chmod 644  $logpath/$date/passive.pcap