Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.95 KB | None | 0 0
  1. <?php
  2. if (isset($_GET['1'])) {
  3.    echo '<script type="text/javascript">alert("hello!");</script>';
  4.     shell_exec('~/DuckyStoreScripts/./script1');
  5. }
  6. if (isset($_GET['2'])) {
  7.     shell_exec('~/DuckyStoreScripts/./script2');
  8. }
  9. if (isset($_GET['3'])) {
  10.     shell_exec('~/DuckyStoreScripts/./script3');
  11. }
  12. if (isset($_GET['4'])) {
  13.     shell_exec('~/DuckyStoreScripts/./script4');
  14. }
  15. ?>
  16. <!DOCTYPE html>
  17. <html>
  18. <head>
  19.     <title>DuckyStore</title>
  20.     <style>
  21.        body {
  22.            margin: 0;
  23.            font-family: 'Lato', sans-serif;
  24.        }
  25.  
  26.        .overlay {
  27.            height: 100%;
  28.            width: 0;
  29.            position: fixed;
  30.            z-index: 1;
  31.            top: 0;
  32.            left: 0;
  33.            background-color: rgb(0,0,0);
  34.            background-color: rgba(0,0,0, 0.9);
  35.            overflow-x: hidden;
  36.            transition: 0.5s;
  37.        }
  38.  
  39.        .overlay-content {
  40.            position: relative;
  41.            top: 20%;
  42.            width: 100%;
  43.            text-align: center;
  44.            margin-top: 30px;
  45.        }
  46.  
  47.        .overlay a {
  48.            padding: 8px;
  49.            text-decoration: none;
  50.            font-size: 5em;
  51.            color: #818181;
  52.            display: block;
  53.            transition: 0.3s;
  54.        }
  55.  
  56.        .overlay a:hover, .overlay a:focus {
  57.            color: #f1f1f1;
  58.        }
  59.  
  60.        .overlay h1 {
  61.            font-family:Verdana;
  62.            font-size:7em;
  63.            font-weight:100;
  64.            -webkit-text-stroke-color: rgb(255,255,255);
  65.            -webkit-text-stroke-width: 1px;
  66.            -webkit-font-smoothing: antialiased;
  67.        }
  68.  
  69.     </style>
  70.  
  71.     <script>
  72.     function go(num){
  73.         var xhttp = new XMLHttpRequest();
  74.         xhttp.open("GET", "index2.php?" + num + "", true);
  75.         xhttp.send();
  76.     }
  77.     </script>
  78. </head>
  79.  
  80. <body>
  81.     <div class="overlay" id="myNav" style="width: 100%;">
  82.         <div class="overlay-content">
  83.             <h1>DuckyStore</h1>
  84.             <a onclick="go(1)" href="">Attack 1</a>
  85.             <a onclick="go(2)" href="">Attack 2</a>
  86.             <a onclick="go(3)" href="">Attack 3</a>
  87.             <a onclick="go(4)" href="">Attack 4</a>
  88.         </div>
  89.     </div>
  90. </body>
  91. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement