diff --git a/arerules/enabled/lan_port_scan.json b/arerules/enabled/lan_port_scan.json deleted file mode 100644 index ac4f0e782..000000000 --- a/arerules/enabled/lan_port_scan.json +++ /dev/null @@ -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":"<>", - #"port":"80,8080" - } - } - ], - "execution_order": [0, 1], - "execution_delay": [0, 0], - "chain_mode": "nested-forward" -} diff --git a/modules/network/sw_port_scanner/command.js b/modules/network/sw_port_scanner/command.js index d04498eae..b2e5e7031 100644 --- a/modules/network/sw_port_scanner/command.js +++ b/modules/network/sw_port_scanner/command.js @@ -102,7 +102,6 @@ for (var i=0; i", <%= @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());