Although I have installed python2.6 separately on this box ...then what??
The error is ordinary :
sudo ./w3af_console -f
File "./w3af_console", line 108
rev = 0 if (a == 'HEAD') else -1
SyntaxError: invalid syntax
So , as next step I look into the script, which I should have done in first place and I couldn't.The problem lies in the first line of the script..as we all know that the shebang is the guide to system environment where the script are going to be interpreted.It was showing like this
Now I have corrected it ...as the software demands python2.6 ..so below..
Ordinary stuff right?? but tricky..might lead into long haul :)
Hope this will help.