fix: false negative rundeck
- Fix false negative rundeck by changing the matcher - Added version detection for old rundeck and new rundeckpatch-1
parent
8e89f23c2f
commit
bc40cf9c12
|
@ -1,8 +1,8 @@
|
||||||
id: rundeck-login
|
id: rundeck-login
|
||||||
|
|
||||||
info:
|
info:
|
||||||
name: RunDeck Login
|
name: RunDeck Login Panel
|
||||||
author: DhiyaneshDk
|
author: DhiyaneshDk, daffainfo
|
||||||
severity: info
|
severity: info
|
||||||
metadata:
|
metadata:
|
||||||
verified: true
|
verified: true
|
||||||
|
@ -16,14 +16,24 @@ requests:
|
||||||
|
|
||||||
host-redirects: true
|
host-redirects: true
|
||||||
max-redirects: 2
|
max-redirects: 2
|
||||||
matchers-condition: or
|
matchers-condition: and
|
||||||
matchers:
|
matchers:
|
||||||
- type: word
|
- type: word
|
||||||
part: body
|
part: body
|
||||||
words:
|
words:
|
||||||
- 'Rundeck - Login</title>'
|
- 'utm_source=rundeckapp'
|
||||||
|
- 'name="j_username" id="login"'
|
||||||
|
- 'name="j_password" id="password"'
|
||||||
|
condition: and
|
||||||
|
|
||||||
- type: word
|
- type: status
|
||||||
|
status:
|
||||||
|
- 200
|
||||||
|
|
||||||
|
extractors:
|
||||||
|
- type: regex
|
||||||
part: body
|
part: body
|
||||||
words:
|
group: 1
|
||||||
- 'RUNDECK ENTERPRISE - Login</title>'
|
regex:
|
||||||
|
- '<a href=\"https:\/\/docs.rundeck.com\/([0-9.]+)'
|
||||||
|
- '<a href=\"http:\/\/rundeck\.org\/([0-9.]+)' ## Detection version on old rundeck
|
||||||
|
|
Loading…
Reference in New Issue