{"action":"created","issue":{"url":"https://api.github.com/repos/wpscanteam/wpscan/issues/1006","repository_url":"https://api.github.com/repos/wpscanteam/wpscan","labels_url":"https://api.github.com/repos/wpscanteam/wpscan/issues/1006/labels{/name}","comments_url":"https://api.github.com/repos/wpscanteam/wpscan/issues/1006/comments","events_url":"https://api.github.com/repos/wpscanteam/wpscan/issues/1006/events","html_url":"https://github.com/wpscanteam/wpscan/issues/1006","id":181204130,"number":1006,"title":"Connects to SOCKS5 proxy as HTTP","user":{"login":"kevinnivek","id":10157252,"avatar_url":"https://avatars.githubusercontent.com/u/10157252?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinnivek","html_url":"https://github.com/kevinnivek","followers_url":"https://api.github.com/users/kevinnivek/followers","following_url":"https://api.github.com/users/kevinnivek/following{/other_user}","gists_url":"https://api.github.com/users/kevinnivek/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinnivek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinnivek/subscriptions","organizations_url":"https://api.github.com/users/kevinnivek/orgs","repos_url":"https://api.github.com/users/kevinnivek/repos","events_url":"https://api.github.com/users/kevinnivek/events{/privacy}","received_events_url":"https://api.github.com/users/kevinnivek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-05T16:31:05Z","updated_at":"2016-10-05T16:43:40Z","closed_at":null,"body":"Hello,\r\n\r\nI've been trying to utilize a series of SOCKS5 proxies with wpscan and have noticed that even if I specify the **--proxy** flag with **socks5://127.0.0.1:9000** , it still attempts to connect to the proxy as an HTTP proxy, which I understand is the default if no proxy type is specified.\r\n\r\nFind the debug-output below from my attempt : \r\n\r\n```\r\n# ./wpscan.rb --url https://domain --proxy socks5://127.0.0.1:9000 --debug-output -r\r\n_______________________________________________________________\r\n        __          _______   _____\r\n        \\ \\        / /  __ \\ / ____|\r\n         \\ \\  /\\  / /| |__) | (___   ___  __ _ _ __\r\n          \\ \\/  \\/ / |  ___/ \\___ \\ / __|/ _` | '_ \\\r\n           \\  /\\  /  | |     ____) | (__| (_| | | | |\r\n            \\/  \\/   |_|    |_____/ \\___|\\__,_|_| |_|\r\n\r\n        WordPress Security Scanner by the WPScan Team\r\n                       Version 2.9.1\r\n          Sponsored by Sucuri - https://sucuri.net\r\n   @_WPScan_, @ethicalhack3r, @erwan_lr, pvdl, @_FireFart_\r\n_______________________________________________________________\r\n\r\nAbout to connect() to proxy 127.0.0.1 port 9000 (#0)\r\n  Trying 127.0.0.1... connected\r\nConnected to 127.0.0.1 (127.0.0.1) port 9000 (#0)\r\nEstablish HTTP proxy tunnel to domain:443\r\nCONNECT domain:443 HTTP/1.1\r\nHost: domain:443\r\nProxy-Connection: Keep-Alive\r\n\r\nHTTP/1.0 501 Tor is not an HTTP Proxy\r\nContent-Type: text/html; charset=iso-8859-1\r\n\r\nReceived HTTP code 501 from proxy after CONNECT\r\nClosing connection #0\r\nFailure when receiving data from the peer\r\n\r\n[!] The WordPress URL supplied 'https://domain/' seems to be down. Maybe the site is blocking wpscan so you can try the --random-agent parameter.\r\n```"},"comment":{"url":"https://api.github.com/repos/wpscanteam/wpscan/issues/comments/251730198","html_url":"https://github.com/wpscanteam/wpscan/issues/1006#issuecomment-251730198","issue_url":"https://api.github.com/repos/wpscanteam/wpscan/issues/1006","id":251730198,"user":{"login":"kevinnivek","id":10157252,"avatar_url":"https://avatars.githubusercontent.com/u/10157252?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinnivek","html_url":"https://github.com/kevinnivek","followers_url":"https://api.github.com/users/kevinnivek/followers","following_url":"https://api.github.com/users/kevinnivek/following{/other_user}","gists_url":"https://api.github.com/users/kevinnivek/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinnivek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinnivek/subscriptions","organizations_url":"https://api.github.com/users/kevinnivek/orgs","repos_url":"https://api.github.com/users/kevinnivek/repos","events_url":"https://api.github.com/users/kevinnivek/events{/privacy}","received_events_url":"https://api.github.com/users/kevinnivek/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T16:43:40Z","updated_at":"2016-10-05T16:43:40Z","body":"And libcurl : \r\n\r\n```\r\n# rpm -qa | grep libcurl\r\nlibcurl-devel-7.50.3-1.0.cf.rhel6.x86_64\r\nlibcurl-7.50.3-1.0.cf.rhel6.x86_64\r\n```"}}
{"actor":{"display_login":"kevinnivek"}}