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
|
|
|
|
tags: bash,exposure
|
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:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-06-07 14:52:33 +00:00
|
|
|
|
2021-06-06 14:09:29 +00:00
|
|
|
- type: word
|
|
|
|
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"
|
2021-06-06 14:09:29 +00:00
|
|
|
part: header
|
2021-06-07 14:52:33 +00:00
|
|
|
condition: or
|
|
|
|
|
2021-06-06 14:09:29 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- ".*?bin.*?sh"
|
|
|
|
- ".*?bin.*?bash"
|
|
|
|
part: body
|
2022-07-28 13:10:18 +00:00
|
|
|
condition: or
|