I am having difficulty using perl to visit a website via TOR if it is an https site but not if it is an http site.
my $mech = WWW::Mechanize->new();
$mech->proxy(['http', 'https'], 'socks://localhost:9150');
I am receiving the error message: Error GETing https://www.google.com: Status read failed: Bad file descriptor at line 10," where line i10 is the last line of the program.
In the TOR browser, I can successfully view: "https://www.google.com" with a port of 9150. I am using ActivePerl 5.16.2; Vadalia 0.2.21 and Tor 0.2.3.25. I have a Windows machine and my primary internet browser is Mozilla.
I have tried installing packages with the commands:
ppm install LWP::Protocol::https
ppm install LWP::Protocol::socks
ppm install Mozilla::CA
ppm install IO::Socket::SSL
ppm install Crypt::SSLeay