إعـــــــلان

تقليص
لا يوجد إعلان حتى الآن.

Security Lab tools on normal Fedora 13 installation

تقليص
X
 
  • تصفية - فلترة
  • الوقت
  • عرض
إلغاء تحديد الكل
مشاركات جديدة

  • [كود] Security Lab tools on normal Fedora 13 installation

    السلام عليكم ورحمة الله
    بما اني من مستخدمين فيدورا فكنت في مجتمع فيدورا اتصفح اخر التطورات بالصدفة وجدت هذا السكربت الرائع لتنصيب التلقائي
    ﻷدوات Security فأحببت ان اضعه هنا لعل البعض يستفيد منه
    بالتوفيق للجميع ان شاء الله
    كود:
    #!/bin/sh
    echo;
    echo;
    echo;
    echo "This script will install a lot of programs and is best done with a";
    echo "high speed connection ";
    sleep 1;
    echo;
    echo "It requires that Fedora Linux and Yum are already installed";
    sleep 3;
    echo;
    echo "To quit at any time, press the Ctrl-C key combination."
    sleep 3;
    clear;
    
    ### Install and setup Rkhunter.
    echo;
    echo;
    echo;
    echo "We'll begin by setting up Rkhunter and its database.";
    yum -y install rkhunter > /dev/null ; 
    rkhunter --propud > /dev/null; # This sets up the database for Rkhunter's baseline.
    clear;
    
    ### Install the programs from the Fedora Security lab (and a couple others).
    echo;
    echo;
    echo;
    echo "Now we'll install just about every program know to man."
    echo;
    echo "This is going to take a while, go fix a sandwich?"
    ### We'll break these up so they look better in gnome-terminal.
    yum -y install wget snort kismet aircrack foremost hunt john chrootkit clamav > /dev/null ; 
    yum -y install tripwire dsniff driftnet firewalk scapy tcpdump openvas nc ngrep tiger > /dev/null ;
    yum -y install etherape aircrack-ng wireshark ettercap-ng sectool realcrypt nmap amap > /dev/null;
    yum -y install samba samba-client curl tor privoxy cowpatty machanger mysql p0f > /dev/null;
    yum -y install hping3 ncrack scanssh xprobe2 pcapdiff tcpxtract nbtscan unhide > /dev/null;
    yum -y install socat  lynis testdisk scanmem examiner dd_rescue dc3dd chrootkit > /dev/null;
    yum -y install prelude hexedit splint flawfinder pcapy ophcrack qwt sleuthkit > /dev/null;
    yum -y install  argus > /dev/null; 
    clear;
    ### Let's install btscanner. 
    echo;
    echo;
    echo;
    echo "Now installing Btscanner, a bluetooth device scanner";
    echo
    echo "Wget insists on being talkative"; 
    echo
    echo "Again this will take a few minutes";
    cd /usr/local;
    wget [url]http://www.pentest.co.uk/src/btscanner-2.1.tar.bz2[/url] ;
    tar -jxvf btscanner-2.1.tar.bz2 > /dev/null;
    cd btscanner-2.1;
    yum -y install gcc  make bluez-* bluez libxml ncurses ncurses-devel libxml2-devel > /dev/null;
    ./configure > /dev/null;
    sed -i -e 's,-Wimplicit-function-dec,-Wimplicit-function-declaration,g' Makefile;
    make > /dev/null; 
    make install > /dev/null;
    clear;
    
    ### Here we'll install a couple perl and maybe bash scripts.
    echo;
    echo;
    echo;
    echo "Now creating a new directory on your computer at /usr/security/script";
    echo "to put some scripts into";
    mkdir /usr/security/;
    mkdir /usr/security/scripts;
    cd /usr/security/scripts;
    echo;
    clear;
    ### Install Wellenreiter, their homepage [url]http://wellenreiter.sourceforge.net/[/url]
    wget [url]http://prdownloads.sourceforge.net/wellenreiter/Wellenreiter-v1.9.tar.gz?download[/url] > /dev/null;
    ### This confused me, but Forkbomb (Tom) supplied the solution.
    checksum=$(md5sum /usr/local/src/Wellenreiter-v1.9.tar.gz | cut -d ' ' -f 1)
     md5sum="d8d3d10723f80c292e4dae4c14a2e4a7"
      if [ "$checksum" = "$md5sum" ]; then
       tar -xzvf /usr/local/src/Wellenreiter-v1.9.tar.gz > /dev/null ;
        else
         echo "The checksums are not correct, and we'll not install Wellenreiter right now."
           fi
           
    ### TODO: install things from sourceforge ie, Matahari, and others
    
    
    ### This installs Metasploit
    ARCH=`arch`
    if [ $ARCH == 'i686' ]; then
    -do
    wget [url]http://www.metasploit.com/releases/framework-3.4.0-linux-i686.run[/url] > /dev/null;
    fi
    
    if [ $ARCH == 'x86_64' ]; then
    -do
    wget [url]http://www.metasploit.com/releases/framework-3.4.0-linux-x86_64.run[/url] > /dev/null;
    
    
    fi
    
    
    ./framework* > /dev/null;
    rm -rf framework*;
    exit 0
يعمل...
X
😀
🥰
🤢
😎
😡
👍
👎