aboutsummaryrefslogtreecommitdiffstats
path: root/commands/whatweb
blob: c9aab2959a62c560a8326447563e34620c65efce (plain)
1
2
3
4
5
6
7
#!/bin/sh
#wrapper for WhatWeb
here=$(dirname `readlink -f $0`)
whatweb_bin="$here/../repos/whatweb/whatweb"
[ -e "$whatweb_bin" ] || ( echo "!! Whatweb app does not exist" && exit 1 )
[ "balls$1" = "balls" ] && ( echo "!! no host given" && exit 1)
$whatweb_bin "$1"