wget http://pypi.python.org/packages/source/p/pybloomfiltermmap/pybloomfiltermmap-0.2.0.tar.gz --no-check-certificate
/usr/local/lib/python2.6/dist-packages/pybloomfiltermmap-0.2.0.egg-info
/var/lib/dpkg/info/w3af.postinst: 第 4 行: cd: pybloomfiltermmap-0.2.0: 没有那个文件或目录
/usr/local/pybloomfiltermmap-0.2.0.tar.gz
E: w3af: 子进程 已安装的 post-installation 脚本 返回了错误号 1
==========================================================================================
老版本的安装配置文件错误
用新立德安装一个w3af,出现错误忽略掉,继续安装。
将pybloomfiltermmap-0.2.0.tar.gz文件拖进BT图形桌面并解压缩。
所需文件地址:http://pan.baidu.com/s/1jG5SYDC
修改并保存/var/lib/dpkg/info/w3af.postinst文件:
==================================
#!/bin/bash
cd /tmp/
tar zxpf /usr/local/pybloomfiltermmap-0.2.0.tar.gz //将pybloomfiltermmap-0.2.0.tar.gz放到/usr/local目录下
cd /usr/local/lib/python2.6/dist-packages/ //将解压缩后的文件放到/usr/local/lib/python2.6/dist-packages目录下
python setup.py install
cd ..
rm -rf pybloomfiltermmap-0.2.0*
cd /pentest/web/
svn co https://svn.code.sf.net/p/w3af/code/trunk w3af //修改svn
===================================
修改保存完执行:apt-get upgrade //更新