Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/falconwifi.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ def testWEPCapture(apMacAddr, capFile):
if result.returncode == 0 and 'KEY FOUND' in testResult:
passwords = []

p = re.compile('KEY FOUND\! \[(.*?)\].*')
p = re.compile(r'KEY FOUND\! \[(.*?)\].*')

lines = testResult.split('\n')

Expand Down Expand Up @@ -777,7 +777,7 @@ def crackWPACapture(apMacAddr, ssid, dictionary, capFile):
if result.returncode == 0 and 'KEY FOUND' in testResult:
passwords = []

p = re.compile('KEY FOUND\! \[(.*?)\].*')
p = re.compile(r'KEY FOUND\! \[(.*?)\].*')

lines = testResult.split('\n')

Expand Down
9 changes: 9 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
QScintilla
PyQtChart
gps3
dronekit
manuf
python-dateutil
numpy
matplotlib
requests
2 changes: 1 addition & 1 deletion sparrowbluetooth.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def run(self):
self.startBTMon()

p_address = re.compile('Address: ([0-9A-F]{2,2}:[0-9A-F]{2,2}:[0-9A-F]{2,2}:[0-9A-F]{2,2}:[0-9A-F]{2,2}:[0-9A-F]{2,2})')
p_company = re.compile('Company: (.*) \(')
p_company = re.compile(r'Company: (.*) \(')
# p_type = re.compile('Type: (.*?) (')
p_rssi = re.compile('RSSI: (.*?) dB.*')
p_txpower = re.compile('TX power: (.*?) dB.*')
Expand Down
4 changes: 2 additions & 2 deletions wirelessengine.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ def getFieldValue(p, curLine):
def parseIWoutput(iwOutput):

# Define search regexes once:
p_bss = re.compile('^BSS (.*?)\(')
p_bss = re.compile(r'^BSS (.*?)\(')
p_ssid = re.compile('^.+?SSID: +(.*)')
p_ess = re.compile('^ capability:.*(ESS)')
p_ess_privacy = re.compile('^ capability:.*(ESS Privacy)')
Expand All @@ -682,7 +682,7 @@ def parseIWoutput(iwOutput):
p_param_channel = re.compile('^.*?DS Parameter set: channel +([0-9]+).*')
p_primary_channel = re.compile('^.*?primary channel: +([0-9]+).*')
p_freq = re.compile('^.*?freq:.*?([0-9]+).*')
p_signal = re.compile('^.*?signal:.*?([\-0-9]+).*?dBm')
p_signal = re.compile(r'^.*?signal:.*?([\-0-9]+).*?dBm')
p_ht = re.compile('.*?HT20/HT40.*')
p_bw = re.compile('.*?\\* channel width:.*?([0-9]+) MHz.*')
p_secondary = re.compile('^.*?secondary channel offset: *([^ \\t]+).*')
Expand Down