nuclei-templates/http/exposures/files/shellscripts.yaml

66 lines
1.5 KiB
YAML
Raw Normal View History

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
2024-01-02 16:16:15 +00:00
description: This template checks exposure of bash scripts.
metadata:
max-request: 27
2023-10-14 11:27:55 +00:00
tags: bash,exposure,files
2021-06-06 14:09:29 +00:00
http:
2021-06-06 14:09:29 +00:00
- method: GET
path:
- "{{BaseURL}}{{paths}}"
payloads:
paths:
- "/.build.sh"
- "/.jenkins.sh"
- "/.travis.sh"
- "/install.sh"
- "/update.sh"
- "/upload.sh"
- "/config.sh"
- "/build.sh"
- "/setup.sh"
- "/run.sh"
- "/backup.sh"
- "/compile.sh"
- "/env.sh"
- "/init.sh"
- "/startup.sh"
- "/wp-setup.sh"
- "/deploy.sh"
- "/aws.sh"
- "/reminder.sh"
- "/mysqlbackup.sh"
- "/dev2local.sh"
- "/local2dev.sh"
- "/local2prod.sh"
- "/prod2local.sh"
- "/rsync.sh"
- "/sync.sh"
- "/test.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
# digest: 4a0a00473045022000e537557952bfc5afb65259350ca730c54449042571269e1fef45cf04899aec022100b7be07fd7ee81139a198e53592a3766b8c55a4220813a298139b70990778bdce:922c64590222798bb761d5b6d8e72950