Wow that is a nice script. It will be very useful. especially because it gives you a report after it is done updating. Good job. Thank you. :)
Printable View
Wow that is a nice script. It will be very useful. especially because it gives you a report after it is done updating. Good job. Thank you. :)
If you open the script in kate (or whatever you use) there is a variable called "netcheck" Change that to "no" and it wont do the internet check. Just make sure you are online or you will get a bunch of errors.
Which version are you using?
migrate to
verify the file named exploitdb is there. if not then look for a file called exploitdbbackupCode:cd /pentest/exploits/
and rename it to exploitdb.
If that doesnt work then
this will put it back.Code:- cd /pentest/exploits/
- svn co svn://devel.offensive-security.com/exploitdb
Thanks
Im glad you liked it. I made the firefox update optional as some might not like having repos added to the sources.list file. I thought about removing it after the update was done.
Thanks - Iḿ on R2
I couldn find a file called exploitdbbackup but I could see a folder - so I ren that but it still failed - I used svn cmd and that fixed it
One thing - Iḿ getting this error with Nessus now which I wasnT getting before
################################
[i] Updating Nessus...
################################
Could not verify the signature of all-2.0.tar.gz
./updatebt4.sh: line 594: [: ==: unary operator expected
Thanks for all you help and a nice script
I forgot Nessus is not installed by default on BT4. You need to set up Nessus before this part of the update will work. I should probably make it an optional update.
You can disable this update in the script if you want to learn shell scripting otherwise await an update.
One thing I added when playing around with it was
#__ If no choices are made _________________________________________________
if [ "$all" == "" ] && [ "$openvas" == "" ] && [ "$metasploit" == "" ] && [ "$aircrack" == "" ] && [ "$distup" == "" ] &&
[ "$SET" == "" ] && [ "$SQLMap" == "" ] && [ "$exploitdb" == "" ] && [ "$fasttrack" == "" ] && [ "$nikto" == "" ] && [ "
$nessus" == "" ] && [ "$w3af" == "" ] ; then ./btupdate.sh -h ; exit 1 ; fi
instead of echo "Please choose an option" it gives the user a quick list of options and makes a good reference for the commands without needing anything. You could just echo the options but no need to take up a bunch of space just a quick rerun and options list print out.
Just a personal preference I like to see the options if none are made I have a bad memory sometimes when it comes to command switches.
Great program! thanks for sharing.
You should throw this up on GitHub for the version control you're doing, plus allow others to submit modifications. Thoughts? Definitely going to start using this.
Late to the party, but have to say this is very cool...make everything easy.
I was writing on-off scripts for diff things, this is my new update tool!
Thanks for sharing!
Eric
Pretty cool script, looks like you put a lot of effort into it.
Here is a bug...
#####################
Internet access: Failed...
#####################
I'm pretty sure I'm on the internet right now!
uhh, what is wrong with
apt-get update
apt-get upgrade
am i missing something?
Cool script btw :D