beefproject/beef — pull request #996 by oddui (2014-04-20 11:54:59+00:00)
Title: use request.port in BeEF::Core::Handlers::Modules::BeEFJS.build_beefjs!

hook.js will be able to find the beef server behind a reverse proxy
using the port in the request instead of from the config

Not sure if this will break any other use case.