2017 © Pedro Peláez
 

library foxy-tools

“I solemnly swear that I am planning a prank, and only prank…”

image

limych/foxy-tools

“I solemnly swear that I am planning a prank, and only prank…”

  • Monday, August 28, 2017
  • by Limych
  • Repository
  • 1 Watchers
  • 0 Stars
  • 29 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 3 Versions
  • 4 % Grown

The README.md

Foxy-Tools

“I solemnly swear that I am planning a prank, and only prank…”, (*1)

Latest Stable Version Latest Unstable Version License composer.lock Dependency Status GitHub issues GitHub pull requests, (*2)

Foxy-Tools — is a set of PHP-tools for not quite legal cases on the web., (*3)

Instalation

Using Composer

Composer is the recommended way to install Foxy-Tools. Alternatively, if you prefer not to use Composer, but want to install Foxy-Tools, you can do so by doing a direct download., (*4)

Currently, Foxy-Tools is available at packagist.org. To use it in your project, you need to include it as a dependency in your project composer.json file., (*5)

Instructions

  1. Download Composer if not already installed
  2. Go to your project directory. If you do not have one, just create a directory and cd in., (*6)

    $ mkdir project
    $ cd project
    
  3. Execute composer require "paypal/rest-api-sdk-php:*" on command line. Replace composer with composer.phar if required. It should show something like this:, (*7)

    $ composer require limych/foxy-tools
    
    # output:
    ./composer.json has been created
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    - Installing limych/foxy-tools (v1.0)
    Loading from cache
    
    Writing lock file
    Generating autoload files
    

Using direct download

If you do not want to use composer, you can grab the zip that contains Foxy-Tools with all its dependencies with it., (*8)

Instructions

  1. Download latest/desired release zip file from Releases Section
  2. Go to your project directory. If you do not have one, just create a directory and cd in.
mkdir project
cd project
  1. Unzip, and copy directory to your project location

Usage

Proxy format

{type}://{user}:{password}@{host}:{port}

Some examples:, (*9)

183.95.132.76
195.5.18.41:8118
socks5://195.5.18.41:8118
socks5://user:password@195.5.18.41:8118

Check one proxy

$pingUrl = 'http://yourdomain.com/ping.php';
$proxy = 'xxx.xxx.xxx.xxx:xx';

$proxyChecker = new ProxyChecker($pingUrl);
$results = $proxyChecker->checkProxy($proxy);

Check several proxies

$pingUrl = 'http://yourdomain.com/ping.php';
$proxies = array('xxx.xxx.xxx.xxx:xx', 'xxx.xxx.xxx.xxx:xx');

$proxyChecker = new ProxyChecker($pingUrl);
$results = $proxyChecker->checkProxies($proxies);

Result

Allowed/Disallowed

Array allowed/disallowed operations of proxy (get, post, referer, cookie, user_agent), for example:, (*10)

'allowed' => array (
    0 => 'get',
    1 => 'post',
    2 => 'referer',
    3 => 'user_agent'
)

'disallowed' => array (
    0 => 'cookie'
)

Proxy level

  • elite — connection looks like a regular client;
  • anonymous — no ip is forworded but target site could still tell it's a proxy;
  • transparent — ip is forworded and target site would be able to tell it's a proxy., (*11)

    'proxy_level' => 'elite', (*12)

Other info

Other proxy info - time, http code, redirect count, speed etc:, (*13)

'info' => array (
  'content_type' => 'text/html',
  'http_code' => 200,
  'header_size' => 237,
  'request_size' => 351,
  'ssl_verify_result' => 0,
  'redirect_count' => 0,
  'total_time' => 1.212548,
  'connect_time' => 0.058647,
  'size_upload' => 143,
  'size_download' => 485,
  'speed_download' => 399,
  'speed_upload' => 117,
  'download_content_length' => 485,
  'upload_content_length' => 143,
  'starttransfer_time' => 1.059746,
  'redirect_time' => 0,
  'certinfo' => array (),
)

The Versions

28/08 2017

dev-master

9999999-dev https://github.com/Limych/foxy-tools

“I solemnly swear that I am planning a prank, and only prank…”

  Sources   Download

MIT

The Requires

 

bot useragent toolkit user-agent proxychecker proxy-checker

05/08 2017

v0.2

0.2.0.0 https://github.com/Limych/foxy-tools

“I solemnly swear that I am planning a prank, and only prank…”

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bot useragent toolkit user-agent proxychecker proxy-checker

05/08 2017

v0.1

0.1.0.0 https://github.com/Limych/foxy-tools

“I solemnly swear that I am planning a prank, and only prank…”

  Sources   Download

MIT

The Requires

  • php >=5.3

 

bot useragent toolkit user-agent proxychecker proxy-checker