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

63 lines
1.7 KiB
YAML
Raw Normal View History

2021-06-06 19:39:29 +05:30
id: shellscripts
info:
2021-06-07 20:22:33 +05:30
name: Public shellscripts
2021-06-06 19:39:29 +05:30
author: panch0r3d
2021-06-07 20:22:33 +05:30
severity: low
2024-01-02 21:46:15 +05:30
description: This template checks exposure of bash scripts.
metadata:
max-request: 27
2023-10-14 16:57:55 +05:30
tags: bash,exposure,files
2021-06-06 19:39:29 +05:30
http:
2021-06-06 19:39:29 +05:30
- method: GET
path:
- "{{BaseURL}}/.build.sh"
- "{{BaseURL}}/.jenkins.sh"
- "{{BaseURL}}/.travis.sh"
- "{{BaseURL}}/install.sh"
- "{{BaseURL}}/update.sh"
2024-01-04 15:04:42 +08:00
- "{{BaseURL}}/upload.sh"
2021-06-06 19:39:29 +05:30
- "{{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"
- "{{BaseURL}}/reminder.sh"
- "{{BaseURL}}/mysqlbackup.sh"
- "{{BaseURL}}/dev2local.sh"
- "{{BaseURL}}/local2dev.sh"
- "{{BaseURL}}/local2prod.sh"
- "{{BaseURL}}/prod2local.sh"
2024-01-04 15:04:42 +08:00
- "{{BaseURL}}/rsync.sh"
- "{{BaseURL}}/sync.sh"
- "{{BaseURL}}/test.sh"
2021-06-07 20:22:33 +05:30
2021-06-06 19:39:29 +05:30
matchers-condition: and
matchers:
2022-10-13 15:06:07 +05:30
- type: regex
part: body
regex:
- ".*?bin.*?sh"
- ".*?bin.*?bash"
condition: or
2021-06-07 20:22:33 +05:30
2021-06-06 19:39:29 +05:30
- type: word
2022-10-13 15:06:07 +05:30
part: header
2021-06-06 19:39:29 +05:30
words:
2021-06-07 20:22:33 +05:30
- "application/x-sh"
2021-06-06 19:39:29 +05:30
- "text/plain"
2021-06-07 20:22:33 +05:30
- "text/x-sh"
condition: or
2022-10-13 15:06:07 +05:30
- type: status
status:
- 200
# digest: 4a0a0047304502203eed3f6c9d8e944eff0cc0c62b52a0908a3ec38dfb5ff54cd6245f48b954353d022100a052fe3641894045ffa5a7b4b803d3c6125b63efd513b4edde7b10313b5f01f1:922c64590222798bb761d5b6d8e72950