Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
- </head>
- <body>
- <form id="target" action="main.html" method="post">
- <input type="hidden" name="hash" id="hash" value="">
- <button id="klik2">Powrót</button>
- </form>
- <a id="decoded" value="">kkk</a>
- </body>
- <?php
- $data = $_POST["hash"];
- $jsonDecoded = json_decode($data);
- print $jsonDecoded->{'name'};
- //echo($data);
- function Decoding(string $str)
- {
- define("OFFSET", 13);
- $sTmp = "";
- $sTmp = caesarDecode($str, $var = OFFSET);
- $sTmp = base64Decode($sTmp);
- $sTmp = base64Encode($sTmp);
- $sTmp = caesarEncode($sTmp, $var);
- return $sTmp;
- }
- ...
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement