#!/usr/bin/env ruby =begin Arachni Copyright (c) 2010-2012 Tasos "Zapotek" Laskos This is free software; you can copy and distribute and modify this program under the term of the GPL v2.0 License (See LICENSE file for details) Simple shell script to start all systems required for the WebUI. Requires all arachni executables to be in PATH. Original by: Brandon Potter Modified by: Tasos Laskos =end # the gemspec doesn't seem to able to handle shell scripts # so we hack around it exec <] Starting the Arachni Dispatch server..." xterm -T "Arachni Dispatch server" -e "arachni_rpcd" & sleep 5 echo "[>] Starting the Arachni WebUI server..." xterm -T "Arachni WebUI server" -e "arachni_web" & sleep 5 echo "[>] Opening browser..." xdg-open http://127.0.0.1:4567 echo "[>] Hit Ctrl+C to shut everything down." while : do sleep 1 done exit END