Merge pull request #1895 from beefproject/remove_arerule_from_enabled_by_default
Remove arerule from enabled by default
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
{"name": "LAN Port Scan",
|
||||
"author": "aburro & aussieklutz",
|
||||
"browser": "ALL",
|
||||
"browser_version": "ALL",
|
||||
"os": "ALL",
|
||||
"os_version": "ALL",
|
||||
"modules": [
|
||||
{"name": "get_internal_ip_webrtc",
|
||||
"condition": null,
|
||||
"code": null,
|
||||
"options": {}
|
||||
},
|
||||
{"name": "port_scanner",
|
||||
"condition": "status==1",
|
||||
"code": "var s=get_internal_ip_webrtc_mod_output.split('.');var start = s[0]+'.'+s[1]+'.'+s[2]+'.'+s[3]; var mod_input = start;",
|
||||
"options": {
|
||||
"ipHost":"<<mod_input>>",
|
||||
#"port":"80,8080"
|
||||
}
|
||||
}
|
||||
],
|
||||
"execution_order": [0, 1],
|
||||
"execution_delay": [0, 0],
|
||||
"chain_mode": "nested-forward"
|
||||
}
|
||||
@@ -102,7 +102,6 @@ for (var i=0; i<blocked_ports.length; i++) {
|
||||
beef.net.send("<%= @command_url %>", <%= @command_id %>, port_+": port is closed", beef.are.status_success());
|
||||
}
|
||||
else {
|
||||
console.log(end-start)
|
||||
// This is a little sketchy but the only way to tell in Chrome/Chromium if the port is open. Basically sub 11ms connection was refused
|
||||
if ((end - start) < 11 ) {
|
||||
beef.net.send("<%= @command_url %>", <%= @command_id %>, port_+": port is closed", beef.are.status_success());
|
||||
|
||||
Reference in New Issue
Block a user