yebenjun / pulledpork

Automatically exported from code.google.com/p/pulledpork
GNU General Public License v2.0
0 stars 0 forks source link

Move from LWP to CURL #152

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Perl's LWP module has a documented list of problems when working with proxies - 
doesn't support NTLM auth, incorrectly uses GET https://www.snort.org/... 
instead of CONNECT www.snort.org:443, etc.

I propose that curl be used instead. I have hacked the latest pulledpork to 
work with WWW::Curl::Simple.

Original issue reported on code.google.com by konrads....@gmail.com on 12 Mar 2014 at 12:28

Attachments:

GoogleCodeExporter commented 8 years ago
Can't locate object method "new" via package "WWW::Curl::Simple" (perhaps you 
forgot to load "WWW::Curl::Simple"?) at ./pulledpork.pl line 44.

??? :(

Original comment by geblerch...@googlemail.com on 24 Jul 2014 at 12:39

GoogleCodeExporter commented 8 years ago
Geblrech... - do you have WWW::Curl::Simple installed on your system 
(http://search.cpan.org/~andremar/WWW-Curl-Simple-0.100191/lib/WWW/Curl/Simple.p
m)? It often does not ship by default with Linux distributions - you need to 
either download from repositories or perl -MCPAN -e 'install WWW::Curl::Simple'.

Original comment by konrads....@gmail.com on 24 Jul 2014 at 1:18

GoogleCodeExporter commented 8 years ago
Hi Konrad,

I am running Ubuntu Server 12.04. And yes, it is installed. 

Output perl -> "WWW::Curl::Simple is up to date (0.98)."

Original comment by geblerch...@googlemail.com on 24 Jul 2014 at 2:24