summaryrefslogtreecommitdiffstats
path: root/Reaktor/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
commite5c6eae9896aeda68204bb7010a6e4e26d7eaca1 (patch)
tree0dcc367de6f6c1d978cabe3c3275395b1a1757b3 /Reaktor/commands/whatweb
parent60367f4b7bf02b8c2ec074c5ccba6772d175caa9 (diff)
Reaktor: add nix support, packaging
Diffstat (limited to 'Reaktor/commands/whatweb')
-rwxr-xr-xReaktor/commands/whatweb17
1 files changed, 0 insertions, 17 deletions
diff --git a/Reaktor/commands/whatweb b/Reaktor/commands/whatweb
deleted file mode 100755
index 36711efa..00000000
--- a/Reaktor/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