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
import subprocess | |
import re | |
# List of Wlan interfaces connected before/frequently | |
cmd = subprocess.Popen('netsh wlan show profiles', shell=True, stdout=subprocess.PIPE) | |
ssids = []; | |
for line in cmd.stdout: | |
line = line.strip() | |
searchObj = re.search( ': ', line, re.M|re.I) |
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
#!/usr/bin/env python2.7 | |
# 802.11 probe requests processor | |
# Copyright (C) 2017 Ralon cybersecurity | |
# Loran Kloeze - loran@ralon.nl - @lorankloeze | |
# MIT license: do with it what you want but use it for good | |
# | |
# This script grabs probe requests from the air and puts them in a sqlite3-db. | |
# It cleans up the database to prevent old entries from filling up too much disk | |
# space. Check the regex before starting this script because it assumes 3 | |
# antennas on the wireless device. |