gerard780
3e5bece3cf
Merge remote-tracking branch 'upstream/master' into patch-1
2020-01-14 16:10:30 -05:00
dadav
78fba1f74b
dateutil is easier than regex
2020-01-13 20:10:43 +01:00
gerard780
2f1b35b3fa
added support for timezones with - offset
...
introduced new regexp to better handle timestamps with a negative timezone offset like '2019-21-30T14:01:46.79231-05:00'
2019-12-30 14:01:59 -05:00
xenDE
c300e73726
webgpsmap: add function for download the map as one html file with json-positions inside
...
now it's possible to download the map as one Html file for local use on your pc or host somewhere for mobile use without your pownagotchi. uri: /plugins/webgpsmap/offlinemap
2019-12-26 18:51:00 +01:00
xenDE
44138ba463
webgpsmap: fix parsing new timezone format "Z" in gps data
...
fix timezone "Z": "2019-11-28T04:44:46.79231Z" >> "2019-11-28T04:44:46.79231+00:00"
issue: https://github.com/evilsocket/pwnagotchi/issues/708
2019-12-15 23:37:48 +01:00
xenDE
c4a007e72a
cleanup, fixes and add handling of .paw-gps.json
...
cleanup logging, increase cache item count from 1024 to 2048, add handling of corrupt long/lat position null, added handling of .paw-gps.json files - tested with master
2019-11-20 15:45:16 +01:00
xenDE
3351c251ef
fix gps timestamp parsing
...
problem on timestamp parsing if microseconds are more then 6 numbers.
will fix bug reported in this pr: https://github.com/evilsocket/pwnagotchi/pull/619
tested with testdata from https://github.com/xenDE/pwnagotchi-plugin-webgpsmap/tree/master/handshakes.gps-map-test
before:
[2019-11-19 00:37:51,946] [INFO] webgpsmap: scanning /root/handshakes.gps-map-test
[2019-11-19 00:37:52,022] [INFO] webgpsmap: Found 4 .(geo|gps).json files from 5 handshakes. Fetching positions ...
[2019-11-19 00:37:52,144] [ERROR] Lng is 0
[2019-11-19 00:37:52,241] [ERROR] Invalid isoformat string: '2019-11-14T12:30:41.097414739+01:00'
[2019-11-19 00:37:52,280] [ERROR] Lng is 0
[2019-11-19 00:37:52,329] [INFO] webgpsmap loaded 2 positions
after:
[2019-11-19 00:48:04,652] [INFO] webgpsmap: scanning /root/handshakes.gps-map-test
[2019-11-19 00:48:04,693] [INFO] webgpsmap: Found 5 .(geo|gps).json files from 6 handshakes. Fetching positions ...
[2019-11-19 00:48:04,760] [ERROR] Lng is 0
[2019-11-19 00:48:04,822] [ERROR] Lng is 0
[2019-11-19 00:48:04,850] [INFO] webgpsmap loaded 3 positions
2019-11-19 00:56:59 +01:00
Josh Bauer
59ae35372e
fixed check for nonzero lat/long
2019-11-14 21:15:12 -05:00
xenDE
1a1a70d6e8
added webgpsmap plugin
2019-11-10 19:34:49 +00:00