Improved AXIS detection (#4185)
* Improved AXIS detection * Update liveview-axis-camera.yaml Co-authored-by: Prince Chaddha <prince@projectdiscovery.io>patch-1
parent
bd48f9160c
commit
f9a6fc06ae
|
@ -2,7 +2,7 @@ id: liveview-axis-camera
|
||||||
|
|
||||||
info:
|
info:
|
||||||
name: Live View AXIS Network Camera
|
name: Live View AXIS Network Camera
|
||||||
author: dhiyaneshDK
|
author: dhiyaneshDK,f1she3
|
||||||
severity: info
|
severity: info
|
||||||
reference:
|
reference:
|
||||||
- https://www.exploit-db.com/ghdb/6843
|
- https://www.exploit-db.com/ghdb/6843
|
||||||
|
@ -12,17 +12,30 @@ requests:
|
||||||
- method: GET
|
- method: GET
|
||||||
path:
|
path:
|
||||||
- '{{BaseURL}}/view/viewer_index.shtml'
|
- '{{BaseURL}}/view/viewer_index.shtml'
|
||||||
|
- '{{BaseURL}}/pics/logo_70x29px.gif'
|
||||||
|
|
||||||
|
redirects: true
|
||||||
|
max-redirects: 2
|
||||||
|
stop-at-first-match: true
|
||||||
matchers-condition: or
|
matchers-condition: or
|
||||||
matchers:
|
matchers:
|
||||||
- type: dsl
|
- type: dsl
|
||||||
|
name: stream-view
|
||||||
dsl:
|
dsl:
|
||||||
- 'status_code == 200'
|
|
||||||
- 'contains(tolower(body), "live view - axis")'
|
- 'contains(tolower(body), "live view - axis")'
|
||||||
condition: and
|
- 'contains(tolower(body), "live view - axis")'
|
||||||
|
condition: or
|
||||||
|
|
||||||
- type: dsl
|
- type: dsl
|
||||||
|
name: logo
|
||||||
dsl:
|
dsl:
|
||||||
- 'status_code == 200'
|
- 'status_code == 200'
|
||||||
- 'contains(tolower(body), "/incl/axis_connection.js")'
|
- '"1106649083" == mmh3(base64_py(body))'
|
||||||
condition: and
|
condition: and
|
||||||
|
|
||||||
|
extractors:
|
||||||
|
- type: regex
|
||||||
|
part: body
|
||||||
|
group: 1
|
||||||
|
regex:
|
||||||
|
- 'AXIS (.*) Network Camera</title>'
|
||||||
|
|
Loading…
Reference in New Issue