From 44e1e792455ed5dac517b4d876c762d071b3313d Mon Sep 17 00:00:00 2001 From: dadav <33197631+dadav@users.noreply.github.com> Date: Sat, 18 Apr 2020 09:50:40 +0200 Subject: [PATCH] scorp fix --- pwnagotchi/plugins/default/webgpsmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/webgpsmap.py b/pwnagotchi/plugins/default/webgpsmap.py index be53619..413f19a 100644 --- a/pwnagotchi/plugins/default/webgpsmap.py +++ b/pwnagotchi/plugins/default/webgpsmap.py @@ -230,7 +230,7 @@ class Webgpsmap(plugins.Plugin): } # get ap password if exist - check_for = os.path.basename(pos_file[:-9]) + ".pcap.cracked" + check_for = os.path.basename(pos_file).split(".")[0] + ".pcap.cracked" if check_for in all_files: gps_data[ssid + "_" + mac]["pass"] = pos.password()