Advertisement
CubeWorld

Untitled

Jun 26th, 2013
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <? $link = $_POST['link'];
  2. $name = $_POST['name'];
  3. $why = $_POST['code'];
  4. $sth = sha1($why);
  5. if($sth=="401d78cfb06be7932a9bdcd5d2ad36b8b0c62a10"){
  6. $picture = "http://i.imgur.com/".$link;
  7. echo "good";
  8. if(getimagesize($picture) !== false) {
  9. echo "good";
  10. include("include.html");
  11. file_put_contents($name.'.php', '<?php
  12. include("include.html");
  13. get("'.$link.'", "'.$name.'");
  14. ?>');
  15. }else{
  16. echo "error";}
  17. }else{
  18. echo "error";
  19. }
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement