Description:
Command for moving in to the exploit-db Directory
cd /opt/exploit-db
Type the script in the below path
vim /usr/bin/edbupdate
Script
#!/bin/bashcd /opt/exploit-db/ #Changing the directory in to the exploit-db
wget http://www.exploit-db.com/archive.tar.bz2 #downloading the exploits from exploit-db
tar -xvfj http://www.exploit-db.com/archive.tar.bz2 #Extracting the exploits
rm -rf /opt/exploit-db/archive.tar.bz2 # removes the tar file(This is not necessary to have)
echo "Got Updated"
After saving this give execute permission
chmod a+x edbupdate
type edbupdate on terminal and hit return or else you can keep the follwing command in the start-up service where it automatically updates.
Tags: update-exploit , exploit , automatic , update , exploit-update , script ,
Disclaimer: We are a infosec video aggregator and this video is linked from an external website. The original author may be different from the user re-posting/linking it here. Please do not assume the authors to be same without verifying.
Great small script but very useful thanks for posting this video :)