Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors upon usage #11

Open
nicolasespinoza opened this issue Jul 15, 2021 · 0 comments
Open

Errors upon usage #11

nicolasespinoza opened this issue Jul 15, 2021 · 0 comments

Comments

@nicolasespinoza
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant