Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Regenerate Hash page</title>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.js" type="text/javascript"></script>
- <link href="http://netdna.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.css" rel="stylesheet prefetch" />
- </head>
- <body>
- <script type="text/javascript">
- $(document).ready( function() {
- $("#refresh-code").click(function(){
- $.ajax({
- url: "hash.exe.php",
- success: function(html){ alert(html);
- $(".reg-code > span").html(html);
- },
- error: function (request, status, error) {
- alert(request.responseText);
- }
- });
- });
- });
- </script>
- <p class="reg-code">Hash: <span></span><i class="fa fa-refresh" aria-hidden="true" id="refresh-code"></i></p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement