Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |