Merge pull request #7451 from projectdiscovery/princechaddha-patch-7

Updated robots-txt-endpoint and robots-txt
patch-1
Dhiyaneshwaran 2023-06-15 14:37:47 +05:30 committed by GitHub
commit d1d9f2f9c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 2 deletions

View File

@ -23,7 +23,20 @@ http:
internal: true internal: true
iterate-all: true iterate-all: true
matchers-condition: and
matchers: matchers:
- type: word
part: body
words:
- 'User-agent:'
- 'Disallow:'
- 'Allow:'
- type: word
part: header
words:
- "text/plain"
- type: status - type: status
status: status:
- 200 - 200

View File

@ -13,12 +13,15 @@ http:
path: path:
- "{{BaseURL}}/robots.txt" - "{{BaseURL}}/robots.txt"
matchers-condition: and
host-redirects: true host-redirects: true
max-redirects: 2
matchers-condition: and
matchers: matchers:
- type: word - type: word
words: words:
- "Disallow:" - 'User-agent:'
- 'Disallow:'
- 'Allow:'
- type: word - type: word
part: header part: header