Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.74 KB | None | 0 0
  1. <head>
  2.     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
  3. </head>
  4.  
  5. <body>
  6.     <form id="target" action="main.html" method="post">
  7.         <input type="hidden" name="hash" id="hash" value="">
  8.         <button id="klik2">Powrót</button>
  9.     </form>
  10.     <a id="decoded" value="">kkk</a>
  11. </body>
  12.  
  13. <?php
  14. $data = $_POST["hash"];
  15. $jsonDecoded = json_decode($data);
  16. print $jsonDecoded->{'name'};
  17. //echo($data);
  18.  
  19. function Decoding(string $str)
  20. {
  21.     define("OFFSET", 13);
  22.     $sTmp = "";
  23.     $sTmp = caesarDecode($str, $var = OFFSET);
  24.     $sTmp = base64Decode($sTmp);
  25.     $sTmp = base64Encode($sTmp);
  26.     $sTmp = caesarEncode($sTmp, $var);
  27.     return $sTmp;
  28. }
  29.  
  30. ...
  31.  
  32. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement