Skip to main content

Command Palette

Search for a command to run...

WPScan Bash Script

Published
1 min read
#!/bin/bash

# Check if URL is provided as an argument
if [ -z "$1" ]; then
  echo "Usage: $0 <url>"
  exit 1
fi

# Store the URL in a variable
URL=$1

# Execute the docker command with the provided URL
# the api-token is obtained for free from the wpscan.com website (registration required)
sudo docker run -it --rm wpscanteam/wpscan --enumerate u --api-token <token-value> --url "$URL"

More from this blog

N

Nexxium

11 posts