Jump to content
Silviu

Ask.fm post curl.

Recommended Posts

Posted

Salutare! Ma tot chinui pe aici sa fac un poster pentru ask.fm. Cu toate ca pare simplu nu ii dau de cap, nu am idee ce nu merge, ati incercat careva sa faceti asa ceva? Si daca da, care e smecheria?

Posted
Salutare! Ma tot chinui pe aici sa fac un poster pentru ask.fm. Cu toate ca pare simplu nu ii dau de cap, nu am idee ce nu merge, ati incercat careva sa faceti asa ceva? Si daca da, care e smecheria?

D?-mi ce ai f?cut.. ?i m? uit ?i eu

Posted (edited)

<?php

//Ask.FM spammer by Zatarra @ RSTforums.com

$curli = curl_init();
curl_setopt($curli, CURLOPT_URL, "http://ask.fm/AnnaMariaL99");
curl_setopt($curli, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curli, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curli, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curli, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curli, CURLOPT_COOKIEJAR, "a.txt");
curl_setopt($curli, CURLOPT_COOKIEFILE, "a.txt");
curl_setopt($curli, CURLOPT_REFERER, "http://ask.fm/AnnaMariaL99");
$curlDatai = curl_exec($curli);
@preg_match_all("/oken\" type=\"hidden\" value=\"(.*?)\" \/\>/",$curlDatai,$token);
//echo $token[1][0];

$whatever="ask.fm Spammer By Zatarra @ RSTforums.com";

$data='authenticity_token='.urlencode($token[1][0]).'&question%5Bquestion_text%5D='.$whatever.'&authenticity_token='.urlencode($token[1][0]);
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "http://ask.fm/AnnaMariaL99/questions/create");
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
curl_setopt($curl, CURLOPT_COOKIEFILE, "a.txt");
curl_setopt($curl, CURLOPT_REFERER, "http://ask.fm/AnnaMariaL99");
$curlData = curl_exec($curl);

?>

Folositi-l cu cap. Va pup pa pa

Edited by Zatarra
  • Upvote 1
Posted

Nasol, incearca sa adaugi o lista de proxy-uri si foloseste proxy la curl. Daca tot asa da (ceea ce nu cred) e naspa. Daca nu da inseamna ca poti sa faci doar 20 de requesturi / ip.

Posted (edited)
Nasol, incearca sa adaugi o lista de proxy-uri si foloseste proxy la curl. Daca tot asa da (ceea ce nu cred) e naspa. Daca nu da inseamna ca poti sa faci doar 20 de requesturi / ip.

Am testat acum

10 requests per IP indiferent de contul pe care vrei s? postezi întrebarea

LE: cu proxy...

368416431.png

Edited by EAdrian
Posted

Nu e marja de eroare, e protection bypass. Daca protectia este 300 de secunde si tu iti setezi sleep-ul la 300 de secunde ai sanse sa fi blocat la primul request, modiv pentru care setezi 301 secunde.

Posted

<?php
if($_COOKIE["acum"]!="ok" && isset($url))
{
setcookie("urmatoarea", "ok", time()+320);
}else{
setcookie("acum", "ok", time()+10);
}
print_r($_COOKIE);
?>
<title>ASK.fm PHP Spammer</title>
<center>
<form method="get">
URL: <input type="text" name="url"></br>
Mesaj: <input type="text" name="mesaj"></br>
<input type="submit" value="Trimite">
</form>
<script>
function maiHo()
{
window.history.back()
}
</script>
<input type="button" value="STOP" onclick="maiHo()">
</center>
<?php
//v1.0 Ask.FM spammer by Zatarra @ RSTforums.com
//v1.1 - modified by silvian0
$url=$_GET["url"];
$mesaj=$_GET["mesaj"];
$rand=rand(88343,9999999);
$mesaj="$mesaj $rand ?";
if(isset($url))
{
echo '<script type="text/JavaScript">
<!--
function AutoRefresh( t ) {
setTimeout("location.reload(true);", t);
}
// -->
</script>
</head>';
if($_COOKIE["acum"]=="ok" || $_COOKIE["urmatoarea"]!="ok")
echo '<body onload="JavaScript:AutoRefresh(1000);">';

function curl($url)
{
$curli = curl_init();
curl_setopt($curli, CURLOPT_URL, "$url");
curl_setopt($curli, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curli, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curli, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curli, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curli, CURLOPT_COOKIEJAR, "cookies.txt");
curl_setopt($curli, CURLOPT_COOKIEFILE, "cookies.txt");
curl_setopt($curli, CURLOPT_REFERER, "$url");
$curlDatai = curl_exec($curli);
return $curlDatai;
}
$raspuns=curl($url);


@preg_match_all("/oken\" type=\"hidden\" value=\"(.*?)\" \/\>/",$raspuns,$token);



$data='authenticity_token='.urlencode($token[1][0]).'&question%5Bquestion_text%5D='.$mesaj.'&authenticity_token='.urlencode($token[1][0]);
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "$url/questions/create");
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
curl_setopt($curl, CURLOPT_COOKIEFILE, "cookies.txt");
curl_setopt($curl, CURLOPT_REFERER, "$url");
$curlData = curl_exec($curl);
}
?>

Am incercat sa fac ca dupa 10 request-uri sa mai faca iarasi peste 310 secunde, cu cookies, dar nu prea am inspiratie la ora asta, jucati-va si postati aici daca v-a iesit.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...