metalx1000

Monitor for New Wireless Wifi Devices with Aircrack-ng

Feb 4th, 2018
854
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.30 KB | None | 0 0
  1. #!/bin/sh
  2. #for use with aircrack-ng logs
  3.  
  4. cat log-01.csv|grep ':'|cut -d\, -f1|sort -u >known
  5.  
  6. while [ 1 ];
  7. do
  8.   cat log-01.csv |\
  9.   grep ':'|\
  10.   cut -d\, -f1|\
  11.   while read mac;
  12.   do
  13.     grep "$mac" known > /dev/null || (echo "New MAC $mac";echo "$mac" >> known )
  14.   done
  15.   sleep 1
  16. done
Add Comment
Please, Sign In to add comment