change default ip of paw-gps, it needs port too.
Change default ip from 192.168.44.1 (which is the ip address of an android on bt tether) to 192.168.44.1:8080 so it has the default port paw-gps opens on, which is 8080.
This commit is contained in:
parent
1ff14c05a9
commit
8965ad9272
@ -22,7 +22,7 @@ class PawGPS(plugins.Plugin):
|
|||||||
|
|
||||||
def on_handshake(self, agent, filename, access_point, client_station):
|
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):
|
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"
|
||||||
|
|
||||||
gps = requests.get('http://' + ip + '/gps.xhtml')
|
gps = requests.get('http://' + ip + '/gps.xhtml')
|
||||||
gps_filename = filename.replace('.pcap', '.gps.json')
|
gps_filename = filename.replace('.pcap', '.gps.json')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user