What steps will reproduce the problem?
1. Run lazykali as root
2. Choose 4) Exploitdb
3. 1) Update Exploitdb
What is the expected output? What do you see instead?
I get the following error:
tar xvfj archive.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
What version of the product are you using? On what operating system?
Please provide any additional information below.
After a few tests i have made, i realized that the command:
wget http://www.exploit-db.com/archive.tar.bz2
is actually downloading the file:
exploit-database-master.zip
root@something /usr/share/exploitdb# ls -l
total 91392
-rw-r--r-- 1 root root 44524858 Feb 14 17:31 archive.tar.bz2
-rw-r--r-- 1 root root 44524858 Feb 14 17:48 exploit-database-master.zip
Thus, i run:
wget https://github.com/offensive-security/exploit-database/archive/master.zip
unzip -qq master.zip
rsync -a exploit-database-master/ /usr/share/exploitdb/
rm -rf master.zip exploit-database-master/
So modifying the function updateexploitdb as follows:
### Update Exploitdb
function updateexploitdb {
echo -e "\033[31mThis script will update your Exploitdb\033[m"
cd /usr/share/exploitdb
wget https://github.com/offensive-security/exploit-database/archive/master.zip
unzip -qq master.zip
rsync -a exploit-database-master/ /usr/share/exploitdb/
rm -rf master.zip exploit-database-master/
echo -e "\e[32m[-] Done Updating Exploitdb!\e[0m"
Works just fine.
Original issue reported on code.google.com by kladisst...@gmail.com on 14 Feb 2015 at 2:24
Original issue reported on code.google.com by
kladisst...@gmail.com
on 14 Feb 2015 at 2:24