Page 1 of 6 123 ... LastLast
Results 1 to 10 of 53

Thread: update Metasploit Framework 2/3,Aircrack-ng,Kismet,Slaptget,Wlassistant

  1. #1
    Member
    Join Date
    Mar 2007
    Posts
    335

    Default update Metasploit Framework 2/3,Aircrack-ng,Kismet,Slaptget,Wlassistant

    Heres alittle update script for anyone who wants it. copy it to Kwrite and save it in your root directory as update. make it excutable
    chmod 755 update
    just type update to run.
    some was written by ReL1K.
    If anyone wants to add to it feel free to do so.

    Code:
    #!/bin/sh
    #
    #### Metasploit Framework 2/3,Aircrack-ng,Sqlite,Aircrack-ng -dev,Kismet,Slaptget,Wlassistant ####
    #
    option=13
    while [ $option -ne 0 ]
    do
    clear
    echo " 1. --> Update Metasploit Framework 3"
    echo " 2. --> Update Metasploit Framework 2"
    echo " 3. --> Update Aircrack-ng (0.9.1)"
    echo " 4. --> Update Kismet"
    echo " 5. --> Install Slaptget (0.9.12-i386-1)"
    echo " 6. --> Update Wireless Assistant (0.5.7)"
    echo " 7. --> Install Gpsd (2.34)"
    echo " 8. --> Install Sqlite (3.4.0) (Required, to allow use of Aircrack-ng dev)"
    echo " 9. --> Install Aircrack-ng dev"
    echo "10. --> Install Sqlite (3.4.0) and Aircrack-ng dev"
    echo "11. --> Update Airpwn (1.3)"
    echo "12. --> Update OpenSSL (0.9.8d) "
    echo " 0. --> Exit"
    read option
          case $option in
                     #### This part was written by ReL1K ####
                  1) echo "*** Updating Metasploit Framework 3 ***"
                     svn update /pentest/exploits/framework3/;;
                  2) echo "*** Updating Metasploit Framework 2 ***"
                     svn update /pentest/exploits/framework2/;;
           #### This part was me with help from PrairieFire & purehate ####
                  3) echo "UpDating Aircrack-ng..."
                     wget http://download.aircrack-ng.org/aircrack-ng-0.9.1.tar.gz
                     tar -xf aircrack-ng-0.9.1.tar.gz
                     cd aircrack-ng-0.9.1
                     make clean && make && make install
                     cd ..
                     rm -r aircrack-ng-0.9.1
                     rm -r aircrack-ng-0.9.1.tar.gz;;
                  4) echo "UpDating Kismet..."
                     svn co http://svn.kismetwireless.net/code/trunk kismet-devel
                     cd kismet-devel
                     ./configure --disable-setuid
                     make dep && make && make install
                     cd ..
                     rm -r kismet-2007-01-R1b.tar.gz
                     rm -r kismet-2007-01-R1b;;
                  5) echo "Installing Slaptget"
                     wget http://software.jaos.org/slackpacks/11.0/slapt-get-0.9.12-i386-1.tgz
                     installpkg slapt-get-0.9.12-i386-1.tgz
                     rm -r slapt-get-0.9.12-i386-1.tgz
                     echo "usage  slapt-get --update"
                     echo "slapt-get --upgrade";;
                  6) echo "UpDating Wireless Assistant"
                     wget http://downloads.sourceforge.net/wlassistant/wlassistant-0.5.7.tar.bz2
                     tar -xvjf wlassistant-0.5.7.tar.bz2
                     cd wlassistant-0.5.7
                     ./configure && make clean && make && make install
                     cd
                     rm -r wlassistant-0.5.7
                     rm -r wlassistant-0.5.7.tar.bz2;;
                  7) wget http://download.berlios.de/gpsd/gpsd-2.34.tar.gz
                     tar -xf gpsd-2.34.tar.gz
                     cd gpsd-2.34
                     ./configure && make clean && make && make install
                     cd
                     rm -r gpsd-2.34.tar.gz
                     rm -r gpsd-2.34;;
           #### This part was balding_parrot ####
                  8) echo "Installing Sqlite-3.4.0"
                     cd /usr/local/bin
                     ln -s tclsh8.4 tclsh
                     cd /root
                     curl -O http://www.sqlite.org/sqlite-3.4.0.tar.gz
                     tar xvzf sqlite-3.4.0.tar.gz
                     cd sqlite-3.4.0
                     ./configure --prefix=/usr/local
                     make && make install
                     cd ..
                     rm -r sqlite-3.4.0
                     rm -r sqlite-3.4.0.tar.gz;;
                  9) echo "Install Aircrack-ng dev"
                     svn co http://trac.aircrack-ng.org/svn/branch/1.0-dev aircrack-ng
                     cd aircrack-ng
                     make && make install
                     cd ..
                     rm -r aircrack-ng;;
                 10) echo "Installing Sqlite-3.4.0 and Aircrack-ng dev"
                     cd /usr/local/bin
                     ln -s tclsh8.4 tclsh
                     cd /root
                     curl -O http://www.sqlite.org/sqlite-3.4.0.tar.gz
                     tar xvzf sqlite-3.4.0.tar.gz
                     cd sqlite-3.4.0
                     ./configure --prefix=/usr/local
                     make && make install
                     cd ..
                     rm -r sqlite-3.4.0
                     rm -r sqlite-3.4.0.tar.gz
                     svn co http://trac.aircrack-ng.org/svn/branch/1.0-dev aircrack-ng
                     cd aircrack-ng
                     make && make install
                     cd
                     rm -r aircrack-ng;;
                     #### PrairieFire ####
                 11) echo "Updating Airpwn..."
                     wget http://kent.dl.sourceforge.net/sourceforge/airpwn/airpwn-1.3.tgz
                     gzip -d airpwn-1.3.tgz
                     tar -xvvf airpwn-1.3.tar
                     cd airpwn-1.3
                     gzip -d lorcon-current.tgz
                     tar -xvvf lorcon-current.tar
                     cd lorcon
                     ./configure  && make && make install
                     cd ..
                     ./configure && make
                     cd
                     rm -r airpwn-1.3.tar
                     rm -r airpwn-1.3;;
                12)  echo "Updating Openssl..."
                     curl -O http://openssl.org/source/openssl-0.9.8e.tar.gz
                     tar -xvzf openssl-0.9.8e.tar.gz
                     cd openssl-0.9.8e
                     ./configure && make && make test && make install
                     cd
                     rm -r openssl-0.9.8e.tar.gz
                     rm -r openssl-0.9.8e;;
                  0) echo "*** Exiting ***"
                      ;;
                  *) exit &;;
          esac
    done
    This second script is too big so it can only be downloaded. added: create modules for usb install and create modules for livecd. usb modules will be added to the modules folder, livecd modules will be copied to root. which then can be copied to the iso.
    http://www.4shared.com/file/20554996...6f/update.html
    copy to root
    chmod 755 update
    update

    still needs testing so dont expect it to work perfect the first time when im making it lol.

  2. #2
    Senior Member PrairieFire's Avatar
    Join Date
    Apr 2007
    Posts
    705

    Default

    Good work, The links are not completely shown if copy pasted without using CODE tags.
    http://download.aircrack-ng.org/airc...g-0.9.1.tar.gz
    Code:
    http://download.aircrack-ng.org/aircrack-ng-0.9.1.tar.gz
    also the white text parts need to be fixed:
    Code:
    cd kismet-2007-01-R1b
    ./configure --disable-setuid && make clean && make && make install
    
    wget http://downloads.sourceforge.net/wlassistant/wlassistant-0.5.7.tar.bz2
    tar -xvjf wlassistant-0.5.7.tar.bz2
    cd wlassistant-0.5.7
    Μολὼν λαβέ - Great spirits encounter heavy opposition from mediocre minds.

  3. #3
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    one thing about rel1ks update script is if you update kismet you must diable suid user at the make command so you must insert it in the script

  4. #4
    Member
    Join Date
    Mar 2007
    Posts
    335

    Default

    OMG! what a f_ucking noob move that was. i never even noticed when i posted it. my bad, first and last time that will happen lol i hope.
    PrairieFire i dont know what you mean about the white text. but i did fix the links, cheers for pointing that out to me.

    purehate i wasnt using Rel1ks script for that part, do you think i'll still need to do that. i dont wanna stick it in if its not needed. what do you think i should i do.

  5. #5
    Senior Member PrairieFire's Avatar
    Join Date
    Apr 2007
    Posts
    705

    Default

    Quote Originally Posted by Baxter View Post
    PrairieFire i dont know what you mean about the white text. but i did fix the links, cheers for pointing that out to me.
    If your using the black scheme here the portions should be lighter than the rest. I will change the color since bold does not show up well either.

    These are the types of scripts that would be great for updating a usb install then make a changes.lzm dir2lzm
    Μολὼν λαβέ - Great spirits encounter heavy opposition from mediocre minds.

  6. #6
    Member
    Join Date
    Mar 2007
    Posts
    335

    Default

    Good idea PrairieFire
    i wonder if something like this exists, i'll have a look after. it would be cool to have it search then download and create.a module script for aircrack could look like this
    Code:
    #!/bin/sh
    echo " Creating Airecrack-ng Module..."
    wget http://download.aircrack-ng.org/aircrack-ng-0.9.1.tar.gz
    tar -xf aircrack-ng-0.9.1.tar.gz
    cd aircrack-ng-0.9.1
    make && checkinstall -y
    /usr/bin/tgz2lzm aircrack-ng-0.9.1-i386-1.tgz aircrack-ng-0.9.1.lzm
    cp aircrack-ng-0.9.1.lzm /root
    cd
    rm -r aircrack-ng-0.9.1.tar.gz
    rm -r aircrack-ng-0.9.1
    echo "DONE"
    that would only download, create and copy the module to your root directory.
    cp aircrack-ng-0.9.1.lzm /root
    but you could have it copy to the correct place on your usb.

  7. #7
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    Quote Originally Posted by Baxter View Post
    OMG! what a f_ucking noob move that was. i never even noticed when i posted it. my bad, first and last time that will happen lol i hope.
    PrairieFire i dont know what you mean about the white text. but i did fix the links, cheers for pointing that out to me.

    purehate i wasnt using Rel1ks script for that part, do you think i'll still need to do that. i dont wanna stick it in if its not needed. what do you think i should i do.
    all I know is I updated kismet with the rel1k mail attack script and I ran into the suid user problem. I wasnt familier with kismet to much so prez helped me with the command. then I f#$ked it all up some how. so I deleted every thing and recompiled from the kismet site and YES for the newest version I had to diisable suid user. That is only if your running kismet from root. If you using another acount you simply insert the name into the suid user line of the kismet.conf file

  8. #8
    Member
    Join Date
    Mar 2007
    Posts
    335

    Default

    PrairieFire i already added --disable-setuid. i can see the rest of your post now lol. Thanks for the help and input from both of ya. if you guys have anything to add to it that you think might help others feel free.

  9. #9
    Senior Member PrairieFire's Avatar
    Join Date
    Apr 2007
    Posts
    705

    Default

    In reference to aircrack-ng-0.9.1.tar.gz is this the same exact revision as using
    svn co http://trac.aircrack-ng.org/svn/trunk/ aircrack-ng ?
    Add http://prdownload.berlios.de/gpsd/gpsd-2.34.tar.gz since some GPS recievers will not work correctly on the older versions but some do.
    Maybe make it optional to update some of these so you have a choice?
    Μολὼν λαβέ - Great spirits encounter heavy opposition from mediocre minds.

  10. #10
    Member
    Join Date
    Mar 2007
    Posts
    335

    Default

    Did you mean something like this. The only problem im having is option 1 wont loop back to the beginning of the script but the rest are ok.

    Code:
    #!/bin/sh
    #
    #### Metasploit Framework 2/3,Aircrack-ng,Kismet,Slaptget,Wlassistant ####
    #
    option=8
    while [ $option -ne 1 ]
    do
    clear
    echo " 1. --> Update Metasploit Framework 3"
    echo " 2. --> Update Metasploit Framework 2"
    echo " 3. --> Update Aircrack-ng"
    echo " 4. --> Update Kismet"
    echo " 5. --> Install Slaptget"
    echo " 6. --> Update Wireless Assistant"
    echo " 7. --> Install Gpsd-2.34"
    read option
          case $option in
                     #### This part was written by ReL1K ####
                  1) echo "*** Updating Metasploit Framework 3 ***"
                     svn update /pentest/exploits/framework3/;;
                  2) echo "*** Updating Metasploit Framework 2 ***"
                     svn update /pentest/exploits/framework2/;;
           #### This part was me with help from PrairieFire & purehate ####
                  3) echo "UpDating Aircrack-ng..."
                     wget http://download.aircrack-ng.org/aircrack-ng-0.9.1.tar.gz
                     tar -xf aircrack-ng-0.9.1.tar.gz
                     cd aircrack-ng-0.9.1
                     make clean && make && make install
                     cd ..
                     rm -r aircrack-ng-0.9.1
                     rm -r aircrack-ng-0.9.1.tar.gz;;
                  4) echo "UpDating Kismet..."
                     wget http://www.kismetwireless.net/code/kismet-2007-01-R1b.tar.gz
                     tar -xf kismet-2007-01-R1b.tar.gz
                     cd kismet-2007-01-R1b
                     ./configure --disable-setuid && make clean && make && make forceinstall
                     cd ..
                     rm -r kismet-2007-01-R1b.tar.gz
                     rm -r kismet-2007-01-R1b;;
                  5) echo "Installing Slaptget"
                     wget http://software.jaos.org/slackpacks/11.0/slapt-get-0.9.12-i386-1.tgz
                     installpkg slapt-get-0.9.12-i386-1.tgz
                     rm -r slapt-get-0.9.12-i386-1.tgz
                     echo "usage  slapt-get --update"
                     echo "slapt-get --upgrade";;
                  6) echo "UpDating Wireless Assistant"
                     wget http://downloads.sourceforge.net/wlassistant/wlassistant-0.5.7.tar.bz2
                     tar -xvjf wlassistant-0.5.7.tar.bz2
                     cd wlassistant-0.5.7
                     ./configure && make clean && make && make install
                     cd
                     rm -r wlassistant-0.5.7
                     rm -r wlassistant-0.5.7.tar.bz2;;
                  7) wget http://download.berlios.de/gpsd/gpsd-2.34.tar.gz
                     tar -xf gpsd-2.34.tar.gz
                     cd gpsd-2.34
                     ./configure && make clean && make && make install
                     cd
                     rm -r gpsd-2.34.tar.gz
                     rm -r gpsd-2.34;;
                  *) exit &;;
          esac
    done

Page 1 of 6 123 ... LastLast

Posting Permissions

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