aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2012-05-02 13:57:21 +0200
committerEUcancER <root@euer.krebsco.de>2012-05-02 13:57:21 +0200
commit85f0c12a9eebecff1ca6a387d62eac5931977f40 (patch)
tree7a10567f0ab7dbf44611efc3b0dff063c70b312f
parentf0424c09231f2b3b24fdf319c6e030968629af3a (diff)
Reaktor: add whatweb, update build process
-rw-r--r--Makefile24
-rwxr-xr-xcommands/whatweb5
m---------repos/whatweb0
3 files changed, 22 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index dc3f8ca..2241dba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,23 @@
-init:
- cd ..;git submodule init; git submodule update
- cd repos/gxfr/; git checkout master; git pull
- cd repos/dnsrecon; git checkout master; git pull
- cd repos/dnsmap; git checkout master; git pull
+submodules = gxfr dnsrecon bxfr whatweb
+security_modules = subdomains revip whatweb
+
+all: init all-mods
+init: init-submodules $(submodules)
+init-submodules:
+ cd ..;git submodule init; git submodule update
+$(submodules):
+ cd repos/$@ ; git checkout master;git pull
+all-mods: $(addprefix public_commands/,$(security_modules))
+public_commands/%:commands/%
+ ln -s ../$< $@
debian-autostart:
useradd reaktor ||:
- cp autostart/reaktor-debian /etc/init.d/reaktor
- cp autostart/reaktor /etc/default/
+ cp startup/init.d/reaktor-debian /etc/init.d/reaktor
+ cp startup/conf.d/reaktor /etc/default/
update-rc.d reaktor defaults
+supervisor-autostart:
+ useradd reaktor ||:
+ cp startup/supervisor/Reaktor.conf /etc/supervisor/conf.d/
diff --git a/commands/whatweb b/commands/whatweb
new file mode 100755
index 0000000..1c1d779
--- /dev/null
+++ b/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"
diff --git a/repos/whatweb b/repos/whatweb
new file mode 160000
+Subproject daab5f21f13024ee8ec47e88f668c5308d6b59d