aboutsummaryrefslogtreecommitdiffstats
path: root/commands/whatweb
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-08-28 23:39:37 +0200
committermakefu <github@syntax-fehler.de>2015-08-28 23:39:37 +0200
commit7eba4293714b9dce86c07ccf2fdaddaa11a4c3c7 (patch)
tree28fdc7158cd28e4b25cf5674ab54da8da8b69c1e /commands/whatweb
parent15026716ab3057998cf2f487742c2dd8e185335c (diff)
Reaktor: add nix support, packaging
Diffstat (limited to 'commands/whatweb')
-rwxr-xr-xcommands/whatweb17
1 files changed, 0 insertions, 17 deletions
diff --git a/commands/whatweb b/commands/whatweb
deleted file mode 100755
index 36711ef..0000000
--- a/commands/whatweb
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-#wrapper for WhatWeb
-set -eu
-
-# whatweb is in path?
-whatweb=whatweb
-if ! type -p whatweb >/dev/null 2>&1 ;then
- here=$(dirname `readlink -f $0`)
- whatweb="$here/../repos/whatweb/whatweb"
- if ! test -e "$whatweb" then
- echo "!! cannot find usable whatweb installation in path or basedir ($whatweb)"
- exit 1
- fi
-fi
-
-[ -z "${1:-}" ] && echo "!! no host given" && exit 1
-exec $whatweb_bin --user-agent="Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.0) Gecko/20100101 Firefox/25.0" -a 3 "$1" 2>&1