Skip to content

Instantly share code, notes, and snippets.

@ajdumanhug
Created September 17, 2025 06:30
Show Gist options
  • Save ajdumanhug/13619a810cc4b6a138b66a65ae0abacc to your computer and use it in GitHub Desktop.
Save ajdumanhug/13619a810cc4b6a138b66a65ae0abacc to your computer and use it in GitHub Desktop.
Wrapper for nuclei with command-line target input.
#!/bin/bash
# Description: Wrapper for nuclei with command-line target input.
# Check if target is passed
if [ -z "$1" ]; then
echo "Usage: $0 <target>"
exit 1
fi
# Set the target from the first argument
TARGET="$1"
# Define the static parameters
TID="" #Provide Nuclei Team ID here
SEVERITY="info,low,medium,high,critical"
# Run nuclei
nuclei -tid "$TID" -cloud-upload -target "$TARGET" -severity "$SEVERITY"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment