Well, I spoke too soon. I was able to get the packages to install, but I can't run w3af, either w3af_console or w3af_gui. Here is the error output that I get when running w3af_console
Code: Select all
[root@openvas ~]# w3af_console
Traceback (most recent call last):
File "/usr/bin/w3af_console", line 91, in ?
errCode = main()
File "/usr/bin/w3af_console", line 67, in main
from core.ui.consoleUi.consoleUi import consoleUi
File "/usr/share/w3af/core/ui/consoleUi/consoleUi.py", line 28, in ?
from core.ui.consoleUi.rootMenu import *
File "/usr/share/w3af/core/ui/consoleUi/rootMenu.py", line 23, in ?
from core.ui.consoleUi.menu import *
File "/usr/share/w3af/core/ui/consoleUi/menu.py", line 25, in ?
import core.data.kb.knowledgeBase as kb
File "/usr/share/w3af/core/data/kb/knowledgeBase.py", line 54
with self._kb_lock:
^
SyntaxError: invalid syntax
When I run w3af_gui (via the Gnome-based desktop in CentOS 5.5) I also get a SyntaxError, but is flagged on "import dependencyCheck"
I believe the problem might be that w3af requires Python 2.5, and CentOS 5.5 comes with Python 2.4.3. Do you have this working on a CentOS 5.5 box? Do you have Python 2.5 installed on it?
If this is the case, I guess you would need to add a dependency check to the w3af rpm to check for Python 2.5. Also, maybe you could package 2.5 for the Atomic repository.
Thanks,
Brian