Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (isset($_GET['1'])) {
- echo '<script type="text/javascript">alert("hello!");</script>';
- shell_exec('~/DuckyStoreScripts/./script1');
- }
- if (isset($_GET['2'])) {
- shell_exec('~/DuckyStoreScripts/./script2');
- }
- if (isset($_GET['3'])) {
- shell_exec('~/DuckyStoreScripts/./script3');
- }
- if (isset($_GET['4'])) {
- shell_exec('~/DuckyStoreScripts/./script4');
- }
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <title>DuckyStore</title>
- <style>
- body {
- margin: 0;
- font-family: 'Lato', sans-serif;
- }
- .overlay {
- height: 100%;
- width: 0;
- position: fixed;
- z-index: 1;
- top: 0;
- left: 0;
- background-color: rgb(0,0,0);
- background-color: rgba(0,0,0, 0.9);
- overflow-x: hidden;
- transition: 0.5s;
- }
- .overlay-content {
- position: relative;
- top: 20%;
- width: 100%;
- text-align: center;
- margin-top: 30px;
- }
- .overlay a {
- padding: 8px;
- text-decoration: none;
- font-size: 5em;
- color: #818181;
- display: block;
- transition: 0.3s;
- }
- .overlay a:hover, .overlay a:focus {
- color: #f1f1f1;
- }
- .overlay h1 {
- font-family:Verdana;
- font-size:7em;
- font-weight:100;
- -webkit-text-stroke-color: rgb(255,255,255);
- -webkit-text-stroke-width: 1px;
- -webkit-font-smoothing: antialiased;
- }
- </style>
- <script>
- function go(num){
- var xhttp = new XMLHttpRequest();
- xhttp.open("GET", "index2.php?" + num + "", true);
- xhttp.send();
- }
- </script>
- </head>
- <body>
- <div class="overlay" id="myNav" style="width: 100%;">
- <div class="overlay-content">
- <h1>DuckyStore</h1>
- <a onclick="go(1)" href="">Attack 1</a>
- <a onclick="go(2)" href="">Attack 2</a>
- <a onclick="go(3)" href="">Attack 3</a>
- <a onclick="go(4)" href="">Attack 4</a>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement