Time is a valuable thing in penetration testers life.So every pen-tester must know how to automate certain things that will allow him to have time for others most important.Updating the ExploitDB it is a necessary task so we will use a small bash script that will allow us to perform the update in Backtrack automatically.

ExploitDB-Update Code


The function of the above script is pretty simple.It will download the latest archive from the exploit-db website and it will extract it in the /pentest/exploits/exploitdb folder and then it will delete the archive file.

You can see the usage of the script in the screenshot below:

ExploitDB-Update in Action


This is a simple script that will allow you with one command to update your ExploitDB.