Closed moses3001 closed 9 years ago
Installing those libs doesn't do the trick?
Exact same issue here. I think the problem is with pybloomfilter package. Tired installing pybloomfiltermmap with:
sudo pip install pybloomfiltermmap=0.3.11
and got this:
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-1.4.1-py2.7.egg/pip/basecommand.py", line 134, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-1.4.1-py2.7.egg/pip/commands/install.py", line 215, in run
InstallRequirement.from_line(name, None))
File "/Library/Python/2.7/site-packages/pip-1.4.1-py2.7.egg/pip/req.py", line 129, in from_line
return cls(req, comes_from, url=url, prereleases=prereleases)
File "/Library/Python/2.7/site-packages/pip-1.4.1-py2.7.egg/pip/req.py", line 44, in __init__
req = pkg_resources.Requirement.parse(req)
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 2786, in parse
reqs = list(parse_requirements(s))
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 2714, in parse_requirements
"version spec")
File "/Library/Python/2.7/site-packages/pkg_resources.py", line 2679, in scan_list
raise ValueError(msg, line, "at", line[p:])
ValueError: ('Expected version spec in', 'pybloomfiltermmap=0.3.11', 'at', '=0.3.11')
Storing complete log in /Users/arbi/Library/Logs/pip.log
I'm running Yosemite 10.10.
Output from pip freeze
and python --version
:
GitPython==0.3.2.RC1
Jinja2==2.7.1
M2Crypto==0.21.1
MarkupSafe==0.18
PyGithub==1.21.0
PyYAML==3.11
Twisted==13.2.0
altgraph==0.10.2
async==0.6.2
bdist-mpkg==0.5.0
bonjour-py==0.3
chardet==2.1.1
clamd==1.0.1
cluster==1.1.1b3
darts.util.lru==0.5
esmre==0.3.1
futures==2.1.5
gitdb==0.5.4
guess-language==0.2
halberd==0.2.4
macholib==1.5.1
matplotlib==1.3.1
modulegraph==0.10.4
msgpack-python==0.2.4
mysql-utilities==1.4.4
nltk==2.0.4
numpy==1.8.0rc1
paramiko==1.11.0
pdfminer==20110515
phply==0.9.1
py2app==0.7.3
pyOpenSSL==0.13.1
pybloomfilter==1.0
pybloomfiltermmap==0.3.11
pycrypto==2.6
pyobjc-core==2.5.1
pyobjc-framework-Accounts==2.5.1
pyobjc-framework-AddressBook==2.5.1
pyobjc-framework-AppleScriptKit==2.5.1
pyobjc-framework-AppleScriptObjC==2.5.1
pyobjc-framework-Automator==2.5.1
pyobjc-framework-CFNetwork==2.5.1
pyobjc-framework-Cocoa==2.5.1
pyobjc-framework-Collaboration==2.5.1
pyobjc-framework-CoreData==2.5.1
pyobjc-framework-CoreLocation==2.5.1
pyobjc-framework-CoreText==2.5.1
pyobjc-framework-DictionaryServices==2.5.1
pyobjc-framework-EventKit==2.5.1
pyobjc-framework-ExceptionHandling==2.5.1
pyobjc-framework-FSEvents==2.5.1
pyobjc-framework-InputMethodKit==2.5.1
pyobjc-framework-InstallerPlugins==2.5.1
pyobjc-framework-InstantMessage==2.5.1
pyobjc-framework-LatentSemanticMapping==2.5.1
pyobjc-framework-LaunchServices==2.5.1
pyobjc-framework-Message==2.5.1
pyobjc-framework-OpenDirectory==2.5.1
pyobjc-framework-PreferencePanes==2.5.1
pyobjc-framework-PubSub==2.5.1
pyobjc-framework-QTKit==2.5.1
pyobjc-framework-Quartz==2.5.1
pyobjc-framework-ScreenSaver==2.5.1
pyobjc-framework-ScriptingBridge==2.5.1
pyobjc-framework-SearchKit==2.5.1
pyobjc-framework-ServiceManagement==2.5.1
pyobjc-framework-Social==2.5.1
pyobjc-framework-SyncServices==2.5.1
pyobjc-framework-SystemConfiguration==2.5.1
pyobjc-framework-WebKit==2.5.1
pyparsing==2.0.1
python-dateutil==1.5
python-ntlm==1.0.1
pytz==2013.7
pyzmq==13.1.0
salt==0.16.3
scapy-real==2.2.0-dev
scipy==0.13.0b1
six==1.8.0
smmap==0.8.2
wsgiref==0.1.2
xattr==0.6.4
zope.interface==4.1.
Python 2.7.8
You've got a typo, it's not sudo pip install pybloomfiltermmap=0.3.11
it should be sudo pip install pybloomfiltermmap==0.3.11
Oops. Thanks.
It's strange because it says I have already installed what w3af_gui
says is missing.
sudo pip install pybloomfiltermmap==0.3.1
Tells me I already have it.
Requirement already satisfied (use --upgrade to upgrade): darts.util.lru==0.5 in /Library/Python/2.7/site-packages
Cleaning up...
When I try to run w3af_gui
:
Your python installation needs the following modules to run w3af:
pybloomfilter darts.lib.utils
After installing any missing operating system packages, use pip to install the remaining modules:
sudo pip install pybloomfiltermmap==0.3.11 darts.util.lru==0.5
A script with these commands has been created for you at /var/folders/qc/j5t_1f3x4lv_kt90y_j7vd4h0000gn/T/w3af_dependency_install.sh
** (process:2941): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:2941): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
** (process:2941): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
According to pip freeze
I have both packages (right versions) installed. Not sure what I'm missing here.
@vinnytroia any ideas?
This is tough. I'm actually not sure on 10.9.5. I can tell you that I was able to get this working in 10.10. I will be posting the instructions very soon. I tried it on 3 separate machines to be sure. To get PyBloomFilter working, I had to install it after the rest of the dependencies. Like this:
sudo pip install clamd==1.0.1 PyGithub==1.21.0 GitPython==0.3.2.RC1 nltk==2.0.4 chardet==2.1.1 pdfminer==20110515 futures==2.1.5 pyOpenSSL==0.13.1 lxml==2.3.2 scapy-real==2.2.0-dev guess-language==0.2 cluster==1.1.1b3 msgpack-python==0.2.4 python-ntlm==1.0.1 halberd==0.2.4 darts.util.lru==0.5 xdot==0.6
sudo pip install pybloomfiltermmap==0.3.11
As it happens, I'm also on 10.10.
No Luck. After uninstalling all the required dependencies and reinstalling them again—with pybloomfiltermmap
being the last one—it still didn't work. There are lots of warnings while installing pybloomfiltermmap
, but it gets installed.
Since you got it working, I'll wait for your instructions.
One more thing I forgot to mention. I have installed xQuartz. But I don't think that's the problem.
Same as @arzoum here
Hi guys -- I just finished the blog post. Check it out here: https://www.nightlionsecurity.com/blog/guides/2014/11/osx-yosemite-setup-guide-metasploit-armitage-w3af/
@vinnytroia blog seems to be down? Do you think you could update w3af's docs at https://github.com/andresriancho/w3af/blob/master/doc/sphinx/install.rst ?
Strange. Not sure why you weren't able to get the link but it's definitely online. I will update the docs soon.
after I run ./w3af_console
Your python installation needs the following modules to run w3af: pybloomfilter darts.lib.utils
After installing any missing operating system packages, use pip to install the remaining modules: sudo pip install pybloomfiltermmap==0.3.11 darts.util.lru==0.5