Errors were encountered while processing:
se-toolkit
w3af
E: Sub-process /usr/bin/dpkg returned an error code (1)
如上出现的错误,是由于网络设置的问题,
se-toolkit的解决方法:
首先 vi /var/lib/dpkg/info/se-toolkit.postinst
然后再最后一行添加以下一行:
git clone https://github.com/trustedsec/social-engineer-toolkit/ set/
最后执行dpkg --configure -a修复
以上方案来自http://www.backtrack.org.cn/thread-14039-1-1.html,亲测解决问题。
w3af的解决方案:
rm /var/lib/dpkg/info/w3af.postinst
rm -rf /pentest/web/w3af
apt-get dist-upgrade
update-grub (这一步需要吗?我是敲了,其实我不想敲他的!)
cd /pentest/web
svn co https://svn.code.sf.net/p/w3af/code/trunk w3af
以上方案参考自http://hi.baidu.com/sharpplus/item/3387181548044545f1090e86,亲测解决问题。