scorp fix

This commit is contained in:
dadav 2020-04-18 09:50:40 +02:00
parent 6038f555fa
commit 44e1e79245

View File

@ -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()