ECToo / sipvicious

Automatically exported from code.google.com/p/sipvicious
0 stars 0 forks source link

svcrash crash... #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install scapy (stable & lastest revision
2. python svcrash.py --auto
3. get crash from the tool

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "svcrash.py", line 41, in ?
    from scapy.all import *
  File "/usr/lib/python2.4/site-packages/scapy/all.py", line 10, in ?
    from base_classes import *
  File "/usr/lib/python2.4/site-packages/scapy/base_classes.py", line 15, in ?
    import config
  File "/usr/lib/python2.4/site-packages/scapy/config.py", line 47
    self.args = args if args is not None else []
                      ^
SyntaxError: invalid syntax

What version of the product are you using? On what operating system?

sipvicious-0.2.6
debian 2.6.18-5-686 
debian 4.0

Please provide any additional information below.

Original issue reported on code.google.com by adriavi...@gmail.com on 1 Sep 2010 at 10:59

GoogleCodeExporter commented 9 years ago
Thanks for the report. The exception comes from scapy. It looks like you 
installed scapy on python 2.4 and the syntax doesn't match. I suggest upgrading 
Python to use/import scapy.

Else downgrade to scapy 1.x and see if that works better. 

Original comment by sandrogauc on 1 Sep 2010 at 11:07

GoogleCodeExporter commented 9 years ago
thanks Sandro, i saw it now, i installed python 2.5, but scapy is still going 
into 2.4 libs.

Will try to install scapy 1.x if i find it.

thanks

I'm right now under attack  :-D

Original comment by adriavi...@gmail.com on 1 Sep 2010 at 11:20

GoogleCodeExporter commented 9 years ago
you'll need to install scapy with its requirements. I think that there's a 
debian package for scapy in the official repository. You might want to make use 
of that. 

If need be, contact me on sandro@enablesecurity.com. 

Goodluck

Original comment by sandrogauc on 1 Sep 2010 at 11:25

GoogleCodeExporter commented 9 years ago
ok installed scapy from debian repo

root@aries:/usr/src/sipvicious# scapy.py 
INFO: did not find python gnuplot wrapper . Won't be able to plot
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump()
INFO: Can't find Crypto python lib. Won't be able to decrypt WEP
INFO: Can't open /etc/ethertypes file
Welcome to Scapy (1.0.4.1beta)

but svcrash seem to be running the old scapy libs

python svcrash.py --auto
Traceback (most recent call last):
  File "svcrash.py", line 41, in ?
    from scapy.all import *
  File "/usr/lib/python2.4/site-packages/scapy/all.py", line 10, in ?
    from base_classes import *
  File "/usr/lib/python2.4/site-packages/scapy/base_classes.py", line 15, in ?
    import config
  File "/usr/lib/python2.4/site-packages/scapy/config.py", line 47
    self.args = args if args is not None else []
                      ^
SyntaxError: invalid syntax

Original comment by adriavi...@gmail.com on 1 Sep 2010 at 11:37

GoogleCodeExporter commented 9 years ago
sorry, seems solved python2.5 was not fully installed.

Original comment by adriavi...@gmail.com on 1 Sep 2010 at 11:53

GoogleCodeExporter commented 9 years ago
do you know why scapy insist into be installed al 2.4 path and not at 2.5 ?

/usr/lib/python2.4/site-packages/scapy/

Thanks

Original comment by adriavi...@gmail.com on 1 Sep 2010 at 1:49

GoogleCodeExporter commented 9 years ago
please respond via email as this should be only used for bug report for 
SIPVicious

Original comment by sandrogauc on 1 Sep 2010 at 2:36

GoogleCodeExporter commented 9 years ago
sorry about posting something not directly related to sipcrash.

Original comment by adriavi...@gmail.com on 1 Sep 2010 at 3:49