2020-09-05 06:55:52 +00:00
|
|
|
id: default-sql-dump
|
2020-09-04 22:38:46 +00:00
|
|
|
|
|
|
|
info:
|
2020-09-05 06:57:00 +00:00
|
|
|
name: MySQL Dump Files
|
2020-09-08 15:10:58 +00:00
|
|
|
author: geeknik & @dwisiswant0
|
2020-09-04 22:38:46 +00:00
|
|
|
severity: medium
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/1.sql"
|
|
|
|
- "{{BaseURL}}/backup.sql"
|
|
|
|
- "{{BaseURL}}/database.sql"
|
2020-09-08 15:10:58 +00:00
|
|
|
- "{{BaseURL}}/data.sql"
|
2020-09-04 22:38:46 +00:00
|
|
|
- "{{BaseURL}}/db_backup.sql"
|
|
|
|
- "{{BaseURL}}/dbdump.sql"
|
|
|
|
- "{{BaseURL}}/db.sql"
|
|
|
|
- "{{BaseURL}}/dump.sql"
|
2020-09-08 15:10:58 +00:00
|
|
|
- "{{BaseURL}}/{{Hostname}}.sql"
|
2020-09-04 22:38:46 +00:00
|
|
|
- "{{BaseURL}}/localhost.sql"
|
2020-09-08 15:10:58 +00:00
|
|
|
- "{{BaseURL}}/mysqldump.sql"
|
2020-09-04 22:38:46 +00:00
|
|
|
- "{{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"
|
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
|
2020-09-05 06:55:52 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2020-09-08 15:10:58 +00:00
|
|
|
- 200
|
|
|
|
- 206
|
|
|
|
condition: or
|