• December 21, 2024

Polldaddy Bot

kennymcavoy/VotingBot: Voting Bot for Polldaddy.com – GitHub

The original file is created by Alex Beals, git username: dado3212.
It was then edited to add tor functionality by Kenny McAvoy
This is pretty easy to use. Just download the Python script, and customize the variables for what form/answer/number of votes.
Be sure to add your tor hash password found in torrc file.
It needs Python 2. 7. 6. // Updated to Python 3.
Also be sure to do pip install requests and pip install TorRequest
Disclaimer
This script will may not — I have not tested it with new tor functionality work on polls that do not allow multiple votes from one person. The useragents and proxy settings will help try and mask your mass voting, but they will not get you around IP blocks. If someone wants to give a shot at forking this and adding that functionality, I will be happy to merge it in.
Example
You want to rig this poll: for the answer “It’s a great way to keep kids in line during a crazy time of year. “, and you want to vote 1000 times. The poll_id comes from the url:. The answer_id comes from the looking at the source code for the associated checkbox: .
Thus, you would want the variables to be set to:
poll_id = 9206448
answer_id = 41930288
number_of_votes = 1000
polldaddy does silent vote limiting : r/HelloInternet - Reddit

polldaddy does silent vote limiting : r/HelloInternet – Reddit

If you choose to vote with a script, be smart about it. I’ve done a little bit of research (spending more time than I would care to admit on a Sunday) and I am positive that if you are sending more than one vote per two seconds, you are getting silently rejected. What this means is:If you are running more than two (or even just two) tabs of browser scripts, you are dancing on the edge of the rate limit. However, I did not verify that for 100% because not in the you are using the bash/shell script, you are actually not voting at all. That script does not set &n= for its vote url and also waits for 1 second while sending 4 requests in parallel. That gets silently rejected for sure (i. e. it will get a “vote registered” or “vote successful” but in fact the vote count does not change). I know that because I tried it while coding my own script (below) and debugging it on my own you are not familiar with programming, your best bet is a single browser tab of a slow-ish script. Otherwise your best bet is to test your script on your own polls first and see if they get I am being too pessimistic about the rate-limit threshold, please correct nally, the rebel Tim /u/TheFlaggyAlliance who was demonstrating their total control over the poll figures in the previous round has actually done an excellent job from a technical standpoint. I could not repeat thatMy python script, a vote ~2. 5 seconds (slower is better). You need python 3. 6 experience, BeautifulSoup, requests, maybe a hammer and some duct sample script output
Hacking Polldaddy - Faking the Votes of the Contest Poll

Hacking Polldaddy – Faking the Votes of the Contest Poll

As many of you know, RustyBrick had a Halloween contest and a PollDaddy poll was set up in order to vote for the winner. It was going to be a tough race. First of all, Mabe had an outstanding satyr costume. Both Jimmy and Joe submitted adorable shots of their children all dressed up. Heck, even the ellusive Andy wore a costume! So, how could I possibly compete with race car drivers, hot satyrs and cute kids? By cheating! I did ask permission with Barry first who informed me that “anything goes”. Seeing this as a fun little challenge, I looked at the poll on the blog page and began the peel away at the edges to unlock the heart of the poll so I could bend it to my will. **NOTE: There’s computer-programming talk below. But DON’T PANIC. I made it super easy to follow, even for a computer newbie. Keep reading and I guarantee no matter what your skill level is, you’ll learn something*** Well, the poll was run by PollDaddy, a popular online poll service. The widget on the blog is a bit confusing because it’s coded a bit funny to make up for the fact that it’s not running off it’s “home” website. Because of this fact, it’s compressed and weird. So, instead of delving into the code on the blog, I figured there has to be an original version on “homepage” of the code back at the PollDaddy page. I used Firebug, a Firefox extension to look through the source revealed a NOSCRIPT tag used to provide a link for users without Javascript enabled. Voila! We can now go straight to the PollDaddy poll here! OK, so we see a big form with all the entries. To vote, you click on the radio button and then click the big green vote button. Time to crack this baby open and see how she runs. Back to Firebug to inspect the radio button next to my name. The radio button appears to have a “name” of PDI_answer, an “id” of PDI_answer10761055 and a “value” of 10761055. So, based on this information, I am going to make the assumption that 10761055 is my unique identifier. This means that when you submit the form with me selected, it takes the value 10761055 and sends it to the code that processes the vote. Sure enough, all the other entries had values increasing incrementally. (Meaning that the next entry down [Andy] had a value of 10761056, Jimmy had a value of 10761057 and so on. ) Cool, now it’s time to try and see if we can figure out what other data is passed to the code processor to create a “vote”. The next step I did was look for the FORM tag to see if I could find secret variables sent to the code processor passed as hidden INPUT’s. Instead of looking through the code, I used the powerful Firefox extension Web Developer Toolbar and ran the “Display Form Details” tool. This displayed all the details of every FORM on the page. The first FORM was the little Search form on the top right. The second FORM was the important voting form. Darn! It only shows the 5 radio buttons… even the action is blank. [The FORM action is the location of the code of the code processor… where the information is sent after you click “vote”]. And our report from Web Developer Toolbar has just given us what we already know… OK, not all is lost yet, we can still get a clue by looking at the “Vote” button which submits the form. Aha! The vote “button” isn’t even a button at all! It’s an image that calls a Javascript function when it’s clicked. The function it calls is called “vote” and it passes 5 variables to the vote function. The data it’s passing here appears to be 5 numbers. 2189218, 0, 1, 0 and 10. Now, looking at the URL of the poll page, I can tell that the first number is the ID for the poll itself. This is sent so that when the vote is tallied, it’ll know which poll to tally it to. OK, now we have to look for the javascript function called “vote”. Hopefully, it will help clue us into what the other 4 numbers being passed are all about. Viewing the page source shows that the Javascript function isn’t right on the page; it has to be in one of the included Javascript files. Again, the developer toolbar can help us out by going to “Information”, then “View Javascrip”t. This features grabs the source of all the included Javascript files. Toolbar shows us that, not only are they non-obfuscated, the function we need to analyze is right in the first included Javascript file, “”! With the actual function, we can see the variable names being passed. They are id, poll_other, rand, poll_type and u. ID links with the poll and I assume rand is just a random number to prevent spamming. The other ones probably just identify the type of poll (e. g. non-multiple choice, etc. ) Looking at the code of the function, we can see how the form is processed and the data is sent to the code processor. function vote(id, poll_other, rand, poll_type, u) { var answerString = ”; var otherText = ”; for (i = 0; i <; i++) { if (rmPoll. elements[i] == "checkbox" || rmPoll. elements[i] == "radio") { if (rmPoll. elements[i]. checked) { answerString += rmPoll. elements[i] + ', ';}}} if (poll_other == 1) { otherText = $('PDI_OtherText');} if ( > 0 || > 0) { = ‘/vote/? va=’ + u + ‘&pt=’ + poll_type + ‘&r=’ + rand + ‘&p=’ + id + ‘&a=’ + answerString + ‘&o=’ + otherText;} else { alert(‘Please choose an answer first! ‘);}} The loop between the function whose brackets I highlighted in red go through the form and grab the value of the person you checked (in this case, my unique identifer of 10761055). The function whose brackets in green aren’t used in this poll. And lastly, but most importantly, the part in the blue brackets is what sets the page to redirect to the code processor while sending along 6 variables. va = “u”, the 5th parameter in the vote function = 10 pt = “poll_type”, the 4th parameter in the vote function = 0 r = “rand”, the 3rd paramenter in the vote function = 1 p = id, the 1st parameter in the vote function = 2189218 [the poll’s ID number] a = answerString, the unique identifer of my entry in the poll = 10761055 o = otherText = [blank] So using this data, we can create the way to make out votes. Every time the following URL is accessed, a vote is placed for me in the poll. We’re almost there… so close! Now, PollDaddy put some roadblocks in place to prevent the user from simply refreshing the page and revoting. The main way it does this is by setting a cookie on the user. A cookie is a piece of data stored by a website on your computer. In this case, the cookie says “I already voted in this poll”. When you come back and try and vote on the poll again, the website reads your cookie, sees you’ve already voted and won’t let you vote again. Now, there’s 2 easy ways to counteract this. The first comes back to the good old Web Developer Toolbar. By going to “Cookies”, then “Disable All Cookies”. The website will not be able to store its “you already voted” cookie and therefore when you refresh the poll and come back, you can vote again! However, this vote, refresh, vote process is too slow and too boring for me. To truly dominate the poll, I need to create a program that could keep submitting the data for me automatically! I acheived this using PHP and the built-in cURL library. The cURL library is a very powerful library of codes that help the server running your PHP script communicate with another server (in our case, the PollDaddy server). So, all the code needs to do is just keep sending this data to server over and over again. The code I used to accomplish this is below. This code begins by calling “set_time_limit(0)”. This tells the PHP script to ignore the built-in time limit and to run forever. The next part begins a while loop which is deliberately written to loop forever. The next 3 lines set some of the data to be sent including the random number, the poll id and the id of my entry. The next line is used in a attempt to foll PollDaddy into thinking that it’s a browser sending this data and not the truth, which is a server PHP script. Then the code sets up a connection to PollDaddy, sends out the data to be tallied and takes a quick 6 second “sleep” break before looping and sending the data again. Now, PollDaddy has a system in place to prevent this type of “poll spamming”. It tracks all incoming votes based on the unique IP address. And if alot of votes are coming from one IP address all at once, a temporary ban is placed on that IP address and all the questionable votes are deleted. This is why the script is told to sleep for 6 seconds because if you have run in a constantly loop, it will run multiple times every second and in about a minute, you could easily have over a 1, 000 votes. This will get you banned very quickly as I soon discovered. When I ran this on the RB server, the whole office was blocked from voting on the poll since all the computers share an IP address. Through trial and error, I found that a 6 second sleep was perfect for getting a maximum amount of votes without being banned. Through the help of Wesley and other friends who had access to servers, we were able to spread the script around and run them all simultaneously. This is what allowed me to rack up 1, 000s of votes in less than an hour. So, there you have it! With a little bit of ingenuity, a lot of technical skill and some luck, it can be quite easy and fun to do some low-grade “hacking”. In my case, it can even be profitable!! Thanks for the $50 iTunes gift card Barry, and better luck next time everybody else!

Frequently Asked Questions about polldaddy bot

Leave a Reply