Test filesSecurity and validation › shell-script.sh

Sample Shell script file

An executable shell script that only prints a line. Present to test extension blocklists.

↓ Download shell-script.sh
Filenameshell-script.sh
FormatShell script
Size65 bytes (65 bytes)
MIME typetext/x-shellscript
SHA-256439243ddb2ed338bbd64eef9e211dfd4832ccbfe86945b0e22d63ed3a065b9b8
What this file catchesUpload blocklists. This should be rejected by an allowlist-based validator. If your rule is a blocklist, check that it also catches .bash, .zsh, .command and a script with no extension at all.

Download & verify

curl -fsSL -o "shell-script.sh" "https://files.hexaqa.com/security/shell-script.sh"
curl -fsSL "https://files.hexaqa.com/security/shell-script.sh" | sha256sum # expect: 439243ddb2ed338bbd64eef9e211dfd4832ccbfe86945b0e22d63ed3a065b9b8

More security and validation test files

eicar.com.txtgtube-spam.txthtml-xss-payloads.htmlpath-traversal-payloads.txtpolyglot-gif-html.gifsql-injection-payloads.txtwindows-batch.bat

← All Security and validation files