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:
@@ -15,7 +15,7 @@ beef.execute(function() {
|
||||
var internal_counter = 0;
|
||||
var firstMsgSent = false;
|
||||
|
||||
beef.dom.attachApplet('pingSweep', 'pingSweep', 'pingSweep', "http://"+beef.net.host+":"+beef.net.port+"/", null, [{'ipRange':ipRange, 'timeout':timeout}]);
|
||||
beef.dom.attachApplet('pingSweep', 'pingSweep', 'pingSweep', beef.net.httpproto+"://"+beef.net.host+":"+beef.net.port+"/", null, [{'ipRange':ipRange, 'timeout':timeout}]);
|
||||
|
||||
function waituntilok() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user