90b0e10e81a5a0e03753715ec1034278bdd5f600,pwnagotchi/plugins/default/api.py,,parse_pcap,#Any#,86

Before Change



        for pkt in rdpcap(filename):
            info = parse_packet(pkt, info)
            if "essid" in info and info["essid"] is not None and "bssid" in info and info["bssid"] is not None:
                break

        bssid = info["bssid"] if "bssid" in info else None
        essid = info["essid"] if "essid" in info else None

    except Exception as e:

After Change



    if "_" in net_id:
        // /root/handshakes/ESSID_BSSID.pcap
        essid, bssid = net_id.split("_")
    else:
        // /root/handshakes/BSSID.pcap
        essid, bssid = "", net_id
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: evilsocket/pwnagotchi
Commit Name: 90b0e10e81a5a0e03753715ec1034278bdd5f600
Time: 2019-10-07
Author: evilsocket@gmail.com
File Name: pwnagotchi/plugins/default/api.py
Class Name:
Method Name: parse_pcap


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 654c42dd520376e389fbe32c12f880a7c333529d
Time: 2018-11-17
Author: eldraco@gmail.com
File Name: cursesProcess.py
Class Name: CursesProcess
Method Name: run


Project Name: tensorflow/datasets
Commit Name: 16a69e5630ff233b4d289c3f0dba58ca556b494f
Time: 2019-03-12
Author: sjana646@gmail.com
File Name: tensorflow_datasets/image/ham10000.py
Class Name: Ham10000
Method Name: _generate_examples