The test on youtube

I love how that thread deteriorated into an argument. I never did understand why people waste their time arguing over the internet. I guess it's brain stimulation tho.. better than watchin mindless p0rn and getting addicted to it.. So maybe it is good .. lol

So who thinks the OP is telling the truth ?
 
well the views are going way up !! so I would say that software it working
I love how that thread deteriorated into an argument. I never did understand why people waste their time arguing over the internet. I guess it's brain stimulation tho.. better than watchin mindless p0rn and getting addicted to it.. So maybe it is good .. lol

So who thinks the OP is telling the truth ?
 
someone should get it its only 35

please get it dear and share with me, lol

remember the guy selling the same type of product for $500 for 1000 views a day? ahahahahhah - this is a slap
 
I just finished an app in perl that does it. I'm testing , maybe i'll post on here afterwards.
 
some of these people arguing sound like total douche bags
 
Ahh, here it is.

Needs:
Perl 5.3+
LWP::UserAgent
HTTP::Request::Common
Parallel::ForkManager

list of proxies in format:
IP:PORT

or linux machine with a decent amount of IPS & bandwidth.

I imagine this won't run so fast via proxies.. I also don't know how often youtube updates stats.



Code:
#!/usr/bin/perl
# youBoob

use LWP::UserAgent;
use HTTP::Request::Common;
use Parallel::ForkManager;

my %config;
our (%iptracking,%proxytrack);

%config = (
		   video_url => 'http://www.youtube.com/watch?v=',  				# Video URL...
		   use_random_ips => 1, 																							# If you have a server with many IPS set to 1.
		   use_proxies => 0, 																									# Use Proxy list 1 = yes...
		   proxy_list =>'proxylist.txt', 																			# List Format  IP:PORT
		   max_threads => 50,  																								# Max processes
		   max_views_per_host => '200',																				# Max views per IP / Proxy
		   ifconfig_path => '/sbin/ifconfig',																	# Path to ifconfig [to find local IPs]
		   debug => 1,																												# Print out infoz..
			);


	
main();

sub main {
		
		my $pm = new Parallel::ForkManager();
		$pm = new Parallel::ForkManager($config{max_threads});
		
		if ($config{use_random_ips}) { our (@localaddrs) = get_local_ips(); print "Found: $#localaddrs local ipsn" if ($config{debug});}
		if ($config{use_proxies}) { our (@proxies) = loadfile($config{proxy_list}); print "Loaded: $#proxies proxies from $confg{proxy_list}n" if ($config{debug});}
		
		if ($config{debug}) {
				print "Configured Options:n"; 
				while ( my ($opt,$value) = each (%config)) { print "t$opt => $valuen";}
				}
				
		# Get busy!
		
		if ($config{use_random_ips}) { $doViews = $#localaddrs * $config{max_views_per_host}; }
		if ($config{use_proxies}) { $doViews = $#proxies * $config{max_views_per_host}; }
				
		print "Max Views: $doViewsn";
		$cView=0;
		
		for (1...$doViews) {
		$cView++;
		print "Loading view: $cViewn";
		
		if ($config{use_random_ips}) { 
				$localaddr = $localaddrs[int(rand(@localaddrs))];
				if ($iptracking{$localaddr} >= $config{max_views_per_host}) { $localaddr = $localaddr[int(rand(@localaddrs))]; } 
				print "Using LocalAddr => $localaddr TimesUsed => $iptracking{$localaddr} n" if $config{debug};
				$iptracking{$localaddr}++; 
				}
		
		if ($config{use_proxies}) { 
		$proxy = $proxies[int(rand(@proxies))];
		if ($proxytrack{$proxy} >= $config{max_views_per_host}) { $proxy = $proxies[int(rand(@proxies))]; }
		print "Using Proxy => $proxy TimesUsed => $proxytrack{$proxy} n" if $config{debug};
		$proxytrack{$proxy}++; 
		}
		my $pid = $pm->start and next;
				
		view_video();
		
		$pm->finish;
		
		}
		
		$pm->wait_all_children;
		

}


sub view_video {
		my $ua = LWP::UserAgent->new;
		$ua->agent('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/2006120418 Firefox/2.0.0.1');
		$ua->timeout('180');
		
		if ($config{use_proxies}) {
				$ua->proxy(['http'], 'http://$proxy');
		}

		if ($config{use_random_ips}) {
				@LWP::Protocol::http::EXTRA_SOCK_OPTS = (LocalAddr => $localaddr,Reuse => 1 ); 
		}
		
		my $req = HTTP::Request->new(GET => $config{video_url});
		$req->content_type('application/x-www-form-urlencoded');
		my $res = $ua->request($req);
		
#		if ($config{debug}) {
#				if ($res->is_success) {
#						print $res->content;
#						}
#		}
		
		if ($res->is_success) {
		print "OK! Loadedn";
		print "Used: $localaddrn" if ($config{use_random_ips});
		print "Used: $proxyn" if ($config{use_proxies});
		}
	
		
		
}


sub load_file {
my ($fname) = @_;
my (@fhin);
			open(FH,"$fname") || die "can't open $fname: $0";
				
				while (<FH>) {
						s/n//g;
						s/r//g;
						push(@fhin,$_);
				}
				
			close(FH);
			return(@fhin);
}

sub get_local_ips {
my @iflines = `$config{ifconfig_path}`;
		for (@iflines) { 
				if (/s*inet addr:([d.]+)/) {
						push(@local_addrs,$1);
					}
				}
		return @local_addrs;
}
 
I just noticed this forum strips the \n from the code tag.. What's the purpose of a code tag if \n is stripped?? lol
 
I attached the script to this post because the code tags strip \n and i'm too lazy to add an extra \ to the code and paste it again..
 

Attachments

nicksor, does the code work on your host ?
i tried but got error below:

500 Internal Server Error
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 
I just bought it and it already working , I would share it but it connect to a server to check the key so don't want to lose it. 35 bucks I will make that back in about 2hr ,nicksor couldn't get your code to work
 
It's not a web based perl script. It's a console based script. That's why you received a 500 error. This will not work as a cgi script because of the run time limits imposed by apache on scripts.
 
how do you run a console based script?
It's not a web based perl script. It's a console based script. That's why you received a 500 error. This will not work as a cgi script because of the run time limits imposed by apache on scripts.
 
I just bought it and it already working , I would share it but it connect to a server to check the key so don't want to lose it. 35 bucks I will make that back in about 2hr ,nicksor couldn't get your code to work


is it any good?
 
please get it dear and share with me, lol

remember the guy selling the same type of product for $500 for 1000 views a day? ahahahahhah - this is a slap

i was thinking more along the lines of getting it and telling me if it works :)
 
I watched the video and it looks like it would work with any URL not just youtube. Have you been able to test if it will work with other sites?
 
Back
Top