summaryrefslogtreecommitdiffstats
path: root/Reaktor/Makefile
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
commitf24f22f9d23ba525663a85ccfe5194b70e2f2364 (patch)
treed0c528e31c7cee81da5c050e40633221db904861 /Reaktor/Makefile
parent07282f7c4c729323aeb9f3deda1bfbd191dafb8a (diff)
Reaktor: add whatweb, update build process
Diffstat (limited to 'Reaktor/Makefile')
-rw-r--r--Reaktor/Makefile24
1 files changed, 17 insertions, 7 deletions
diff --git a/Reaktor/Makefile b/Reaktor/Makefile
index dc3f8cac..2241dba6 100644
--- a/Reaktor/Makefile
+++ b/Reaktor/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/