nuclei-templates/exposures/configs/netrc.yaml

36 lines
980 B
YAML
Raw Normal View History

2021-04-01 23:04:42 +00:00
id: netrc
info:
2021-04-02 09:47:55 +00:00
name: netrc config file
2021-04-01 23:04:42 +00:00
author: geeknik
description: The .netrc file contains login and initialization information used by the auto-login process.
reference: https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html
severity: high
2021-04-06 06:46:11 +00:00
tags: netrc,config,exposure
2021-04-01 23:04:42 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/.netrc"
2021-05-19 12:43:28 +00:00
- "{{BaseURL}}/_netrc"
2021-04-01 23:04:42 +00:00
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: regex
regex:
- "machine [0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\\.?"
- type: word
words:
- "login "
- "password "
condition: and
extractors:
- type: regex
part: body
regex:
- "machine [0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\\.?"