Hi Javier,
I followed your instructions :

- Type these cmds:
>        *) set DIR=C:\Program Files\w3af # or equivalent w3af install
> directory
>        *)
> PATH=%DIR%;%DIR%\GTK\GTK2-Runtime\bin;%DIR%\GTK\Graphviz\bin;%DIR%\Python26;%DIR%\w3af;%DIR%\Python26\DLLs;%PATH%


and then...

>>> import pygtk
>>> pygtk.require('2.0')
>>> import gtk, gobject
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"C:\Security\w3af\python26\lib\site-packages\gtk-2.0\gtk\__init__.py", li
ne 40, in <module>
    from gtk import _gtk
ImportError: DLL load failed: The specified procedure could not be found.
>>> assert gtk.gtk_version >= (2, 12)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'gtk' is not defined
>>> assert gtk.pygtk_version >= (2, 12)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'gtk' is not defined
>>>

Thanks,
/cs.

On Mon, Feb 28, 2011 at 3:32 PM, Javier Andalia <[email protected]> wrote:

> cs,
>
> please try this (basically what Andres told you before, but with some
> path changes):
>
> - Open a cmd.exe
> - Go to the directory where you installed w3af
> - Type these cmds:
>        *) set DIR=C:\Program Files\w3af # or equivalent w3af install
> directory
>        *)
>  
> PATH=%DIR%;%DIR%\GTK\GTK2-Runtime\bin;%DIR%\GTK\Graphviz\bin;%DIR%\Python26;%DIR%\w3af;%DIR%\Python26\DLLs;%PATH%
> - Then go to "python26"
> - Execute python
> - Inside the python console run these commands:
>                import pygtk
>               pygtk.require('2.0')
>               import gtk, gobject
>                assert gtk.gtk_version >= (2, 12)
>                assert gtk.pygtk_version >= (2, 12)
> - Send us the output
>
> Thanks!
>
> Javier
>
> On Sat, Feb 26, 2011 at 5:25 PM, Andres Riancho
> <[email protected]> wrote:
> > On Sat, Feb 26, 2011 at 5:18 PM, cs <[email protected]> wrote:
> >> Hi Andres,
> >> I had uninstalled another installation of Python before install the
> latest
> >> version of w3af..
> >>
> >> The output you requested:
> >>
> >> Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit
> (Intel)]
> >> on win32
> >> Type "help", "copyright", "credits" or "license" for more information.
> >>>>> import pygtk
> >>>>> pygtk.require('2.0')
> >>>>> import gtk, gobject
> >> Traceback (most recent call last):
> >>   File "<stdin>", line 1, in <module>
> >>   File
> >> "C:\Security\w3af\python26\lib\site-packages\gtk-2.0\gtk\__init__.py",
> li
> >> ne 30, in <module>
> >>     import gobject as _gobject
> >>   File
> >>
> "C:\Security\w3af\python26\lib\site-packages\gtk-2.0\gobject\__init__.py"
> >> , line 26, in <module>
> >>     from glib import spawn_async, idle_add, timeout_add,
> >> timeout_add_seconds, \
> >>   File
> >> "C:\Security\w3af\python26\lib\site-packages\gtk-2.0\glib\__init__.py",
> l
> >> ine 22, in <module>
> >>     from glib._glib import *
> >> ImportError: DLL load failed: The specified module could not be found.
> >>>>> assert gtk.gtk_version >= (2, 12)
> >> Traceback (most recent call last):
> >>   File "<stdin>", line 1, in <module>
> >> NameError: name 'gtk' is not defined
> >
> > @cs: Thanks for the information!
> > @Javier: Any ideas about what could be wrong?
> >
> > Regards,
> > --
> > Andrés Riancho
> > Director of Web Security at Rapid7 LLC
> > Founder at Bonsai Information Security
> > Project Leader at w3af
> >
> >
> ------------------------------------------------------------------------------
> > Free Software Download: Index, Search & Analyze Logs and other IT data in
> > Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> > generated by your applications, servers and devices whether physical,
> virtual
> > or in the cloud. Deliver compliance at lower cost and gain new business
> > insights. http://p.sf.net/sfu/splunk-dev2dev
> > _______________________________________________
> > W3af-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/w3af-users
> >
>
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
W3af-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/w3af-users

Reply via email to