Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wpscan not following redirect when I set format to json #1832

Open
j0se-ad opened this issue Feb 26, 2024 · 0 comments
Open

Wpscan not following redirect when I set format to json #1832

j0se-ad opened this issue Feb 26, 2024 · 0 comments

Comments

@j0se-ad
Copy link

j0se-ad commented Feb 26, 2024

Hi. I'm running wpscan on my python script and these are the logs for it:
I noticed that wpscan is stopping when identifying redirects but does not follow them, instead it just throws and error and stops the scan.

Can you help please?

2024-02-26 19:26:49,545 - ERROR - WPScan command failed with error: Command '['wpscan', '--url', 'mysite1.wpengine.com', '--enumerate', 'ap,at,tt,cb,dbe,u,m', '--plugins-detection', 'mixed', '--format', 'json', '--random-user-agent', '--disable-tls-checks']' returned non-zero exit status 4.
2024-02-26 19:26:49,547 - ERROR - Error output: {
  "banner": {
    "description": "WordPress Security Scanner by the WPScan Team",
    "version": "3.8.25",
    "authors": [
      "@_WPScan_",
      "@ethicalhack3r",
      "@erwan_lr",
      "@firefart"
    ],
    "sponsor": "Sponsored by Automattic - https://automattic.com/"
  },
  "scan_aborted": "The URL supplied redirects to https://mysite2.ua/. Use the --ignore-main-redirect option to ignore the redirection and scan the target, or change the --url option value to the redirected URL.",
  "target_url": "http://mysite1.wpengine.com/"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant