Added Emqx template (#3978)
* Create emqx-default-login.yaml * Create emqx-detection.yaml * more strict matchers Co-authored-by: sandeep <sandeep@projectdiscovery.io>patch-1
parent
d01169af21
commit
fbbcab7333
|
@ -0,0 +1,32 @@
|
||||||
|
id: emqx-default-login
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Emqx Default Login
|
||||||
|
author: For3stCo1d
|
||||||
|
severity: high
|
||||||
|
metadata:
|
||||||
|
shodan-query: http.favicon.hash:"-670975485"
|
||||||
|
tags: emqx,default-login
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- raw:
|
||||||
|
- |
|
||||||
|
POST /api/v4/auth HTTP/1.1
|
||||||
|
Host: {{Hostname}}
|
||||||
|
Content-Type: application/x-www-form-urlencoded
|
||||||
|
|
||||||
|
{"username":"{{user}}","password":"{{pass}}"}
|
||||||
|
|
||||||
|
attack: pitchfork
|
||||||
|
payloads:
|
||||||
|
user:
|
||||||
|
- admin
|
||||||
|
pass:
|
||||||
|
- public
|
||||||
|
|
||||||
|
matchers:
|
||||||
|
- type: dsl
|
||||||
|
dsl:
|
||||||
|
- body == "{\"code\":0}"
|
||||||
|
- status_code == 200
|
||||||
|
condition: and
|
|
@ -0,0 +1,19 @@
|
||||||
|
id: emqx-detection
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: Emqx Detection
|
||||||
|
author: For3stCo1d
|
||||||
|
severity: info
|
||||||
|
tags: tech,emqx
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}/static/emq.ico"
|
||||||
|
|
||||||
|
matchers-condition: and
|
||||||
|
matchers:
|
||||||
|
- type: dsl
|
||||||
|
name: favicon
|
||||||
|
dsl:
|
||||||
|
- "status_code==200 && ('-670975485' == mmh3(base64_py(body)))"
|
Loading…
Reference in New Issue