2017 © Pedro Peláez
 

library curl_over_tor

Wrapper for CURL, which uses TOR server as socks5 proxy.

image

ghopper/curl_over_tor

Wrapper for CURL, which uses TOR server as socks5 proxy.

  • Saturday, April 22, 2017
  • by GHopper
  • Repository
  • 1 Watchers
  • 2 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

CurlOverTor

Wrapper for CURL, which uses TOR server as socks5 proxy. With this software architecture we can send plenty requests to a host and avoid blocking., (*1)

Configuring

All you need is proxy host, proxy ports and proxy control port password., (*2)

$proxy = [
    ['port' => 9050, 'cport' => 9051],
    ['port' => 9060, 'cport' => 9061],
    ['port' => 9070, 'cport' => 9071],
    ['port' => 9080, 'cport' => 9081]
];
$curtor = new CurlOverTor('127.0.0.1', $proxy, '1234');

I recommend work with at least 3 proxy ports for better performance. With only one port we spend much time for connection setup while with many ports we just switch current connection to another one, already prepared for data transfer., (*3)

Look at the example folder for more information., (*4)

Available methods

  • setMaxQueryCount($count=10);
  • setopt($opt,$val);
  • exec($url=NULL);

Requirements

  • TOR server
  • php_curl extension

The Versions

22/04 2017

dev-master

9999999-dev

Wrapper for CURL, which uses TOR server as socks5 proxy.

  Sources   Download

MIT

by Nikolay Poryadin

curl tor socks5 proxy

22/04 2017

v0.0.3

0.0.3.0

Wrapper for CURL, which uses TOR server as socks5 proxy.

  Sources   Download

MIT

by Nikolay Poryadin

22/04 2017

v0.0.1

0.0.1.0

Wrapper for CURL, which uses TOR server as socks5 proxy.

  Sources   Download

MIT

by Nikolay Poryadin

22/04 2017

v0.0.2

0.0.2.0

Wrapper for CURL, which uses TOR server as socks5 proxy.

  Sources   Download

MIT

by Nikolay Poryadin