Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
from scapy.all import * error
-
Hey everyone, I installed scapy with Stash/pip but cannot import it in my projects because of this bug, which is already resolved (seen in a github discussion), so I don’t know how to solve it if it would already be solved at this version of scapy (2.4.0):
>>> from scapy.all import * Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/mobile/Containers/Shared/AppGroup/D48F6FDD-3F34-40EB-9497-17B2560BB120/Pythonista3/Documents/site-packages-3/scapy/all.py", line 25, in <module> from scapy.route import * File "/private/var/mobile/Containers/Shared/AppGroup/D48F6FDD-3F34-40EB-9497-17B2560BB120/Pythonista3/Documents/site-packages-3/scapy/route.py", line 191, in <module> conf.route=Route() File "/private/var/mobile/Containers/Shared/AppGroup/D48F6FDD-3F34-40EB-9497-17B2560BB120/Pythonista3/Documents/site-packages-3/scapy/route.py", line 27, in __init__ self.resync() File "/private/var/mobile/Containers/Shared/AppGroup/D48F6FDD-3F34-40EB-9497-17B2560BB120/Pythonista3/Documents/site-packages-3/scapy/route.py", line 34, in resync from scapy.arch import read_routes ImportError: cannot import name 'read_routes'
Thanks in advance for help
-
Scapy requires npcap which I believe does not run on iOS due to Apple restrictions. If you want do packet analysis the only way that I know is covered here in this article:
link text