Giter Club home page Giter Club logo

pcap-diff's People

Contributors

balle avatar egroeper avatar isginf avatar vladislavpershin avatar y-luis-rojo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pcap-diff's Issues

Ignoring Radiotap Headers/80211 frames

since Radiotap headers have time stamps and other dynamic information in them (channel freq., etc), it would be nice to be able to ignore them with ignore all layer below (i.e. the rest of the packet)

Errors upon usage

Currently getting the below errors when trying to use the program:

WARNING: No IPv4 address found on en5 !
WARNING: No IPv4 address found on ap1 !
WARNING: more No IPv4 address found on awdl0 !
ERROR: Loading module scapy.layers.bluetooth
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/main.py", line 163, in _load
    mod = importlib.import_module(module)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/layers/bluetooth.py", line 1366, in <module>
    class LowEnergyBeaconHelper:
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/layers/bluetooth.py", line 1377, in LowEnergyBeaconHelper
    base_eir = [EIR_Hdr() / EIR_Flags(flags=[
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/base_classes.py", line 389, in __call__
    i.__init__(*args, **kargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 171, in __init__
    self.fields[fname] = self.get_field(fname).any2i(self, value)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 336, in get_field
    print(fieldtype);
NameError: name 'fieldtype' is not defined
ERROR: Loading module scapy.layers.bluetooth4LE
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/main.py", line 163, in _load
    mod = importlib.import_module(module)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/layers/bluetooth4LE.py", line 23, in <module>
    from scapy.layers.bluetooth import EIR_Hdr, L2CAP_Hdr
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/layers/bluetooth.py", line 1366, in <module>
    class LowEnergyBeaconHelper:
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/layers/bluetooth.py", line 1377, in LowEnergyBeaconHelper
    base_eir = [EIR_Hdr() / EIR_Flags(flags=[
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/base_classes.py", line 389, in __call__
    i.__init__(*args, **kargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 171, in __init__
    self.fields[fname] = self.get_field(fname).any2i(self, value)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 336, in get_field
    print(fieldtype);
NameError: name 'fieldtype' is not defined
ERROR: Loading module scapy.layers.dot11
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/main.py", line 163, in _load
    mod = importlib.import_module(module)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/layers/dot11.py", line 1158, in <module>
    class Dot11EltRSN(Dot11Elt):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/layers/dot11.py", line 1211, in Dot11EltRSN
    RSNCipherSuite(cipher=0x6), RSNCipherSuite),
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/base_classes.py", line 389, in __call__
    i.__init__(*args, **kargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 171, in __init__
    self.fields[fname] = self.get_field(fname).any2i(self, value)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 336, in get_field
    print(fieldtype);
NameError: name 'fieldtype' is not defined
ERROR: Loading module scapy.layers.x509
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/main.py", line 163, in _load
    mod = importlib.import_module(module)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 855, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/layers/x509.py", line 238, in <module>
    X509_RDN(),
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/base_classes.py", line 389, in __call__
    i.__init__(*args, **kargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 149, in __init__
    self.init_fields()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 233, in init_fields
    self.do_init_cached_fields()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 262, in do_init_cached_fields
    self.prepare_cached_fields(self.fields_desc)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 305, in prepare_cached_fields
    tmp_copy = copy.deepcopy(f.default)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/copy.py", line 205, in _deepcopy_list
    append(deepcopy(a, memo))
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/copy.py", line 153, in deepcopy
    y = copier(memo)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 222, in __deepcopy__
    return self.copy()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 377, in copy
    clone.default_fields = self.copy_fields_dict(self.default_fields)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 616, in copy_fields_dict
    return {fname: self.copy_field_value(fname, fval)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 616, in <dictcomp>
    return {fname: self.copy_field_value(fname, fval)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 610, in copy_field_value
    return self.get_field(fieldname).do_copy(value)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scapy/packet.py", line 336, in get_field
    print(fieldtype);
NameError: name 'fieldtype' is not defined
Reading file singleinput.pcap:
Found 1 packets

Reading file singleoutput.pcap:
Found 1 packets

Diffing packets:

Found 0 different packets

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.