Skip to content

kopiro/brutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Install tor first.

On Mac OS X, install typing brew install tor.

Example

<?php

$b = new Brutor([
	'times_per_ip' => 3,
	'times' => 'forever',
	'sleep_per_ip' => 10,
	'sleep' => 120,
	'random_ua'	=> true,
	'curl_request'	=> "'http://www.google.com' -X POST -H 'Origin: http://www.google.com'",
	'curl_continue' => function() { return true; },
	'curl_continue_per_ip' => function($resp) {
		return !!preg_match("/something/i", $resp);
	}
]);

$b->start();

Options

curl_request

The CURL shell request

curl_continue

A callback that parses (optionally) the request and can break the entire cycle

curl_continue_per_ip

A callback that parses (optionally) the request and can break the requests per IP

times_per_ip

Set how many times make requests per IP

times

Set how many times make requets globally

sleep_per_ip

Set how many seconds sleep after each request per IP

sleep

Set how many seconds sleep after each grouped request

random_ua

Set to true to random user agents for each request

About

PHP script to make anomymous CURL requests with Tor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages