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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 23
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: bash,exposure,files
|
2021-06-06 14:09:29 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-06-06 14:09:29 +00:00
|
|
|
- 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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100e995ef79c91ebcd677cb64000ff4006e5dd9eecfddae9f468cb1bd5b39b33f7f0220232bbde057ff519652934acd3a07ae94cfed3858d2c3da1d5502a0048cc61462:922c64590222798bb761d5b6d8e72950
|