nuclei-templates/files/sql-dump.yaml

41 lines
1.0 KiB
YAML

id: default-sql-dump
info:
name: MySQL Dump Files
author: geeknik & @dwisiswant0
severity: medium
requests:
- method: GET
path:
- "{{BaseURL}}/1.sql"
- "{{BaseURL}}/backup.sql"
- "{{BaseURL}}/database.sql"
- "{{BaseURL}}/data.sql"
- "{{BaseURL}}/db_backup.sql"
- "{{BaseURL}}/dbdump.sql"
- "{{BaseURL}}/db.sql"
- "{{BaseURL}}/dump.sql"
- "{{BaseURL}}/{{Hostname}}.sql"
- "{{BaseURL}}/localhost.sql"
- "{{BaseURL}}/mysqldump.sql"
- "{{BaseURL}}/mysql.sql"
- "{{BaseURL}}/site.sql"
- "{{BaseURL}}/sql.sql"
- "{{BaseURL}}/temp.sql"
- "{{BaseURL}}/translate.sql"
- "{{BaseURL}}/users.sql"
- "{{BaseURL}}/wp-content/uploads/dump.sql"
headers:
Range: "bytes=0-3000"
matchers-condition: and
matchers:
- type: regex
regex:
- "(?m)(?:DROP|CREATE|(?:UN)?LOCK) TABLE|INSERT INTO"
part: body
- type: status
status:
- 200
- 206
condition: or