diff --git a/arerules/lan_sw_port_scan.json b/arerules/lan_sw_port_scan.json new file mode 100644 index 000000000..5f9e8ba91 --- /dev/null +++ b/arerules/lan_sw_port_scan.json @@ -0,0 +1,29 @@ +{"name": "LAN SW 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": "sw_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": { + "ipRange":"<>", + "ports":"80,8080", + "threads":2, + "wait":2, + "timeout":20 + #"port":"80,8080" + } + } + ], + "execution_order": [0, 1], + "execution_delay": [0, 0], + "chain_mode": "nested-forward" +}