Skip to content

Instantly share code, notes, and snippets.

@muratayusuke
Created November 11, 2012 02:48
Show Gist options
  • Save muratayusuke/4053495 to your computer and use it in GitHub Desktop.
Save muratayusuke/4053495 to your computer and use it in GitHub Desktop.
skipfish - security scan tool
#!/bin/bash
#
# This script run as root
#
# Detail: http://code.google.com/p/skipfish/wiki/SkipfishDoc
#
##################################
# usage
##################################
# 1. wget https://raw.github.com/gist/4053495/skipfish.sh
# 2. sudo sh skipfish.sh ${version}
##################################
aptitude install libpcre3-dev libidn11-dev
pushd /usr/local/src
SF_VER=$1
wget http://code.google.com/p/skipfish/downloads/detail?name=skipfish-${SF_VER}.tgz
tar xzf skipfish-${SF_VER}.taz
cd skipfish-${SF_VER}
make
cp -r /usr/local/src/skipfish-${SF_VER} /usr/local/
pushd /usr/local/
ln -s skipfish-${SF_VER} skipfish
popd
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment