Sha256: e45f7ee8aec41f46590522d2b353aeaa9a59f8eff447f5945b283c09fe9dcfd4

Contents?: true

Size: 1 KB

Versions: 5

Compression:

Stored size: 1 KB

Contents

#!/usr/bin/env ruby

=begin
                  Arachni
  Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>

  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 <bpotter8705@gmail.com>
    Modified by: Tasos Laskos <tasos.laskos@gmail.com>

=end

# the gemspec doesn't seem to able to handle shell scripts
# so we hack around it
exec  <<END

export xterm="xterm -geometry 80X10 -hold"

echo "[>] 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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.0.4 bin/arachni_web_autostart
arachni-0.4.0.3 bin/arachni_web_autostart
arachni-0.4.0.2 bin/arachni_web_autostart
arachni-0.4.0.1 bin/arachni_web_autostart
arachni-0.4 bin/arachni_web_autostart