Jump to content
AhEaD

[RST] Facebook Like Spammer Versiunea -1.

Recommended Posts

34zzgh3.png

Sursa:

fisier.php

<title>- ::::: [R]omanian [S]ecurity [T]eam | Facebook like spammer
</title>
<style type="text/css">
<!--
body,td,th {
color: #00FF00;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
a:link {
color: #00FF99;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #00FF99;
}
a:hover {
text-decoration: none;
color: #00FF99;
}
a:active {
text-decoration: none;
color: #00FF99;
}
.style2 {
font-size: 12px;
font-weight: bold;
}
.smecleu2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
background-color: #000000;
border: thin inset #99FF00;
color: #99FF00;
}
-->
</style>

<p><strong>::::: [R]omanian [S]ecurity [T]eam | Facebook like spammer - AhEaD ( ahead@rstcenter.com )
</strong>
<div style="padding:10px; border:solid 1px; width: 70%;">
<img src="http://i40.tinypic.com/fnb4wn.png" /> <strong>Linkul trebuie sa fie in format:</strong> https://www.facebook.com/photo.php?fbid=00000000000&set=xxxxxxxxxxxxxxxx&type=1&ref=nf<br />
<br />
Il obtineti prin control+click pe orice post de pe facebook. </div>
<p><br />
<br />

<form name="like" method="post" action="" enctype="multipart/form-data">
Link to like:<br />
<input name="url" type="text" class="smecleu2" value="<?php echo $url ?>" size="200"><br /><br />
</p>
<input name="submit" type="submit" class="smecleu2" value="like">
<br />
<br />


<?php

/******************************************************************************************************/
/* FACEBOOK LIKE SPAMMER - RST CENTER v0.0.0.0.0.0.0
/* Author - AhEaD ( ahead@rstcenter.com )
/* website: http://rstcenter.com
/******************************************************************************************************/


function curl($url, $cookie='', $ref='', $post='') {
$rand = rand(100000,400000);
$agent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_USERAGENT, $agent);
if($ref !== '') {
curl_setopt($ch, CURLOPT_REFERER, $ref);
}
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
if($post !== '') {
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
}
if($cookie !== '') {
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
}
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
$result = curl_exec ($ch);
curl_close ($ch);
if($result == "") { curl($url, $cookie, $post); } else { return $result; }
}

function xplode($left, $right, $body){

$val = explode($left, $body);
$val = explode($right, $val[1]);
$val = $val[0];
return $val;
}
function new_device($go){
if(strpos($go, 'Name New Device') !== false){
$lsd = xplode('"lsd" value="', '"', $go);
$post_form_id = xplode('post_form_id" value="', '"', $go);
$nh = xplode('nh" value="', '"', $go);
$post2 = "lsd=".$lsd."&post_form_id=".$post_form_id."&charset_test=%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84&nh=".$nh."&machine_name=&submit%5BDon%27t+Save%5D=Don%27t+Save";
$url_confirm = "https://m.facebook.com/checkpoint/?refid=0";
$ref_c = "https://m.facebook.com/checkpoint/?refid=8&_rdr";
$add_new_device = curl($url_confirm, $cookie, $ref_c, $post2);
}
}

if ($_SERVER['REQUEST_METHOD'] == 'POST'){
$url = $_POST['url'];
if (empty($url)){
die("Nu ai pus LINK, la ce plm sa dau like?");
}
if(strpos($url, 'www') !== false){
$url = str_replace("www", "m", $url);
}
if(strpos($url, 'http') === false){
die("Ce plm link e ala ? Faci misto de mine?");
}



$ids = file('users.txt'); //open users.txt
$nr = count($ids);
echo $nr.' conturi gasite in fisierul users.txt!<br>'; //count the shit
foreach($ids as $id){
$pieces = explode(":", $id);
$user = $pieces[0];
$pass = $pieces[1];
$cookie = "RST.ahead_".$user; //cookie needed for login
$post = "lsd=&post_form_id=&charset_test=%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84&version=1&ajax=1&width=1366&pxr=1&gps=1&email=".$user."&pass=".$pass."&m_ts=&li=&login=Log+In";
$login_url = "https://m.facebook.com/login.php?m=m&refsrc=http%3A%2F%2Fm.facebook.com%2F&refid=8";
$go = curl($login_url, $cookie, $ref, $post); //login
new_device($go); //check for new device protection
$go_like_url = curl($url, $cookie); //get post to be liked contents

$get_like = xplode('a/like.php?', '"', $go_like_url); // grabbing the like link
$to_like = "https://m.facebook.com/a/like.php?".$get_like; //completing the like link
$to_like = str_replace("&", "&", $to_like); //phrasing the like link

$get = curl($to_like, $cookie, $like_url); //finally liking the post

echo "user: ".$user. " completed to like the shit<br>"; //if all went well, this will be show up.
}
}

?>

users.txt:

user@yahoo.com:parola
user2@yahoo.com:parola

E ceva foarte simplu, testat pe 2 conturi, merge brici, nu are suport proxy/socks ( nu stiu / nu ma intereseaza daca facebook foloseste protectii de genul ).

Se poate implementa foarte usor si suport proxy/socks pentru fiecare user in parte.

fisier.php si users.txt trebuie sa fie in acelasi director, fisier.php are nevoie de drepturi de scriere pentru a creea fisierele cookie.

Have fun.

  • Upvote 2

Share this post


Link to post
Share on other sites
34zzgh3.png

Sursa:

fisier.php

<title>- ::::: [R]omanian [S]ecurity [T]eam | Facebook like spammer
</title>
<style type="text/css">
<!--
body,td,th {
color: #00FF00;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
a:link {
color: #00FF99;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #00FF99;
}
a:hover {
text-decoration: none;
color: #00FF99;
}
a:active {
text-decoration: none;
color: #00FF99;
}
.style2 {
font-size: 12px;
font-weight: bold;
}
.smecleu2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
background-color: #000000;
border: thin inset #99FF00;
color: #99FF00;
}
-->
</style>

<p><strong>::::: [R]omanian [S]ecurity [T]eam | Facebook like spammer - AhEaD ( ahead@rstcenter.com )
</strong>
<div style="padding:10px; border:solid 1px; width: 70%;">
<img src="http://i40.tinypic.com/fnb4wn.png" /> <strong>Linkul trebuie sa fie in format:</strong> https://www.facebook.com/photo.php?fbid=00000000000&set=xxxxxxxxxxxxxxxx&type=1&ref=nf<br />
<br />
Il obtineti prin control+click pe orice post de pe facebook. </div>
<p><br />
<br />

<form name="like" method="post" action="" enctype="multipart/form-data">
Link to like:<br />
<input name="url" type="text" class="smecleu2" value="<?php echo $url ?>" size="200"><br /><br />
</p>
<input name="submit" type="submit" class="smecleu2" value="like">
<br />
<br />


<?php

/******************************************************************************************************/
/* FACEBOOK LIKE SPAMMER - RST CENTER v0.0.0.0.0.0.0
/* Author - AhEaD ( ahead@rstcenter.com )
/* website: http://rstcenter.com
/******************************************************************************************************/


function curl($url, $cookie='', $ref='', $post='') {
$rand = rand(100000,400000);
$agent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_USERAGENT, $agent);
if($ref !== '') {
curl_setopt($ch, CURLOPT_REFERER, $ref);
}
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
if($post !== '') {
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
}
if($cookie !== '') {
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
}
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
$result = curl_exec ($ch);
curl_close ($ch);
if($result == "") { curl($url, $cookie, $post); } else { return $result; }
}

function xplode($left, $right, $body){

$val = explode($left, $body);
$val = explode($right, $val[1]);
$val = $val[0];
return $val;
}
function new_device($go){
if(strpos($go, 'Name New Device') !== false){
$lsd = xplode('"lsd" value="', '"', $go);
$post_form_id = xplode('post_form_id" value="', '"', $go);
$nh = xplode('nh" value="', '"', $go);
$post2 = "lsd=".$lsd."&post_form_id=".$post_form_id."&charset_test=%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84&nh=".$nh."&machine_name=&submit%5BDon%27t+Save%5D=Don%27t+Save";
$url_confirm = "https://m.facebook.com/checkpoint/?refid=0";
$ref_c = "https://m.facebook.com/checkpoint/?refid=8&_rdr";
$add_new_device = curl($url_confirm, $cookie, $ref_c, $post2);
}
}

if ($_SERVER['REQUEST_METHOD'] == 'POST'){
$url = $_POST['url'];
if (empty($url)){
die("Nu ai pus LINK, la ce plm sa dau like?");
}
if(strpos($url, 'www') !== false){
$url = str_replace("www", "m", $url);
}
if(strpos($url, 'http') === false){
die("Ce plm link e ala ? Faci misto de mine?");
}



$ids = file('users.txt'); //open users.txt
$nr = count($ids);
echo $nr.' conturi gasite in fisierul users.txt!<br>'; //count the shit
foreach($ids as $id){
$pieces = explode(":", $id);
$user = $pieces[0];
$pass = $pieces[1];
$cookie = "RST.ahead_".$user; //cookie needed for login
$post = "lsd=&post_form_id=&charset_test=%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84&version=1&ajax=1&width=1366&pxr=1&gps=1&email=".$user."&pass=".$pass."&m_ts=&li=&login=Log+In";
$login_url = "https://m.facebook.com/login.php?m=m&refsrc=http%3A%2F%2Fm.facebook.com%2F&refid=8";
$go = curl($login_url, $cookie, $ref, $post); //login
new_device($go); //check for new device protection
$go_like_url = curl($url, $cookie); //get post to be liked contents

$get_like = xplode('a/like.php?', '"', $go_like_url); // grabbing the like link
$to_like = "https://m.facebook.com/a/like.php?".$get_like; //completing the like link
$to_like = str_replace("&", "&", $to_like); //phrasing the like link

$get = curl($to_like, $cookie, $like_url); //finally liking the post

echo "user: ".$user. " completed to like the shit<br>"; //if all went well, this will be show up.
}
}

?>

users.txt:

user@yahoo.com:parola
user2@yahoo.com:parola

E ceva foarte simplu, testat pe 2 conturi, merge brici, nu are suport proxy/socks ( nu stiu / nu ma intereseaza daca facebook foloseste protectii de genul ).

Se poate implementa foarte usor si suport proxy/socks pentru fiecare user in parte.

fisier.php si users.txt trebuie sa fie in acelasi director, fisier.php are nevoie de drepturi de scriere pentru a creea fisierele cookie.

Have fun.

Ca de obicei m.fbcdn....

Share this post


Link to post
Share on other sites

Felicitarile mele si jos palaria!

Mi-ai luat-o inainte, chiar la asta lucram de mai bine de 2 saptamani... dar nu are nimic, anything for RST is welcomed :) o sa vin si eu cu un release cat de curand ( la o versiune diferita, dar bazata pe aceiasi conceptie ).

P.S: O sa adaug eu support proxy in release, era deja planuit ( sper sa nu te superi AhEaD ).

Cu bine,

Dark.

Share this post


Link to post
Share on other sites

@darkston3e orice imbunatatire e bine-venita, eu ieri am facut scriptul de mai sus si azi l-am publicat.

Share this post


Link to post
Share on other sites
@darkston3e orice imbunatatire e bine-venita, eu ieri am facut scriptul de mai sus si azi l-am publicat.

Eu o sa scot o varianta C++ cu un GUI destul de frumusel

Share this post


Link to post
Share on other sites

Link to like:

<br /><b>Notice</b>: Undefined variable: url in <b>D:\XAMPP\htdocs\fisier.php.php</b> on line <b>63</b><br />

1 conturi gasite in fisierul users.txt!

Notice: Undefined variable: ref in D:\XAMPP\htdocs\fisier.php.php on line 147

Fatal error: Call to undefined function curl_init() in D:\XAMPP\htdocs\fisier.php.php on line 82

Ce sa fac? E pus pe XAMPP, sa-l pun pe un host cu curl? Se poate face asta din XAMPP?

Share this post


Link to post
Share on other sites
Ce sa fac? E pus pe XAMPP, sa-l pun pe un host cu curl? Se poate face asta din XAMPP?

1.Urca-l pe host.

2.Poti incerca si din xampp, uite...

L.E: @Ahead - no problem, tu ai explicat mai bine.

Edited by Isaac

Share this post


Link to post
Share on other sites

Apreciez munca ta, dar daca te-as ruga sa imi explici si mie mai detaliat..Nu prea le am cu partea ce tine de php . Urc pe un host sursa.php si users.txt dupa care ce fac? Nu inteleg...Te rog help .

Share this post


Link to post
Share on other sites

in users.txt trebuie sa ai conturile de facebook din partea carora vrei sa dai like in format:

user@domeniu.com:parola

Pe host trebuie sa ai curl, si setat drepturi de scriere la fisier.php ( poti pune ce nume vrei tu ).

Ai un singur field si un singur buton, in field trebuie introdus link-ul unde vrei sa se duca like-urile, poti da si pe pagini, exemplu de link:

http://www.facebook.com/nume.pagina

Dupa ce pui link`ul, apesi pe like, si va da automat like folosind toate conturile aflate in users.txt.

Share this post


Link to post
Share on other sites
in users.txt trebuie sa ai conturile de facebook din partea carora vrei sa dai like in format:

user@domeniu.com:parola

Pe host trebuie sa ai curl, si setat drepturi de scriere la fisier.php ( poti pune ce nume vrei tu ).

Ai un singur field si un singur buton, in field trebuie introdus link-ul unde vrei sa se duca like-urile, poti da si pe pagini, exemplu de link:

http://www.facebook.com/nume.pagina

Dupa ce pui link`ul, apesi pe like, si va da automat like folosind toate conturile aflate in users.txt.

Daca faci asta o sa dea like la unul dintre posturile de pe pagina sau la story. Cel putin mie asa mi-a facut.

O sa fac eu un tutorial legat de asta, dar maine dupa-amiaza. Defapt, nu as vrea ca trucul sa fie publicat si folosit in exces, pentru ca se poate da like fara ca posesorul contului de facebook sa stie, asa ca te-as ruga pe tine sa-l postezi doar la VIP.

O sa te contactez maine prin PM.

Share this post


Link to post
Share on other sites
la ce foloseste asta?

cum pot sa il folosesc si eu

am o pagina facebook

https://www.facebook.com/bancuri.noi.mobile

daca ma puteti ajuta si pe mine

Te ajuta daca ai o lista de conturi luate din spam (si/sau) din stealere sau daca nu ai ce face cu timpul si iti faci singur mai multe conturi de facebook.

Le pui pe toate in users.txt si primesti de la toate like.

Share this post


Link to post
Share on other sites
Guest expl0iter
Te ajuta daca ai o lista de conturi luate din spam (si/sau) din stealere sau daca nu ai ce face cu timpul si iti faci singur mai multe conturi de facebook.

Le pui pe toate in users.txt si primesti de la toate like.

Uneori facebook-ul face figuri. Zice ca de pe ip-ul tau s-a mai logat altu pana acum blablabla...

Asa patesc eu cate odata cand intru pe 2 mailuri de pe acelasi IP

Share this post


Link to post
Share on other sites

Are cineva idee de un host free cu curl on si safe_mode off ? Am incercat scriptu pe cateva hosturi (free si platite) si nu vrea sa funcitoneze...

Share this post


Link to post
Share on other sites

[error] PHP Notice: Undefined variable: url in fb/fisier.php on line 63

[Mon Mar 12 23:38:22 2012] [error] PHP Notice: Undefined variable: url in fb/fisier.php on line 63,

[Mon Mar 12 23:38:22 2012] [error] PHP Notice: Undefined variable: ref in fb/fisier.php on line 147, referer: /fb/fisier.php

[Mon Mar 12 23:38:23 2012] [error]PHP Notice: Undefined offset: 1 in /var/www/fb/fisier.php on line 107, referer: /fb/fisier.php

ori nu am copiat eu scriptul calumea ori ceva nu e ok

Edited by scorpio2k2

Share this post


Link to post
Share on other sites
[error] PHP Notice: Undefined variable: url in fb/fisier.php on line 63

[Mon Mar 12 23:38:22 2012] [error] PHP Notice: Undefined variable: url in fb/fisier.php on line 63,

[Mon Mar 12 23:38:22 2012] [error] PHP Notice: Undefined variable: ref in fb/fisier.php on line 147, referer: /fb/fisier.php

[Mon Mar 12 23:38:23 2012] [error]PHP Notice: Undefined offset: 1 in /var/www/fb/fisier.php on line 107, referer: /fb/fisier.php

ori nu am copiat eu scriptul calumea ori ceva nu e ok

ai un host incompatibil.

Share this post


Link to post
Share on other sites

off: ce pula mea va certati aici? Aveti messenger si facebook pentru asta....

ON: scriptul ruleaza super....Bravo bre!

Share this post


Link to post
Share on other sites
@shaggi: Ai vreo idee pentru problema mea de mai sus?

Alea sunt notice-uri, nu sunt erori, pune un error_reporting(NULL); la inceput si gata

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...