Merge pull request #607 from Arttumiro/patch-1

Fixes to paw-gps.py
This commit is contained in:
evilsocket 2019-11-15 12:05:58 +01:00 committed by GitHub
commit 8ed2950eb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,9 @@ class PawGPS(plugins.Plugin):
def on_handshake(self, agent, filename, access_point, client_station):
if 'ip' not in self.options or ('ip' in self.options and self.options['ip'] is None):
ip = "192.168.44.1"
ip = "192.168.44.1:8080"
else:
ip = self.options['ip']
gps = requests.get('http://' + ip + '/gps.xhtml')
gps_filename = filename.replace('.pcap', '.gps.json')