Advertisement
Guest User

Untitled

a guest
Dec 19th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. <?PHP
  2. $login = $_POST["login"];
  3. $pass = $_POST["pass"];
  4. $sól = "aysgdx78sabcx7sba87cb8std7wqty7dy7wq87yns7dy7asd78as78dn7as8dbt78as";
  5. $hasłozsolą = $pass + $sól;
  6.  
  7. $hashZBazyDanych = pobierzHashZBAzyDanychDlaUzytkownika($login);
  8.  
  9. if(sha256($hasłozsolą) == $hashZBazyDanych)
  10. {
  11. echo sha256(sha256($hasłozsolą+$login)+$sól);
  12. }
  13. else
  14. {
  15. echo
  16. }
  17.  
  18. ?>
  19.  
  20.  
  21. Unity
  22.  
  23. class Game
  24. {
  25. int scores = 120;
  26. string login = "MikoGot";
  27. bool zalogowany = true;
  28. string cookie = 65c20ff32e2e69401f8f96b;
  29.  
  30. }
  31.  
  32.  
  33. <?php
  34.  
  35. $login = $_POST["login"];
  36.  
  37. $scores = $_POST["scores"];
  38. $cookie = $_POST["cookie"];
  39.  
  40. $hashZBazy = pobierzZBazyDanychHashDlaLoginu($login);
  41.  
  42. if($cookie == sha256(sha256($hasłozsolą+$hashZBazy)+"aysgdx78sabcx7sba87cb8std7wqty7dy7wq87yns7dy7asd78as78dn7as8dbt78as"))
  43. UPDATE SET scores=$scores WHERE username=$login;
  44.  
  45. ?>
  46.  
  47.  
  48.  
  49.  
  50. 43c206c8e4c859980afcc69401f8f96b
  51. ba18d1f8d5280242c3db9722a6c0b96d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement