2021-06-06 14:09:29 +00:00
|
|
|
id: shellscripts
|
|
|
|
|
|
|
|
info:
|
2021-06-07 14:52:33 +00:00
|
|
|
name: Public shellscripts
|
2021-06-06 14:09:29 +00:00
|
|
|
author: panch0r3d
|
2021-06-07 14:52:33 +00:00
|
|
|
severity: low
|
2022-10-13 09:36:07 +00:00
|
|
|
tags: bash,exposure,files
|
2021-06-06 14:09:29 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.build.sh"
|
|
|
|
- "{{BaseURL}}/.jenkins.sh"
|
|
|
|
- "{{BaseURL}}/.travis.sh"
|
|
|
|
- "{{BaseURL}}/install.sh"
|
|
|
|
- "{{BaseURL}}/update.sh"
|
|
|
|
- "{{BaseURL}}/config.sh"
|
|
|
|
- "{{BaseURL}}/build.sh"
|
|
|
|
- "{{BaseURL}}/setup.sh"
|
|
|
|
- "{{BaseURL}}/run.sh"
|
|
|
|
- "{{BaseURL}}/backup.sh"
|
|
|
|
- "{{BaseURL}}/compile.sh"
|
|
|
|
- "{{BaseURL}}/env.sh"
|
|
|
|
- "{{BaseURL}}/init.sh"
|
|
|
|
- "{{BaseURL}}/startup.sh"
|
|
|
|
- "{{BaseURL}}/wp-setup.sh"
|
|
|
|
- "{{BaseURL}}/deploy.sh"
|
|
|
|
- "{{BaseURL}}/aws.sh"
|
2022-07-28 13:10:18 +00:00
|
|
|
- "{{BaseURL}}/reminder.sh"
|
|
|
|
- "{{BaseURL}}/mysqlbackup.sh"
|
|
|
|
- "{{BaseURL}}/dev2local.sh"
|
|
|
|
- "{{BaseURL}}/local2dev.sh"
|
|
|
|
- "{{BaseURL}}/local2prod.sh"
|
|
|
|
- "{{BaseURL}}/prod2local.sh"
|
2021-06-07 14:52:33 +00:00
|
|
|
|
2021-06-06 14:09:29 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2022-10-13 09:36:07 +00:00
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- ".*?bin.*?sh"
|
|
|
|
- ".*?bin.*?bash"
|
|
|
|
condition: or
|
2021-06-07 14:52:33 +00:00
|
|
|
|
2021-06-06 14:09:29 +00:00
|
|
|
- type: word
|
2022-10-13 09:36:07 +00:00
|
|
|
part: header
|
2021-06-06 14:09:29 +00:00
|
|
|
words:
|
2021-06-07 14:52:33 +00:00
|
|
|
- "application/x-sh"
|
2021-06-06 14:09:29 +00:00
|
|
|
- "text/plain"
|
2021-06-07 14:52:33 +00:00
|
|
|
- "text/x-sh"
|
|
|
|
condition: or
|
|
|
|
|
2022-10-13 09:36:07 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|