diff --git a/arerules/lan_port_scan.json b/arerules/lan_port_scan.json new file mode 100644 index 000000000..a89ce7def --- /dev/null +++ b/arerules/lan_port_scan.json @@ -0,0 +1,25 @@ +{"name": "LAN Ping Sweep", + "author": "bcoles", + "browser": "FF", + "browser_version": "ALL", + "os": "ALL", + "os_version": "ALL", + "modules": [ + {"name": "get_internal_ip_webrtc", + "condition": null, + "code": null, + "options": {} + }, + {"name": "ping_sweep", + "condition": "status==1", + "code": "var s=get_internal_ip_webrtc_mod_output.split('.');var start = s[0]+'.'+s[1]+'.'+s[2]+'.1'; var end = s[0]+'.'+s[1]+'.'+s[2]+'.255'; var mod_input = start+'-'+end;", + "options": { + "rhosts":"<>", + "threads":"3" + } + } + ], + "execution_order": [0, 1], + "execution_delay": [0, 0], + "chain_mode": "nested-forward" +}