Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 53

Thread: Update script for bt4 (update.sh)

  1. #21
    Junior Member wh1t3fang's Avatar
    Join Date
    Nov 2010
    Location
    from the internet
    Posts
    75

    Default Re: Update script for bt4 (update.sh)

    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.

  2. #22
    Senior Member
    Join Date
    May 2010
    Posts
    198

    Default Re: Update script for bt4 (update.sh)

    Quote Originally Posted by Obsidian View Post
    hey, don't know what i'm doing wrong here. it says i'm not connected to the internet but I know i am cuz i can do all the updates myself manually and they work fine. BT4 R2 Vmware running with the bridged mode and replicate physical network state checked.

    thx for your help,
    Obsidian
    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.

    Quote Originally Posted by mysecurity View Post
    I got this during the updating

    ################################
    [i] Updating Exploitdb...
    ################################
    svn: Can't make directory 'exploitdb': No such file or directory
    ./updatebt4.sh: line 433: cd: /pentest/exploits/exploitdb: No such file or directory
    svn: '.' is not a working copy
    cp: missing destination file operand after `/pentest/exploits/exploitdb'
    Try `cp --help' for more information.
    Which version are you using?
    migrate to
    Code:
    cd /pentest/exploits/
    verify the file named exploitdb is there. if not then look for a file called exploitdbbackup
    and rename it to exploitdb.

    If that doesnt work then
    Code:
    - cd /pentest/exploits/
    - svn co svn://devel.offensive-security.com/exploitdb
    this will put it back.

    Quote Originally Posted by dex1218 View Post
    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.
    Thanks

    Quote Originally Posted by killab View Post
    The updated script you posted is working good. It successfully updated everything. I saw some more features though like it updating the OpenVPN's plugins, and the firefox option is awesome. Everytime a new update comes out for this script I end up memorizing the pastebin url because I end up giving it out so much. Anyway very handy, cant wait to see what additional options are in the next version.

    Keep up the good work!
    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.
    Last edited by Scamentology; 11-28-2010 at 04:30 AM.
    "Never do anything against conscience -- even if the state demands it."
    -- Albert Einstein

  3. #23
    Just burned his ISO
    Join Date
    Aug 2010
    Posts
    10

    Default Re: Update script for bt4 (update.sh)

    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

  4. #24
    Senior Member
    Join Date
    May 2010
    Posts
    198

    Default Re: Update script for bt4 (update.sh)

    Quote Originally Posted by mysecurity View Post
    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.
    "Never do anything against conscience -- even if the state demands it."
    -- Albert Einstein

  5. #25
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    4

    Default Re: Update script for bt4 (update.sh)

    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.

  6. #26
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    1

    Default Re: Update script for bt4 (update.sh)

    Great program! thanks for sharing.

  7. #27
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    1

    Default Re: Update script for bt4 (update.sh)

    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.

  8. #28
    Senior Member
    Join Date
    Dec 2010
    Posts
    127

    Default Re: Update script for bt4 (update.sh)

    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

  9. #29
    Just burned his ISO t4tm0h's Avatar
    Join Date
    Sep 2010
    Location
    Wudangshan
    Posts
    13

    Default Re: Update script for bt4 (update.sh)

    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!

  10. #30
    Just burned his ISO
    Join Date
    Jan 2011
    Posts
    20

    Default Re: Update script for bt4 (update.sh)

    uhh, what is wrong with

    apt-get update

    apt-get upgrade


    am i missing something?

    Cool script btw

Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. simple update script for key pentest tools
    By brtw2003 in forum Experts Forum
    Replies: 3
    Last Post: 09-04-2010, 10:17 PM
  2. Update Script
    By alienstargate in forum OLD BackTrack 3 Final
    Replies: 0
    Last Post: 02-25-2010, 03:12 PM
  3. update-milw0rm script menu-item
    By Archangel-Amael in forum OLD BackTrack 4 Bugs and Fixes
    Replies: 4
    Last Post: 07-07-2009, 06:14 PM
  4. updated update script
    By bofh28 in forum OLD BT3beta General
    Replies: 16
    Last Post: 02-29-2008, 06:38 AM
  5. Update all script BT2
    By alienstargate in forum OLD BackTrack v2.0 Final
    Replies: 2
    Last Post: 02-13-2008, 12:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •