Permalink
Browse files

Reaktor: add whatweb, update build process

  • Loading branch information...
1 parent 07282f7 commit f24f22f9d23ba525663a85ccfe5194b70e2f2364 EUcancER committed May 2, 2012
Showing with 26 additions and 7 deletions.
  1. +3 −0 .gitmodules
  2. +17 −7 Reaktor/Makefile
  3. +5 −0 Reaktor/commands/whatweb
  4. +1 −0 Reaktor/repos/whatweb
View
@@ -25,3 +25,6 @@
[submodule "Reaktor/repos/dnsrecon"]
path = Reaktor/repos/dnsrecon
url = https://github.com/makefu/dnsrecon.git
+[submodule "Reaktor/repos/whatweb"]
+ path = Reaktor/repos/whatweb
+ url = https://github.com/urbanadventurer/WhatWeb.git
View
@@ -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/
View
@@ -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"
Submodule whatweb added at daab5f

0 comments on commit f24f22f

Please sign in to comment.