harrisbot

posted by tom / August 10, 2006 /

It turns out that anonymously rigging a frivolous online poll is pretty easy.

  1. Install Tor
  2. Install Privoxy
  3. Use a script like this one:

    #!/usr/bin/perl

    use WWW::Mechanize;

    my $url = 'http://some/survey/';
    my $desired_number_of_votes = 100;

    my $mech = WWW::Mechanize->new();
    $mech->proxy(['http', 'ftp'], 'http://127.0.0.1:8118/');

    for(my $i=0;$i<$desired_number_of_votes;$i++)
    {

    $mech->get( $url );
    $mech->submit_form(
    form_number => 0,
    fields => {
    form_field_to_set => 'value_to_set_it_to'
    }
    );
    }

If you wanted to get serious about it, you'd probably want to put in some logic to make the script's behavior on the remote site look a little more normal: adjust the browser string it reports, put in some believable referring URLs, add a sleep entry between requests, have it click around the target site at random, and perhaps run a few instances of the script in parallel. But none of that stuff is too difficult, and for a poorly-secured poll (as this one would have to be — there aren't that many Tor exit nodes to provide varying IPs), much of it would probably be unnecessary.

Actually, it turns out that the hardest part about this whole process is remembering what day voting ends. And on that note: fuck.

Comments

hahahahah. (copy/paste/save for '07!)

Posted by: the g on August 10, 2006 02:27 PM

Post A Comment

Name


Email Address


URL


Comments


Remember info?



Google Analytics