Installation von Scapy auf AndroidAndroid

Forum für diejenigen, die für Android programmieren
Anonymous
 Installation von Scapy auf Android

Post by Anonymous »

Ich habe eine Installation auf Android mit den folgenden Befehlen auf Android durchgeführt: < /p>

apt install python

pip install scapy
< /code>

Alles ist in Ordnung, aber wenn ich Scapy ausführe, habe ich diesen Fehler erhalten ----- Siehe Fehler < /p>

Dieser Fehler passiert mir nicht in Conda oder Kali, er scheint für Android ausschließlich zu sein. < /p>

ERROR: Loading module scapy.layers.netflow
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/scapy/main.py", line 143, in _load
mod = importlib.import_module(module)
File "/data/data/com.termux/files/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/scapy/layers/netflow.py", line 112, in
class NetflowRecordV5(Packet):
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/scapy/layers/netflow.py", line 127, in NetflowRecordV5
ByteEnumField("prot", IP_PROTOS["tcp"], IP_PROTOS),
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/scapy/dadict.py", line 49, in getitem
return getattr(self, attr)
AttributeError: 'DADict' object has no attribute 'tcp'
< /code>

Das Android -Gerät ist verwurzelt. Ich hoffe, jemand ist mit diesem Fehler vertraut und kann helfen. Danke

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post