Scapy Installed, when i use it as module Its full of errors ???
- by Rami Jarrar
I installed scapy 2.xx (after get some missed modules to make it install),, then i'm trying to use it as module in my python programs,, but i cant it give me alot of errors, I download and installed some missed modules and finally i'm depressed, because this error, after hard work i got this
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from scapy.all import *
File "C:\Python26\scapy\all.py", line 43, in <module>
from crypto.cert import *
File "C:\Python26\scapy\crypto\cert.py", line 15, in <module>
from Crypto.PublicKey import *
File "C:\Python26\lib\Crypto\PublicKey\RSA.py", line 34, in <module>
from Crypto import Random
File "C:\Python26\lib\Crypto\Random\__init__.py", line 29, in <module>
import _UserFriendlyRNG
File "C:\Python26\lib\Crypto\Random\_UserFriendlyRNG.py", line 36, in <module>
from Crypto.Random.Fortuna import FortunaAccumulator
File "C:\Python26\lib\Crypto\Random\Fortuna\FortunaAccumulator.py", line 36, in <module>
import FortunaGenerator
File "C:\Python26\lib\Crypto\Random\Fortuna\FortunaGenerator.py", line 32, in <module>
from Crypto.Util import Counter
File "C:\Python26\lib\Crypto\Util\Counter.py", line 27, in <module>
import _counter
ImportError: No module named _counter
by do the following code:
from scapy.all import *
p=sr1(IP(dst=ip_dst)/ICMP())
if p:
p.show()
so what should i do,, is there a solution for this ???