Solved!!
You have to install scapy using the following command:
# cd scapy-2.2.0
# chmod +x setup.py
# ./setup.py install --user
--user was missing!
Now it works pretty fine!
Hallo!
I am using the Live-Cd Backtrack 5 R2 Gnome. The installed version of scapy of this Live-CD is v2.0.1. In this version, I think there is a bug. When I am executing an ELF that uses scapy, it allways gives an error that tells me that tcpdump is not installed despite it is installed. I found out that the error comes from a wrong path definition in the file the linux.py.
But the ELF I want to execute needs scapy v2.2.0. Therefor I went to http://www.secdev.org/projects/scapy/, downloaded v2.2.0 and installed it:
# chmod +x scapy.py
# ./scapy install
But when I execute scapy, Backtrack tells me, that v2.0.1 is installed a not v2.2.0. I am not able to install v2.2.0.
Can anyone tell me how to install v2.2.0 correctly?
Thany you very much!
Regards
triplexxx
Solved!!
You have to install scapy using the following command:
# cd scapy-2.2.0
# chmod +x setup.py
# ./setup.py install --user
--user was missing!
Now it works pretty fine!
triplexxx,
The reason that this is happening is that both the scapy and the python-scapy is installed. the version of just scapy is 2.2.0-dev.
and just install scapyCode:apt-get purge python-scapy
this fixes my error.Code:apt-get install scapy
I do get this error:
WARNING: No route found for IPv6 destination :: (no default route?)
Welcome to Scapy (2.2.0-dev)
but the this can be suppress if you like by adding
before importing Scapy to suppress all messages below error messagesCode:import logging logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
Regards,
Leo
Trying use trace3d and get an error:
Can anyone help???Code:>>> res.trace3d() Traceback (most recent call last): File "<console>", line 1, in <module> File "/usr/lib/pymodules/python2.6/scapy/plist.py", line 72, in __getattr__ return getattr(self.res, attr) AttributeError: 'list' object has no attribute 'trace3d'