Created
June 14, 2017 17:04
-
-
Save utkusen/65011f59387b8f706693f9573d06ade9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
pixelcanvas.io Sabotager | |
Fills given coordinate range randomly with random colors | |
Written by: Utku Sen / utkusen.com | |
""" | |
import requests | |
import json | |
from random import randint | |
import time | |
#Coordinate range the area | |
x_start = -162 | |
x_end = -97 | |
y_start = -181 | |
y_end = -169 | |
color = randint(0, 9) #Chooses random color, 0=white 1=grey 3=black 5=red etc. | |
fingerprint = "" #put your fingerprint value. you can check it with burp suite | |
while True: | |
try: | |
x = randint(x_start,x_end) | |
except: | |
x = randint(x_end,x_start) | |
try: | |
y = randint(y_start,y_end) | |
except: | |
y = randint(y_end,y_start) | |
params = '{"x":'+ str(x) + ',"y":'+ str(y) + ',"color":'+ str(color) + ',\"fingerprint\":\"' + fingerprint + '\",\"token\":null}' | |
r = requests.post("http://pixelcanvas.io:80/api/pixel", headers={"POST http": "/pixelcanvas.io/api/pixel HTTP/1.1", "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0", "Accept": "*/*", "Accept-Language": "en-GB,en;q=0.5", "Referer": "http://pixelcanvas.io/@-141,-250", "Content-Type": "application/json", "Origin": "http://pixelcanvas.io", "Content-Length": "91", "Connection": "close"}, data=params) | |
if r.status_code == 200: | |
print "Success! Coordinates: " + str(x) + " " + str(y) | |
else: | |
print "Error occured" | |
time.sleep(65) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there! Looks nice but how do i find out what my fingerprint is? I've tried Burp Suite but i must admit that its so complicated :)