Dra3Q Posted August 31, 2010 Report Posted August 31, 2010 <?phpset_time_limit(0);//Filelist comment spammer by Fitty@RST//Date login si textul comentariului$USER = 'xxx';$PASS = 'xxx';$COMMENTS = array('SEFU TAU');//Login pe filelist.ro$ch = curl_init();curl_setopt($ch, CURLOPT_URL, "http://localhost/takelogin.php");curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');curl_setopt($ch, CURLOPT_POST, true);curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"); $date = array( 'username' => $USER, 'password' => $PASS);curl_setopt($ch, CURLOPT_POSTFIELDS, $date);$output = curl_exec($ch);curl_close($ch);//Ia sursa RSS$ch = curl_init();curl_setopt($ch, CURLOPT_URL, "http://localhost/rss.php");curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"); $rss = curl_exec($ch);curl_close($ch);//Prelucreaza sursa RSS$rss = str_replace("<link>http://localhost</link>","",$rss);$ids = array();while (substr_count($rss, '<link>') > 0) {$link = substr($rss,strpos($rss,'<link>') + 6,strpos($rss,'</link>')-(strpos($rss,'<link>') + 6));$single = str_replace("http://localhost/details.php?id=","",str_replace("&hit=1","",$link));array_push($ids,$single);$rss = str_replace('<link>' . $link . '</link>','',$rss);}//Trimite comment random la fiecareforeach ($ids as $id) {//Ia validatorul$ch = curl_init();curl_setopt($ch, CURLOPT_URL, "http://localhost/comment.php?action=add&tid=$id");curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"); $valsrc = curl_exec($ch);curl_close($ch);$pos1 = strpos($valsrc,'<input type="hidden" name="validator" value="') + 45;$pos2 = strpos($valsrc,'"/>',$pos1);$validator = substr($valsrc,$pos1,$pos2-$pos1);$rnd = rand(0,count($COMMENTS) - 1);$comtext = $COMMENTS[$rnd];//Posteaza comment-ul, random$ch = curl_init();curl_setopt($ch, CURLOPT_URL, "http://localhost/comment.php?action=add");curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');curl_setopt($ch, CURLOPT_POST, true);curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"); $date = array( 'tid' => $id, 'text' => $comtext, 'validator' => $validator);curl_setopt($ch, CURLOPT_POSTFIELDS, $date);$output = curl_exec($ch);curl_close($ch);}echo 'Sent.';?>cum pot face sa-l modific sa posteze la mai mult de 15 torrente?Dau 1 cont orange Quote
ROFL Posted August 31, 2010 Report Posted August 31, 2010 (edited) A fost mult ca a spus unul, acum incepeti toti.Stai ma cuminte, mai ales daca nu te pricepi si vezi-ti de treaba ta - acum hai sa inceapa fiecare sa puna malware pe filelist... Edited August 31, 2010 by ROFL Quote
Dra3Q Posted August 31, 2010 Author Report Posted August 31, 2010 A fost mult ca a spus unu', acum incepeti toti.Stai ma cuminte, mai ales daca nu te pricepi si vezi-ti de treaba ta - acum hai sa inceapa fiecare sa puna malware pe filelist...Eu am postat daca vrea careva sa ma ajute bine daca nu iarasi bine fara suparare.1. Eu nu sunt toti2. De unde sti ca punem toti malware si nu altceva?3. Omu e bun dar cand va da si nu va cere4. Multa bafta in continuare5. Rog un admin sa stearga postul pt ca gasesc frustrati pe aici Quote
loki Posted August 31, 2010 Report Posted August 31, 2010 5. Rog un admin sa stearga postul pt ca gasesc frustrati pe aiciWish granted!Dar asta numai din cauza ca ai postat de-aiurea la offtopic cat timp exista sectiunile "ajutor" si "cereri"! Quote
Fitty Posted August 31, 2010 Report Posted August 31, 2010 (edited) Ala e scriptul facut de mine, de unde il ai? Torrentele la care posteaza sunt luate din RSS-ul Filelist (ultimele 15 postate). Edited August 31, 2010 by Fitty Quote