nuclei-templates/exposures/backups/sql-dump.yaml

47 lines
1.2 KiB
YAML
Raw Normal View History

2020-09-05 06:55:52 +00:00
id: default-sql-dump
info:
2020-09-05 06:57:00 +00:00
name: MySQL Dump Files
2021-06-09 12:20:56 +00:00
author: geeknik,dwisiswant0
severity: medium
2021-04-06 06:46:11 +00:00
tags: exposure,backup
requests:
- method: GET
path:
- "{{BaseURL}}/1.sql"
- "{{BaseURL}}/backup.sql"
- "{{BaseURL}}/database.sql"
2020-09-08 15:10:58 +00:00
- "{{BaseURL}}/data.sql"
- "{{BaseURL}}/db_backup.sql"
- "{{BaseURL}}/dbdump.sql"
- "{{BaseURL}}/db.sql"
- "{{BaseURL}}/dump.sql"
2020-09-08 15:10:58 +00:00
- "{{BaseURL}}/{{Hostname}}.sql"
- "{{BaseURL}}/{{Hostname}}_db.sql"
- "{{BaseURL}}/localhost.sql"
2020-09-08 15:10:58 +00:00
- "{{BaseURL}}/mysqldump.sql"
- "{{BaseURL}}/mysql.sql"
- "{{BaseURL}}/site.sql"
- "{{BaseURL}}/sql.sql"
- "{{BaseURL}}/temp.sql"
- "{{BaseURL}}/translate.sql"
2020-09-08 15:10:58 +00:00
- "{{BaseURL}}/users.sql"
- "{{BaseURL}}/wp-content/uploads/dump.sql"
headers:
Range: "bytes=0-3000"
2021-06-01 07:51:24 +00:00
max-size: 2000 # Size in bytes - Max Size to read from server response
2020-09-05 06:55:52 +00:00
matchers-condition: and
2020-09-04 22:47:40 +00:00
matchers:
2020-09-08 15:10:58 +00:00
- type: regex
regex:
- "(?m)(?:DROP|CREATE|(?:UN)?LOCK) TABLE|INSERT INTO"
2020-09-04 22:44:36 +00:00
part: body
2021-06-01 07:51:24 +00:00
2020-09-05 06:55:52 +00:00
- type: status
status:
2020-09-08 15:10:58 +00:00
- 200
- 206
condition: or