Advertisement
vual

Vote For Benjamins

Feb 13th, 2014
458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.23 KB | None | 0 0
  1. # Made by VUAL.... For The Benjamins Baby!!!
  2. #
  3. # [BEN] 1Xhmfveu6mFduDarGfjAD2aKQ2xcW1rW1 << donate BEN
  4. #
  5. # > sudo apt-get install python -y
  6. # > dump this into blah.py
  7. # > python blah.py
  8. # .... leave for a few days while you are at work
  9. # This dosnt use proxies or vpn or anything its legit it just uses you and only votes once per hour.
  10. # Could be made to use proxies in a couple lines of code with incorperated proxy harvester and scrapper....
  11. # ..... but that would not be sportsman like, so this is all you get!
  12. #
  13. #
  14. #
  15. ####################################
  16.  
  17. import urllib.parse
  18. import urllib.request
  19. import time
  20.  
  21. while(1 == 1):
  22.     url = 'https://www.mintpal.com/action/addVote'
  23.     values = {'coin' : '41'}
  24.     headers = { 'User-Agent' : 'Mozilla/5.0 (X11; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0',
  25.                 'Host' : 'www.mintpal.com',
  26.                 'Accept' : '*/*',
  27.                 'Referer' : 'https://www.mintpal.com/voting',
  28.                 'X-Requested-With' : 'XMLHttpRequest'}
  29.                
  30.     data = urllib.parse.urlencode(values)
  31.     data = data.encode('utf-8') # data should be bytes
  32.     req = urllib.request.Request(url, data, headers)
  33.     response = urllib.request.urlopen(req)
  34.     the_page = response.read()
  35.  
  36.     print(the_page)
  37.     time.sleep(3769) #sleep 1hr and a little
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement