Info BackTrack

Linux & Security Tutorial

w3af dan Se-Toolkit Error di BackTrack 5


Dua hari lalu saya iseng nge-upgrade backtrack,dan pas installasi upgrade selesai terlihat ada yang tidak beres pada aplikasi w3af dan Se-Toolkit. Tampilannya kira-kira seperti dibawah ini :


Setting up se-toolkit (4.2.1-bt0) …
svn: OPTIONS of ‘http://svn.trustedsec.com/social_engineering_toolkit’: could not connect to server (http://svn.trustedsec.com)
dpkg: error processing se-toolkit (–configure):
subprocess installed post-installation script returned error exit status 1
Setting up w3af (1.2-bt2) …
tar: pybloomfiltermmap-0.2.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
/var/lib/dpkg/info/w3af.postinst: line 4: cd: pybloomfiltermmap-0.2.0: No such file or directory
python: can’t open file ‘setup.py’: [Errno 2] No such file or directory
svn: Repository moved permanently to ‘https://svn.code.sf.net/p/w3af/code/trunk’; please relocate
dpkg: error processing w3af (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
se-toolkit
w3af
E: Sub-process /usr/bin/dpkg returned an error code (1)

Saya nge-googling siang dan malam (lebay mode), tapi tak kunjung menemukan penyelesaian baik itu diforum besar,maupun forum yang mini. Akhirnya saya dapat penyelesaian karena stress. Untuk Fixnya saya menggunakan perubahan script pada /var/lib/dpkg/info/ dibagian aplikasi yang error

Untuk W3AF saya edit bagian ini :

/var/lib/dpkg/info/w3af.postinst

Lalu saya ganti semua scriptnya menjadi

#!/bin/bash
cd /tmp/
wget http://pypi.python.org/packages/source/p/pybloomfiltermmap/pybloomfiltermmap-0.2.0.tar.gz –no-check-certificate
tar zxpf pybloomfiltermmap-0.2.0.tar.gz
cd pybloomfiltermmap-0.2.0
python setup.py install
cd ..
rm -rf pybloomfiltermmap-0.2.0*
cd /pentest/web/
svn co https://svn.code.sf.net/p/w3af/code/ w3af

Untuk Se-Toolkit, saya edit bagian yang ini :

var/lib/dpkg/info/se-toolkit.postinst

Lalu saya ganti menjadi seperti ini :

#!/bin/bash
rm -rf /pentest/exploits/set/ 2> /dev/null
cd /pentest/exploits/
svn co https://github.com/trustedsec/social-engineer-toolkit/ set/

Setalah fix script selesai mari kita intall lagi aplikasi-aplikasi yang diatas.

–done

greatz : Mama , Papa , dan Arina Aurora L Tobing

create by Lindo.

2 responses to “w3af dan Se-Toolkit Error di BackTrack 5

  1. ian March 15, 2014 at 8:43 pm

    cara installnya gi mana gan

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: