nampud / oprah-proxy

Generate credentials for Opera's "browser VPN"
MIT License
24 stars 8 forks source link

using curl with this proxy #3

Open mokhtarabadi opened 5 years ago

mokhtarabadi commented 5 years ago

I understand the proxy certificate is issued for *.sec-tunnel.com but we use IP address instead host names so NET::ERR_CERT_COMMON_NAME_INVALID error occurred

for use proxies in curl just put --proxy-insecure in curl command line

complete example curl --proxy-insecure --proxy-user 6DB7903D34953CEEBF52BB35C5908161C3A7D984:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb3VudHJ5IjoibmwiLCJpYXQiOjE1NjA1MzMyOTQsImlkIjoic2UwMzE2LXJydGM4eWVhaHJkbHR2eHBiODh2IiwiaXAiOiI5NS4yMTEuMTAyLjIzNSJ9.5iJNr95Jx5TSFN9IcyY_hNg1QchS6BBxMmH8YTc0UxQ --proxy https://77.111.246.5:443 ip-api.com/json/

anyone know how to get host names?

nampud commented 5 years ago

I haven't found any working hostnames, so it's possible that there are no hostnames (that resolve outside of Opera). Opera uses hostnames such as eu0.sec-tunnel.com but these don't resolve.