Maybe an errormessage or log would help.
i am unable to import scapy module into python interpreter env in backtrack i just install scapy 2.X on BT3 but it just dosent happen every thing work well on my ubuntu box any suggestion???
Code:bt ~ # python Python 2.5.1 (r251:54863, May 4 2007, 16:52:23) [GCC 4.1.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import scapy >>> from scapy import * >>> lsc() Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'lsc' is not defined >>> ARP().show() Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'ARP' is not defined >>>
Did you check the dependencies for scapy?
I am not that good in python but it looks to me that some other libraries or alike are missing.
Did a quick google search and came up with this. Maybe it helps.
Tiocfaidh ár lá
scapy in general launches properly functions properly when invoked in the terminal
but its just that in backtrack 3 python interpreter environment is unable to import scapy as a module i guess the module is not being recognised by python.Code:bt scapy-126.96.36.199 # scapy.py /usr/local/sbin/scapy.py:3200: Warning: 'with' will become a reserved keyword in Python 2.6 /usr/local/sbin/scapy.py:3202: Warning: 'with' will become a reserved keyword in Python 2.6 Welcome to Scapy (188.8.131.52) >>> ls()
i wrote a small tool in python which is functioning properly in Ubuntu but it just dosent seem to be functioning in backtrack when run under backtrack it returns a error saying the function "sendp" is not recognized
Copy scapy.py to /usr/lib/python2.5/site-packages
You might want to check your environment variables. You could also throw scapy.py in the same directory as whatever executable you are trying to run.
dd if=/dev/swc666 of=/dev/wyze
Thanks alot for all the help got it fixed atlast just downloaded a latest copy of scapy install it in root directory and then copied the folder scapy-184.108.40.206 and replaced the folder scapy in "/usr/lib/python-2.5/site-packages"