From f24f22f9d23ba525663a85ccfe5194b70e2f2364 Mon Sep 17 00:00:00 2001 From: EUcancER Date: Wed, 2 May 2012 13:57:21 +0200 Subject: Reaktor: add whatweb, update build process --- Reaktor/commands/whatweb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 Reaktor/commands/whatweb (limited to 'Reaktor/commands/whatweb') diff --git a/Reaktor/commands/whatweb b/Reaktor/commands/whatweb new file mode 100755 index 00000000..1c1d7791 --- /dev/null +++ b/Reaktor/commands/whatweb @@ -0,0 +1,5 @@ +#!/bin/sh +#wrapper for WhatWeb +whatweb_bin='../repos/whatweb/whatweb' +[ -e "$whatweb_bin" ] || ( echo "Whatweb app does not exist" && exit 1 ) +$whatweb_bin "$1" -- cgit v1.2.3 From fd50c8c919b53d7237179970224608c34075a12d Mon Sep 17 00:00:00 2001 From: EUcancER Date: Wed, 2 May 2012 14:06:26 +0200 Subject: fix whatweb wrapper --- Reaktor/commands/whatweb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Reaktor/commands/whatweb') diff --git a/Reaktor/commands/whatweb b/Reaktor/commands/whatweb index 1c1d7791..c9aab295 100755 --- a/Reaktor/commands/whatweb +++ b/Reaktor/commands/whatweb @@ -1,5 +1,7 @@ #!/bin/sh #wrapper for WhatWeb -whatweb_bin='../repos/whatweb/whatweb' -[ -e "$whatweb_bin" ] || ( echo "Whatweb app does not exist" && exit 1 ) +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" -- cgit v1.2.3 From 314224da2ce24cf74151726c2d038fc490bb97d9 Mon Sep 17 00:00:00 2001 From: EUcancER Date: Wed, 2 May 2012 14:44:38 +0200 Subject: Reaktor: whatweb add aggressive parameter to call --- Reaktor/commands/whatweb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Reaktor/commands/whatweb') diff --git a/Reaktor/commands/whatweb b/Reaktor/commands/whatweb index c9aab295..84130d5c 100755 --- a/Reaktor/commands/whatweb +++ b/Reaktor/commands/whatweb @@ -4,4 +4,4 @@ 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" +exec $whatweb_bin -a 3 "$1" -- cgit v1.2.3