You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin section in file deepscans/wp/init.py is appending the text /wp-content/plugins/ to the current URL to list the plugins. The problem is that the URL is not always the root domain and it could be changed to a folder it redirects. Ex: https://mydomain.com redirects to https://mydoamin.com/new-site/ and theme URLs are printed as https://mydoamin.com/new-site//wp-content/plugins/[plugin]. This can be easily fix with the use of urllib.parse.urljoin. Ex: sresult.end_subsub('URL: ' + cmseek.fgreen + urllib.parse.urljoin(url, f'/wp-content/plugins/{plug[0]}') + cmseek.cln). Could you also save the plugin URL in the output file? I noticed the results are printed but not saved into the output file.
The text was updated successfully, but these errors were encountered:
The plugin section in file deepscans/wp/init.py is appending the text /wp-content/plugins/ to the current URL to list the plugins. The problem is that the URL is not always the root domain and it could be changed to a folder it redirects. Ex: https://mydomain.com redirects to https://mydoamin.com/new-site/ and theme URLs are printed as https://mydoamin.com/new-site//wp-content/plugins/[plugin]. This can be easily fix with the use of urllib.parse.urljoin. Ex: sresult.end_subsub('URL: ' + cmseek.fgreen + urllib.parse.urljoin(url, f'/wp-content/plugins/{plug[0]}') + cmseek.cln). Could you also save the plugin URL in the output file? I noticed the results are printed but not saved into the output file.
The text was updated successfully, but these errors were encountered: