wpscanteam / wpscan

WPScan WordPress security scanner. Written for security professionals and blog maintainers to test the security of their WordPress websites. Contact us via contact@wpscan.com
https://wpscan.com/wordpress-cli-scanner
Other
8.54k stars 1.26k forks source link

json output #1800

Closed snepedz closed 1 year ago

snepedz commented 1 year ago

wpscan --url "https://google.com" --random-user-agent --format json -h image

and if we do wpscan --url "https://google.com" --random-user-agent --format json -o hey.json ther is no output

alexsanford commented 1 year ago

It looks like both commands are behaving as intended. In the first case, the -h flag is causing it to output the help text, and --format json means the output is JSON formatted. The second command has no output in the terminal because -o hey.json is causing the output to be written to the hey.json file instead.

Closing this for now, but feel free to reopen with more details if it is still doing something unexpected.