Guest User

Untitled

a guest
Jul 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
  2. Accept-Encoding: gzip, deflate
  3. Accept-Language: en-US,en;q=0.9
  4. Cache-Control: max-age=0
  5. Connection: keep-alive
  6. Cookie: __test=9eea7a0d55374cb5b0673e2058581017
  7. Host: switch-check.cf
  8. Upgrade-Insecure-Requests: 1
  9. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
  10.  
  11. User-Agent python-requests/2.18.4
  12. Accept-Encoding: gzip, deflate
  13. Accept: */*
  14. Connection: keep-alive
  15.  
  16. <html>
  17.  
  18. <body>
  19. <script type="text/javascript" src="/aes.js"></script>
  20. <script>
  21. function toNumbers(d) {
  22. var e = [];
  23. d.replace(/(..)/g, function(d) {
  24. e.push(parseInt(d, 16))
  25. });
  26. return e
  27. }
  28.  
  29. function toHex() {
  30. for (var d = [], d = 1 == arguments.length && arguments[0].constructor == Array ? arguments[0] : arguments, e = "", f = 0; f < d.length; f++) e += (16 > d[f] ? "0" : "") + d[f].toString(16);
  31. return e.toLowerCase()
  32. }
  33. var a = toNumbers("f655ba9d09a112d4968c63579db590b4"),
  34. b = toNumbers("98344c2eee86c3994890592585b49f80"),
  35. c = toNumbers("c4ba932dbf1d8d33ca88410be4f79eb0");
  36. document.cookie = "__test=" + toHex(slowAES.decrypt(c, 2, a, b)) + "; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/";
  37. location.href = "http://switch-check.cf/index.php?i=1";
  38. </script>
  39. <noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript>
  40. </body>
  41.  
  42. </html>
  43.  
  44. >>> r = requests.get('http://switch-check.cf/index.php', headers={'Cookie': '__test=9eea7a0d55374cb5b0673e2058581017'})
  45. >>> r.status_code
  46. 403
  47.  
  48. >>> r = requests.get('http://switch-check.cf/index.php', headers={'Cookie': '__test=' + '0'*32})
  49. >>> r.status_code
  50. 403
  51.  
  52. >>> r = requests.get('http://switch-check.cf/index.php?i=1')
  53. >>> r.status_code
  54. 200
Add Comment
Please, Sign In to add comment