#!/bin/sh # script config Infondlinux # distributed under New BSD Licence # created by t0ka7a # version 0.5 # 2011-04-10 # this script provides a post-installation on Ubuntu # careful: the script closes current firefox instances. # debian packages # - imagemagick # - vim # - less # - gimp # - build-essential # - wipe # - xchat # - pidgin # - vlc # - nautilus-open-terminal # - nmap # - zenmap # - sun-java6-plugin et jre et jdk # - bluefish # - flash-plugin-nonfree # - aircrack-ng # - wireshark # - ruby # - ascii # - webhttrack # - socat # - nasm # - w3af # - subversion # - wireshark # - mercurial # - libopenssl-ruby # - ruby-gnome2 # - traceroute # - filezilla # - gnupg # - rubygems # - php5 # - libapache2-mod-php5 # - mysql-server # - php5-mysql # - phpmyadmin # - extract # - p0f # - spikeproxy # - ettercap # - dsniff : # * arpspoof - Send out unrequested (and possibly forged) arp replies. # * dnsspoof - forge replies to arbitrary DNS address / pointer queries on the Local Area Network. # * dsniff - password sniffer for several protocols. # * filesnarf - saves selected files sniffed from NFS traffic. # * macof - flood the local network with random MAC addresses. # * mailsnarf - sniffs mail on the LAN and stores it in mbox format. # * msgsnarf - record selected messages from different Instant Messengers. # * sshmitm - SSH monkey-in-the-middle. proxies and sniffs SSH traffic. # * sshow - SSH traffic analyser. # * tcpkill - kills specified in-progress TCP connections. # * tcpnice - slow down specified TCP connections via “active” traffic shaping. # * urlsnarf - output selected URLs sniffed from HTTP traffic in CLF. # * webmitm - HTTP / HTTPS monkey-in-the-middle. transparently proxies. # * webspy - sends URLs sniffed from a client to your local browser # - unrar # - torsocks # - secure-delete # - nautilus-gksu # - sqlmap # - john the ripper # third party packages # - tor # - tor-geoipdb # - virtualbox 4.0 # - google-chrome-stable # manually downloaded softwares and version # - DirBuster (1.0RC1) # - truecrypt (7.0a) # - metasploit framework (3.6) # - webscarab (latest) # - burp suite (1.3.03) # - parosproxy (3.2.13) # - jmeter (2.4) # - rips (0.35) # - origami-pdf (latest) # - pdfid.py (0.0.11) # - pdf-parser.pym (0.3.7) # - fierce (latest) # - wifite (latest) # - pyloris (3.2) # - skipfish (1.86 beta) # - hydra (6.2) # - Maltego (3.0) # - set # - volatilty (1.3 beta) # home made scripts # - hextoasm # - md5crack.py (written by Corbiero) # - chartoascii.py # - asciitochar.py # - rsa.py # firefox extensions # - livehttpheaders # - firebug # - tamperdata # - noscript # - flashblock # - flashgot # - foxyproxy # - certificatepatrol # - chickenfoot 1.0.7 ###################################################### # trick to know: to share the current directory: # $ sudo python -m SimpleHTTPServer 8080 ###################################################### ##################################### # define extension directory for mozilla firefox ##################################### mozillaApplicationId="$(ls /usr/share/mozilla/extensions)" extensionDir="/usr/share/mozilla/extensions/$mozillaApplicationId" ##################################### # function log() ##################################### # write in /usr/share/Infond/log/install.log # @param1: type '+' or 'E' or 'I' # @param2: 'message' log() ( echo $1": $(date +%D' '%R':'%S) "$2 >> /usr/share/Infond/log/install.log echo $1": $(date +%D' '%R':'%S) "$2 > /dev/stdout ) ########################### # function addBinEntry() ########################### # adds a file .sh with the command line in the application directory # adds a symbolic link in /usr/bin # param1: name of the application # param2: command line # param3: term (default=NULL). To start the application in a new term # ex: addBinEntry dirbuster "java -jar /usr/share/Infond/bin/DirBuster-1.0-RC1/DirBuster-1.0-RC1.jar" term # creates a file dirbuster.sh in /usr/share/Infond/bin addBinEntry() ( # exit if file already in /usr/bin if [ -z $(ls /usr/share/Infond/bin | grep $1.sh ) ]; then echo "#!/bin/sh" > /usr/share/Infond/bin/$1.sh echo "" >> /usr/share/Infond/bin/$1.sh echo "# $1.sh" >> /usr/share/Infond/bin/$1.sh echo "# generated by Infond post installation Infond" >> /usr/share/Infond/bin/$1.sh echo "# launcher to start $1 in a terminal" >> /usr/share/Infond/bin/$1.sh echo "# a symbolic link was created in /usr/bin" >> /usr/share/Infond/bin/$1.sh # run application from terminal if $4 set to 'term' if ( [ ! -z $3 ] && [ $3 = 'term' ] ); then echo "gnome-terminal --title=$1 --working-directory=\"/tmp\" --command=\"$2\"" >> /usr/share/Infond/bin/$1.sh else echo "$2" >> /usr/share/Infond/bin/$1.sh fi # log log "+" "$1.sh created in /usr/share/Infond/bin/." # make $1.sh executable chmod +x /usr/share/Infond/bin/$1.sh log "+" "$1.sh chmod +x" else log "I" "$1 already in /usr/share/Infond/bin. Not added." fi # create symbolic link in /usr/bin if [ -z $(ls /usr/bin | grep $1 ) ]; then ln -s /usr/share/Infond/bin/$1.sh /usr/bin/$1 log "+" "symbolic link to $1.sh created in /usr/bin/." else log "I" "$1 already in /usr/bin. Not added." && return 1 fi ) ##################################### # function aptremove() ##################################### # remove package using apt aptremove() ( # if package not installed [ -z "$(dpkg --list $1 | grep ii)" ] && log "I" "$1 not installed. can't be removed" && return 1 # remove package apt-get --auto-remove -y --allow-unauthenticated remove $1 # if package well removed [ -z "$(dpkg --list $1 | grep ii)" ] && log "+" "$1 removed" ) ##################################### # function aptinstall() ##################################### # install package using apt aptinstall() ( # if package already installed [ ! -z "$(dpkg --list $1 | grep ii)" ] && log "I" "$1 already installed. can't be installed" && return 1 # install package apt-get --auto-remove -y --allow-unauthenticated install $1 # if package well installed [ ! -z "$(dpkg --list $1 | grep ii)" ] && log "+" "$1 installed" ) ################################# # function firefoxadd() ################################# # download firefox extension .xpi into ~/.mozilla/firefox/*.default/extensions/ # it is possible to install extension into /usr/lib/firefox-addons/extensions # firefox will install it at next start # @param1: name of the extension # @param2: number of extension on addons.mozilla.org firefoxadd() ( if [ -z "$(ls -R $extensionDir | grep $1)" ]; then # download wget https://addons.mozilla.org/en-US/firefox/downloads/latest/$2/addon-$2-latest.xpi -nc -P $extensionDir # log log "+" "$1 firefox extension installed." else log "I" "$1 firefox extension already installed. .xpi not downloaded." fi ) ########################### # function downloadicon() ########################### # download picture and create icon # @param1: name for the icon # @param2: downloading address # ex: downloadicon msf http://metasploit.com/icon.jpg downloadicon() ( if [ -z "$(ls /usr/share/Infond/pictures | grep $1.png )" ]; then wget $2 -P /tmp convert -size 48x48 /tmp/$(echo $2|awk -F/ '{print $NF}') -resize 48x48 -extent 48x48 +profile '*' /usr/share/Infond/pictures/$1.png log "+" "$1 icon downloaded" rm /tmp/$(echo $2|awk -F/ '{print $NF}') else log "I" "$1 icon already exists. Not downloaded." fi ) ########################### # function addmenu() ########################### # add an entry to gnome menu # @param1: name # @param2: comment # @param3: command line # @param4: terminal (true or false) # @param5: categorie addmenu() ( if [ -z "$(ls /usr/share/applications | grep $1.desktop)" ];then echo " [Desktop Entry] Type=Application Encoding=UTF-8 Name=$1 Comment=$2 Icon=/usr/share/Infond/pictures/$1.png Exec=$3 Terminal=$4 Categories=$5 " > /usr/share/applications/$1.desktop log "+" "$1.desktop created" else log "I" "$1.desktop already exists. Not updated." fi ) ########################### # function addcategory() ########################### # add a category to .desktop file # @param1: name # @param2: category addcategory() ( if [ -z "$(cat /usr/share/applications/$1.desktop | grep Categories | grep $2)"]; then # replace all Categories entries by $2. Ex: Categories=Network;GTK => Categories=Transport; sed -i "s/Categories.*/Categories=$2;/" /usr/share/applications/$1.desktop # add $2 to Categories entries. Ex: Categories=Network;GTK => Categories=Network;GTK;Transport; #[ -z $(cat /usr/share/applications/$1.desktop | grep $2) ] && sed -i "/Categories/s|$|;$2;|" /usr/share/applications/$1.desktop log "+" "$2 put in Categories in $1.desktop" else log "I" "$2 already in Categories in $1.desktop" fi ) ########################### # function adddirectory() ########################### # add a directory entry in /usr/share/desktop-directories # this directory entry will be used in /etc/xdg/menus/applications.menu # it needs an icon. You can use downloadicon function # @param: name for the directory entry adddirectory() ( if [ -z "$(ls /usr/share/desktop-directories | grep $1.directory)" ]; then echo "[Desktop Entry] Name=$1 Comment=$1 tools Icon=/usr/share/Infond/pictures/$1.png Type=Directory Categories=$1 " > /usr/share/desktop-directories/$1.directory log "+" "$1.directory written" else log "I" "$1.directory already exists. Not updated." fi ) ##################################### # installation start ##################################### # test sudo [ $(id -u) -ne "0" ] && echo "You must be sudo to use this script." && exit 1 # mode verbose #set -v 1>/dev/null 2>/dev/null # catch CTRL-C trap "echo ''; echo CTR-C was pressed. Exit; log 'E' 'CTRL-C pressed.; exit 1" 2 # create install directory if [ -z "$(ls /usr/share | grep Infond)" ]; then mkdir /usr/share/Infond mkdir /usr/share/Infond/bin mkdir /usr/share/Infond/pictures mkdir /usr/share/Infond/log fi # create log file if not already created echo "****************" >> /usr/share/Infond/log/install.log log "+" "install begin" echo "****************" >> /usr/share/Infond/log/install.log ############################## # 1st start ############################### # if dist-upgrade not done yet if [ -z "$(cat /usr/share/Infond/log/install.log | grep dist-upgrade )" ]; then # dist-upgrade apt-get --auto-remove -y --allow-unauthenticated dist-upgrade # update log log "+" "dist-upgrade" # reboot echo "System will reboot. Please restart script after reboot" read pause # reboot log "I" "reboot" reboot fi ################################# # further installs ################################# # close firefox (necessary to install firefox extensions) [ ! -z $(pidof firefox-bin) ] && kill -9 $(pidof firefox-bin) ################################# # apt ################################# # add Commercial repository if [ -z "$(cat /etc/apt/sources.list | grep Commercial)" ]; then echo "" >> /etc/apt/sources.list echo "## Commercial" >> /etc/apt/sources.list echo "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner " >> /etc/apt/sources.list log "+" "repository Commercial added to apt sources list" else log "I" "repository Commercial already in apt sources list. Not added" fi # add torproject repository if [ -z "$(cat /etc/apt/sources.list | grep torproject)" ]; then echo "" >> /etc/apt/sources.list echo "## tor" >> /etc/apt/sources.list echo "deb http://deb.torproject.org/torproject.org $(lsb_release -sc) main" >> /etc/apt/sources.list gpg --keyserver keys.gnupg.net --recv 886DDD89 gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add - log "+" "repository torproject added to apt sources list" else log "I" "repository torproject already in apt sources list. Not added" fi # add non-free repository to apt if [ -z "$(cat /etc/apt/sources.list | grep virtualbox)" ]; then echo "" >> /etc/apt/sources.list echo "## virtualbox" >> /etc/apt/sources.list echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 98AB5139 log "+" "virtualbox added to apt sources list" else log "I" "virtualbox already in apt sources list. Not added" fi # add google repository if [ -z "$(cat /etc/apt/sources.list | grep google)" ]; then echo "" >> /etc/apt/sources.list echo "## google" >> /etc/apt/sources.list echo "deb http://dl.google.com/linux/deb/ stable main" >> /etc/apt/sources.list wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - log "+" "google added to apt sources list" else log "I" "google already in apt sources list. Not added" fi # update apt-get update > /dev/null log "+" "apt-get update" apt-get upgrade -y log "+" "apt-get upgrade" # apt remove useless packages aptremove gwibber aptremove empathy aptremove gbrainy aptremove f-spot aptremove evolution aptremove quadrapassel aptremove totem # apt install aptinstall imagemagick aptinstall vim aptinstall less aptinstall build-essential aptinstall gimp aptinstall tor aptinstall tor-geoipdb aptinstall vlc aptinstall nautilus-open-terminal aptinstall sun-java6-plugin aptinstall sun-java6-jdk aptinstall flashplugin-nonfree aptinstall bluefish aptinstall xchat aptinstall pidgin aptinstall ruby aptinstall nasm aptinstall subversion aptinstall traceroute aptinstall filezilla aptinstall gnupg aptinstall unrar aptinstall secure-delete aptinstall nautilus-gksu # add category to .desktop addcategory bluefish Accessories addcategory xchat Accessories addcategory pidgin Accessories ################################## # menu GNOME ################################## # see $ gnome-help , (search for keyword ".desktop") # add pictures (if not already in directory) downloadicon Infond http://3.bp.blogspot.com/_Jna6k5HsSu4/TDH4lKIz1cI/AAAAAAAAAHc/a-P6uy2wHjI/s1600/Infond48x48.jpg downloadicon Pentest http://3.bp.blogspot.com/_Jna6k5HsSu4/TDMceNplaqI/AAAAAAAAAHs/iWG1MOPS0uw/s320/pentest.png downloadicon Forensics http://2.bp.blogspot.com/_Jna6k5HsSu4/THY3np27VLI/AAAAAAAAAH8/S2UXa4CsjB8/s1600/forensics.jpg downloadicon pdf http://3.bp.blogspot.com/_Jna6k5HsSu4/THY4kUhlzkI/AAAAAAAAAIE/ShLrs-iI2rs/s1600/pdf.png downloadicon Transport http://www.bluemelon.org/images/1/1c/Wire-black.gif downloadicon Ddos http://www.peacelab.org/pictures/nuclear_bomb.jpg # add directory entries in /usr/share/Infond/desktop-directories adddirectory Infond adddirectory Pentest adddirectory Forensics adddirectory pdf adddirectory Transport adddirectory Ddos # modify /etc/xdg/menus/applications.menu # the directory /etc/xdg is in $XDG_CONFIG_DIRS (see $ gnome-help) if [ -z "$( cat /etc/xdg/menus/applications.menu | grep Infond.directory )" ]; then sed -i '//i\ \ \
\ ' /etc/xdg/menus/applications.menu log "+" "applications.menu modified" else log "I" "applications.menu already correct. Not modified." fi ################################## # google-chrome ################################## # download and install aptinstall google-chrome-stable ################################# # sqlmap ################################# aptinstall sqlmap downloadicon sqlmap http://papaismurf.net/wp-content/uploads/2010/10/sqlmap.jpg addmenu sqlmap "sqlmap is an open source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of back-end database servers." "bash -c 'cd /tmp;sqlmap -h;bash'" "true" "Pentest" ################################## # spikeproxy ################################## aptinstall spikeproxy downloadicon spikeproxy http://icon.downv.com/32x32/5/71/1035076.f8375b2ff667dd9e260527fa6a173b94.gif addmenu spikeproxy "web application auditing tool." "bash -c 'gnome-terminal -e \"sudo spikeproxy\";google-chrome --proxy-server=localhost:8080 http://spike'" "false" "Pentest" ################################## # torsocks ################################## aptinstall torsocks downloadicon usewithtor http://check.torproject.org/images/tor-on.png addmenu usewithtor "Torsocks allows you to use most socks-friendly applications in a safe way with Tor." "bash -c 'cd /tmp;echo usewithtor [application [application arguments]];usewithtor -h;bash'" "true" Transport ################################## # ettercap ################################## aptinstall ettercap-gtk addcategory ettercap Transport ################################## # nmap ################################## # apt install aptinstall nmap # download icon downloadicon nmap http://www.ansi.tn/gfx/nmap.png # add entry in Gnome menu addmenu nmap "Nmap (\"Network Mapper\") is a free and open source utility for network exploration or security auditing." "bash -c 'cd /tmp;nmap -h;nmap -V;bash'" "true" Transport ################################## # zenmap ################################## aptinstall zenmap downloadicon zenmap http://www.ansi.tn/gfx/nmap.png rm /usr/share/applications/zenmap-root.desktop rm /usr/share/applications/zenmap.desktop addmenu zenmap "Nmap (\"Network Mapper\") is a free and open source utility for network exploration or security auditing." "bash -c 'cd /tmp;gnome-terminal -e \"sudo zenmap\"'" "false" Transport ################################## # dsniff ################################## # * arpspoof - Send out unrequested (and possibly forged) arp replies. # * dnsspoof - forge replies to arbitrary DNS address / pointer queries on the Local Area Network. # * dsniff - password sniffer for several protocols. # * filesnarf - saves selected files sniffed from NFS traffic. # * macof - flood the local network with random MAC addresses. # * mailsnarf - sniffs mail on the LAN and stores it in mbox format. # * msgsnarf - record selected messages from different Instant Messengers. # * sshmitm - SSH monkey-in-the-middle. proxies and sniffs SSH traffic. # * sshow - SSH traffic analyser. # * tcpkill - kills specified in-progress TCP connections. # * tcpnice - slow down specified TCP connections via “active” traffic shaping. # * urlsnarf - output selected URLs sniffed from HTTP traffic in CLF. # * webmitm - HTTP / HTTPS monkey-in-the-middle. transparently proxies. # * webspy - sends URLs sniffed from a client to your local browser aptinstall dsniff downloadicon arpspoof http://school.discoveryeducation.com/clipart/images/harp.gif addmenu arpspoof "intercept packets on a switched LAN." "bash -c 'cd /tmp;arpspoof;bash'" "true" Transport downloadicon dnsspoof http://bio3d.colorado.edu/tor/sadocs/dns/dns-1.png addmenu dnsspoof "forge replies to DNS address / pointer queries." "bash -c 'cd /tmp;dnsspoof -h;bash'" "true" Transport downloadicon dsniff http://blog.pastoutafait.org/dotfiles/public/images/securite/dsniff-logo.png addmenu dsniff "password sniffer." "bash -c 'cd /tmp;dsniff -h;bash'" "true" Transport downloadicon filesnarf http://i1-news.softpedia-static.com/images/extra/LINUX/large/protechone-large_014.png addmenu filesnarf "sniff files from NFS traffic." "bash -c 'cd /tmp;filesnarf -h;bash'" "true" Transport downloadicon macof http://www.cisco.com/en/US/i/100001-200000/140001-150000/148001-149000/148494.jpg addmenu macof "flood a switched LAN with random MAC addresses." "bash -c 'cd /tmp;macof -h;bash'" "true" "Ddos" downloadicon mailsnarf http://www.monnaieservices.org/Images/mail.jpg addmenu mailsnarf "sniff mail messages in Berkeley mbox format." "bash -c 'cd /tmp;mailsnarf -h;bash'" "true" Transport downloadicon msgsnarf http://fr.academic.ru/pictures/frwiki/49/120px-Cat-eating-prey.jpg addmenu msgsnarf "sniff chat messages." "bash -c 'cd /tmp;msgsnarf -h;bash'" "true" Transport downloadicon sshmitm http://a.images.blip.tv/G0tmi1k-ManInTheMiddleMITMAttack698.gif addmenu sshmitm "SSH monkey-in-the-middle." "bash -c 'cd /tmp;sshmitm -h;bash'" "true" Transport downloadicon sshow http://android.smartphonefrance.info/news/unlock.jpg addmenu sshmitm "SSH traffic analysis tool." "bash -c 'cd /tmp;sshow -h;bash'" "true" Transport downloadicon tcpkill http://www.appetitebooks.ca/images/cms/Image/Knife.jpg addmenu tcpkill "kill TCP connections on a LAN." "bash -c 'cd /tmp;tcpkill -h;bash'" "true" "Ddos" downloadicon tcpnice http://www.helleniccommunity.com/youth/images/snail.gif addmenu tcpnice "slow down TCP connections on a LAN." "bash -c 'cd /tmp;tcpnice -h;bash'" "true" "Ddos" downloadicon urlsnarf http://static.pcinpact.com/images/bd/news/mini-69414-http-world-wide-web-www.jpg addmenu urlsnarf "sniff HTTP requests in Common Log Format." "bash -c 'cd /tmp;urlsnarf -h;bash'" "true" Transport downloadicon webmitm http://www.linux-france.org/prj/inetdoc/securite/tutoriel/images/middle.png addmenu webmitm "HTTP / HTTPS monkey-in-the-middle." "bash -c 'cd /tmp;webmitm -h;bash'" "true" Transport downloadicon webspy http://www.chezcarriere.com/images/logo_Netscape.gif addmenu webspy "display sniffed URLs in Netscape in real-time." "bash -c 'cd /tmp;webspy -h;bash'" "true" Transport ################################## # skipfish ################################## aptinstall skipfish downloadicon skipfish http://img.maxisciences.com/google/logo-google_12964_w250.jpg addmenu skipfish "A fully automated, active web application security reconnaissance tool." "bash -c 'cd /tmp; skipfish -h;bash'" "true" "Pentest" ################################## # maltego ################################## wget http://www.paterva.com/malv3/MaltegoCESetup.v3.0.936.deb -nc -P /tmp aptinstall gdebi gdebi -n /tmp/Maltego* log "+" "maltego installed" ################################## # set ################################## if [ -z "$(ls /usr/share/Infond/bin | grep set)" ]; then svn co http://svn.secmaniac.com/social_engineering_toolkit /usr/share/Infond/bin/set python /usr/share/Infond/bin/set/setup.py install log "+" "set installed" else log "I" "set already in /usr/share/Infond/bin. Not downloaded." fi downloadicon 'set' http://www.secmaniac.com/wp-content/uploads/2010/09/set-small-card1.png addBinEntry 'set' "sudo bash /usr/share/Infond/bin/set/set" addmenu 'set' "The social engineer toolkit." 'set' "true" "Pentest" ################################## # volatility ################################## if [ -z "$(ls /usr/local/bin | grep Volatility)" ]; then wget https://www.volatilesystems.com/volatility/1.3/Volatility-1.3_Beta.tar.gz _nc -P /tmp tar xzf /tmp/Volatility-1.3_Beta.tar.gz -C /usr/share/Infond/bin log "+" "volatility downloaded" else log "I" "volatility already in /usr/share/Infond/bin. Not downloaded." fi downloadicon volatility http://cert.lexsi.com/weblog/images/forensics2.jpg addBinEntry volatility "python /usr/share/Infond/bin/Volatility*/volatility \$*" addmenu volatility "The Volatility Framework is a completely open collection of tools for the extraction of digital artifacts from volatile memory (RAM) samples." "bash -c 'cd /tmp; volatility ;bash'" "true" "Forensics" ################################## # hydra ################################## aptinstall libssh-dev aptinstall libpq-dev aptinstall libncp-dev if [ -z "$(ls /usr/local/bin | grep hydra)" ]; then wget http://freeworld.thc.org/releases/hydra-6.2-src.tar.gz -nc -P /tmp tar xzf /tmp/hydra* -C /tmp bash -c 'cd /tmp/hydra-6.2-src; ./configure; make; make install' rm /tmp/hydra* log "+" "hydra compiled and installed" else log "I" "hydra already in /usr/share/Infond/bin. Not downloaded." fi downloadicon hydra http://www.taraduncan-livre.com/wp-content/uploads/2009/04/tara-duncan-familier-hydre-familier-robin.jpg addmenu hydra "A very fast network logon cracker which support many different services." "bash -c 'cd /tmp; hydra ;bash'" "true" "Pentest" ################################## # pyLoris 3.2 ################################## if [ -z "$(ls /usr/share/Infond/bin | grep pyloris)" ]; then wget http://downloads.sourceforge.net/project/pyloris/pyloris/3.2/pyloris-3.2.tgz -nc -P /tmp tar xzf /tmp/pyloris-3.2.tgz -C /usr/share/Infond/bin rm /tmp/pyloris* log "+" "pyloris downloaded" else log "I" "pyloris already in /usr/share/Infond/bin. Not downloaded." fi downloadicon pyloris http://aphs.worldnomads.com/jamesanddan/3493/SlowLoris.jpg addBinEntry pyloris "python /usr/share/Infond/bin/pyloris-3.2/pyloris.py" addmenu pyloris "PyLoris is a scriptable tool for testing a web server's vulnerability to Denial of Service (DoS) attacks which supports SOCKS, SSL, and all HTTP request methods." pyloris "true" "Ddos" ################################## # extract ################################## aptinstall extract downloadicon extract http://seo-hacker.com/wp-content/uploads/2010/05/Meta-tags.jpg addmenu extract "determine meta-information about a file/" "bash -c 'cd /tmp;extract -h;echo ex: $ extract test/test.jpg;bash'" "true" "Forensics" ################################## # w3af ################################## # apt install aptinstall w3af # add entry in Gnome menu addcategory w3af Pentest ################################## # wireshark ################################## # apt install aptinstall wireshark # add entry in Gnome menu addcategory wireshark Pentest ################################## # md5crack.py - written by Corbiero ################################## echo ' import urllib, re , sys # tool written by Corbiero # 2010 # md5crack.com params = urllib.urlencode({"term": sys.argv[1]}) print "Try to crack "+ sys.argv[1] +" on md5crack.com" f = urllib.urlopen("http://md5crack.com/crackmd5.php", params) y = f.read() if re.match("(.*)Found: (.*)\\n(.*)",y,re.DOTALL): print re.match("(.*)Found: (.*)\\n(.*)",y,re.DOTALL).group(2) # passcracking.com params = urllib.urlencode({"datafromuser": sys.argv[1]}) print "Try to crack "+ sys.argv[1] +" on passcracking.com" f = urllib.urlopen("http://passcracking.ru/index.php", params) y = f.read() if re.match("(.*)