Advertisement
Guest User

Untitled

a guest
Aug 20th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. function pixelClick(color,x,y, f) {
  2. var xmlhttp = new XMLHttpRequest();
  3. xmlhttp.open("POST", "http://pixelcanvas.io/api/pixel");
  4. xmlhttp.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
  5. xmlhttp.send(JSON.stringify({"x":x,"y":y,"color":color,"fingerprint":f,"token":null,"a":x+y+8}));
  6. }
  7.  
  8. function rrr(min, max) {
  9. return Math.floor(Math.random() * (max - min) + min)
  10. }
  11.  
  12. setInterval(() => {
  13. var x = rrr(1481,1500) // enter range in width
  14. var y = rrr(1510,1530) // enter range in y
  15. var color = '5' // 0 is white, 5 is red
  16. pixelClick(color, x, y, "REPLACE_WITH_YOUR_FINGERPRINT")
  17. },10 * 1000) // 10 is how often to try in seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement