26 lines
431 B
YAML
26 lines
431 B
YAML
|
id: robots-txt
|
||
|
info:
|
||
|
name: robots.txt file
|
||
|
author: CasperGN
|
||
|
severity: info
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/robots.txt"
|
||
|
matchers-condition: and
|
||
|
redirects: true
|
||
|
matchers:
|
||
|
- type: word
|
||
|
words:
|
||
|
- "Disallow:"
|
||
|
|
||
|
- type: word
|
||
|
words:
|
||
|
- text/plain
|
||
|
part: header
|
||
|
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- "len(body)>=140 && status_code==200"
|