Saturday, August 15, 2009

Error while running wifizoo in ubuntu 9.04

when in play with wifizoo in my lab i'm get following error while start wifizoo
 
Traceback (most recent call last):
  File "wifizoo.py", line 6, in <module>
    from scapy import *
  File "/pentest/wireless/wifizoo/scapy.py", line 3114
    tr = map(lambda x: Gnuplot.Data(x,with="lines"), trt.values())

i'm on ubuntu 9.04 and install all pentest tool from offensive security archive. After randomly
try here and there i'm found this link . then just modify scapy file "with" with "with_"

        tr = map(lambda x: Gnuplot.Data(x,with="lines"), trt.values())
     ===>> tr = map(lambda x: Gnuplot.Data(x,with_="lines"), trt.values())
            g = Gnuplot.Gnuplot()
        world = Gnuplot.File(conf.gnuplot_world,with="lines")
        ===> world = Gnuplot.File(conf.gnuplot_world,with_="lines")
            g.plot(world,*tr)
            return g

it's a random try but fixed my problem.

hope helps or bring more error's :)

2 comments:

Luis said...

thanks!!

Idlemode said...

great fix thanks. i'm gonna update my wifizoo downloads in the ext cpl of days for people running ubuntu as i had the same problem. thanks!!

http://www.killthepage.com/wifizoo-2/