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


        essid, bssid = "", net_id

    it = iter(bssid)
    bssid = ":".join([a + b for a, b in zip(it, it)])

    info = {
        "essid": essid,
        "bssid": bssid
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

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: ysig/GraKeL
Commit Name: 2de36493060b88437042f77955c65f03cf2ed672
Time: 2018-10-04
Author: y.siglidis@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: jsalt18-sentence-repl/jiant
Commit Name: 05a5e9c7c71571a1396adacd305bb0415e9c4170
Time: 2018-07-04
Author: wang.alex.c@gmail.com
File Name: src/evaluate.py
Class Name:
Method Name: write_preds


Project Name: idaholab/raven
Commit Name: 817dab1773d0c2cbfbbea466e5967ffed5ba4d45
Time: 2018-01-24
Author: andrea.alfonsi@inl.gov
File Name: framework/CodeInterfaces/Generic/GenericCodeInterface.py
Class Name: GenericCode
Method Name: generateCommand