Add lan_cors_scan ARE rule
This commit is contained in:
26
arerules/lan_cors_scan.json
Normal file
26
arerules/lan_cors_scan.json
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{"name": "Get Internal IP (WebRTC)",
|
||||||
|
"author": "bcoles",
|
||||||
|
"browser": ["FF", "C"],
|
||||||
|
"browser_version": "ALL",
|
||||||
|
"os": "ALL",
|
||||||
|
"os_version": "ALL",
|
||||||
|
"modules": [
|
||||||
|
{"name": "get_internal_ip_webrtc",
|
||||||
|
"condition": null,
|
||||||
|
"code": null,
|
||||||
|
"options": {}
|
||||||
|
},
|
||||||
|
{"name": "cross_origin_scanner",
|
||||||
|
"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": {
|
||||||
|
"ipRange":"<<mod_input>>",
|
||||||
|
"ports":"80,8080",
|
||||||
|
"threads":"5"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"execution_order": [0, 1],
|
||||||
|
"execution_delay": [0, 0],
|
||||||
|
"chain_mode": "nested-forward"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user