Skip to content
Permalink
Browse files
Create test.py
  • Loading branch information
shawnhos committed Mar 23, 2019
1 parent 92731ba commit c9e7332d5eaad881894fef28f7fed79c890ab5fd
Showing 1 changed file with 17 additions and 0 deletions.
17 test.py
@@ -0,0 +1,17 @@
import csv
import os

os.system("airmon-ng check kill")
# Kill processes that can interfere with monitor mode
os.system("airmon-ng start wlan0")
# Put your Wi-Fi card in monitor mode using the interface name previously provided
os.system("screen -d -m airodump-ng wlan0mon -w nice_output_file --output-format csv ")
os.system("sleep 5")
# Save the output in a csv file called "nice_output_file"
os.system("awk -F '\'*,\'*' '{print $1,$9,$14}' nice_output_file-01.csv > isolated.csv ")

with open('isolated.csv') as file1:
reader = csv.reader(file1)
full_list=[]
for row in reader:
full_list.append(row)

0 comments on commit c9e7332

Please sign in to comment.