PHP: // //Функция перевода UTF-8 в Windows-1251 // function utf8win1251($s){ $out = $c1 = ""; $byte2=false; for ($c=0;$c<strlen($s);$c++){ $i=ord($s[$c]); if ($i<=127) $out.=$s[$c]; if ($byte2){ $new_c2=($c1&3)*64+($i&63); $new_c1=($c1>>2)&5; $new_i=$new_c1*256+$new_c2; if ($new_i==1025){ $out_i=168; } else{ if ($new_i==1105){ $out_i=184; } else { $out_i=$new_i-848; } } $out.=chr($out_i); $byte2=false; } if (($i>>5)==6) { $c1=$i; $byte2=true; } } return $out; } // //Использование: echo utf8win1251($text); //
real_kas, чем полезна эта функция??? Разве не легче использовать стандартную - iconv()... Тема вроде называется Полезные скрипты
На страницах ранее был флудер под phpbb. Отлично робит, только вот добавить ему функцию альтернативного сообщения, а то нужный форум отвергает постинг, ссылаясь на то что нельзя подряд два одинаковых...
PHP: <html> <head> <title>Турба-реверсо-ипа! чекает pr/ТиЦ/alexa/сортерует по весу сисадмина датацентра =\</title> <style> <!-- image { border:0; } body { font-family: verdana, arial, helvetica, sans-serif; margin:0; padding:85px; text-align:left; font-size:0.7em; background:#FFFFFF; } td{ border: 1px #89B4CC solid; text-align:center; } --> </style> <script> </script> </head> <body> <form method="post" action=""> <input name="ip" style="width:180px; height:20px; border:1px black solid; margin-top:5px; text-align:center"> <input type="submit" value="чекнуть" style="border:1px #89B4CC solid;"> </form> <? set_time_limit(0); ignore_user_abort(); /* реверс-ип + пр + тиц + алекса блять ............. (c) 159932 */ define('GOOGLE_MAGIC', 0xE6359A60); function nooverflow($a){ while ($a<-2147483648) $a+=2147483648+2147483648; while ($a>2147483647) $a-=2147483648+2147483648; return $a; } function zeroFill ($x, $bits){ if ($bits==0) return $x; if ($bits==32) return 0; $y = ($x & 0x7FFFFFFF) >> $bits; if (0x80000000 & $x) { $y |= (1<<(31-$bits)); } return $y; } function mix($a,$b,$c){ $a=(int)$a; $b=(int)$b; $c=(int)$c; $a -= $b; $a -= $c; $a=nooverflow($a); $a ^= (zeroFill($c,13)); $b -= $c; $b -= $a; $b=nooverflow($b); $b ^= ($a<<8); $c -= $a; $c -= $b; $c=nooverflow($c); $c ^= (zeroFill($b,13)); $a -= $b; $a -= $c; $a=nooverflow($a); $a ^= (zeroFill($c,12)); $b -= $c; $b -= $a; $b=nooverflow($b); $b ^= ($a<<16); $c -= $a; $c -= $b; $c=nooverflow($c); $c ^= (zeroFill($b,5)); $a -= $b; $a -= $c; $a=nooverflow($a); $a ^= (zeroFill($c,3)); $b -= $c; $b -= $a; $b=nooverflow($b); $b ^= ($a<<10); $c -= $a; $c -= $b; $c=nooverflow($c); $c ^= (zeroFill($b,15)); return array($a,$b,$c); } function GoogleCH($url, $length=null, $init=GOOGLE_MAGIC) { if(is_null($length)) { $length = sizeof($url); } $a = $b = 0x9E3779B9; $c = $init; $k = 0; $len = $length; while($len >= 12) { $a += ($url[$k+0] +($url[$k+1]<<8) +($url[$k+2]<<16) +($url[$k+3]<<24)); $b += ($url[$k+4] +($url[$k+5]<<8) +($url[$k+6]<<16) +($url[$k+7]<<24)); $c += ($url[$k+8] +($url[$k+9]<<8) +($url[$k+10]<<16)+($url[$k+11]<<24)); $mix = mix($a,$b,$c); $a = $mix[0]; $b = $mix[1]; $c = $mix[2]; $k += 12; $len -= 12; } $c += $length; switch($len) /* all the case statements fall through */ { case 11: $c+=($url[$k+10]<<24); case 10: $c+=($url[$k+9]<<16); case 9 : $c+=($url[$k+8]<<8); /* the first byte of c is reserved for the length */ case 8 : $b+=($url[$k+7]<<24); case 7 : $b+=($url[$k+6]<<16); case 6 : $b+=($url[$k+5]<<8); case 5 : $b+=($url[$k+4]); case 4 : $a+=($url[$k+3]<<24); case 3 : $a+=($url[$k+2]<<16); case 2 : $a+=($url[$k+1]<<8); case 1 : $a+=($url[$k+0]); /* case 0: nothing left to add */ } $mix = mix($a,$b,$c); /*-------------------------------------------- report the result */ return $mix[2]; } function strord($string) { for($i=0;$i<strlen($string);$i++) { $result[$i] = ord($string{$i}); } return $result; } function get_pr($url) { $result='error'; if (($url.""!="")&&($url.""!="http://")): if (substr(strtolower($url),0,7)!="http://"): $url="http://".$url; endif; $url="info:".$url; $checksum=GoogleCH(strord($url)); $google_url=sprintf("http://www.google.com/search?client=navclient&ch=6%u&features=Rank&q=".$url,$checksum); // url to get from google $handle = fopen($google_url, "rb"); $contents = ''; while (!feof($handle)) { $contents.= fread($handle, 8192); } fclose($handle); $p=explode(":",$contents); if (isset($p[2])): $result=trim($p[2]); endif; endif; return $result; } /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// /////////// if (isset($_POST['ip'])) { $ip = (preg_match('#\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}#', $_POST['ip']) || preg_match('#[a-z0-9-_]{1,}\.[a-z\.]{2,}#i', $_POST['ip'])) ? $_POST['ip'] : die('не правильно введён урл/ип'); $reverse = file_get_contents('http://www.ip-adress.com/reverse_ip/'.$ip); if (strpos($reverse, 'could not be resolved. Make sure that you enter an valid IP address, host or domainname.')) die('поиск не дал результатов, или введён не верный урл/ип'); preg_match_all('#<td><a href="/reverse_ip/(.*?)"#is', $reverse, $hosts); $hosts = sizeof($hosts[1]) ? $hosts[1] : die('ни одного хоста не найдено'); foreach ($hosts as $url) { $data[$url]['pr'] = get_pr($url); # получение pr'a preg_match('#<b>Индекс цитирования \(тИЦ\) ресурса \&\#151; (\d+)<\/b>#', iconv('UTF-8', 'windows-1251', file_get_contents('http://search.yaca.yandex.ru/yca/cy/ch/'.$url)), $tic); $data[$url]['tic'] = $tic[1]; # получене ТиЦ'a preg_match('#<span class="descBold">(.*?)-->(.*?)</span>#', file_get_contents('http://www.alexa.com/data/details/traffic_details/'.$url), $alexa); $data[$url]['alexa'] = $alexa[2]; # получене alexa'a } echo '<table style="border: 1px #89B4CC solid; width:500px"> <tr style="font-weight: bold; background: #F6F7FD"> <td>урл</td> <td>pr</td> <td>ТиЦ</td> <td>alexa</td> </tr>'; foreach ($data as $url=>$info) { echo '<tr> <td style="text-align: left; padding-left: 10px">'.$url.'</td> <td>'.$info['pr'].'</td> <td>'.$info['tic'].'</td> <td>'.$info['alexa'].'</td> </tr>'; } echo '</table>'; } ?> </body> </html> http://rapidshare.com/files/207334014/rev.php.html а то пробелы форум лишние ставит=\
чекер рапиды на курле PHP: <html> <head> <title>r4p1D 4eker | адское превадо бай циферки ..</title> <link rel="icon" href="data:image/ico;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAABMLAAATCwAAAAAAAAAAAAAAAAAA//////////////////////////////////////////////////////////////////////////8AAAAA///////////////////////////////////////////////////////////08/P/2NfX/9jX1////////////////////////////////////////////////////////////+no6P+9urr/uLS0/+7u7v//////////////////////////////////////////////////////9PPz/726uv+no6P/09HR////////////////////////////////////////////////////////////3tzc/62pqf+tqan/4+Li////////////////////////////////////////////////////////////yMbG/6ejo/+tqan/7u7u////////////////////////////////////////////////////////////yMbG/6ejo/+tqan/7u7u////////////////////////////////////////////////////////////3tzc/6ejo/+no6P/7u7u////////////////////////////////////////////////////////////9PPz/62pqf+no6P/2NfX//////+vk3//iF1A/4hdQP+IXUD/iF1A/////////////////////////////////8jGxv+no6P/vbq6////////////6+Tf/2AnAP9gJwD/YCcA/2AnAP////////////////////////////////+tqan/p6Oj/+no6P//////4dbP/35QMP9gJwD/YCcA/2AnAP9gJwD/////////////////////////////////p6Oj/7Kvr///////r5N//2AnAP9gJwD/YCcA/2AnAP9gJwD/YCcA/////////////////////////////////5J6bP+OcF3/dEIg/2AnAP9gJwD/YCcA/2AnAP9gJwD/uaCP/4hdQP/////////////////////////////////h1s//ajUQ/2AnAP9gJwD/YCcA/2AnAP90QiD/18m//////////////////////////////////////////////////+HWz/90QiD/YCcA/35QMP/Drp////////////////////////////////////////////8AAAAA//////////////////////////////////////////////////////////////////////////8AAAAAgAEAwAAABskAAIMeAABtHgAAVx4AAEIeAAAsHgAAFx4AAAEeAADrHQAA1h0AAMAdAACrHQAAlR0AAH8dgAFqHQ==" type="image/x-icon"> <style> .gr{color:green} .rd{color:red} </style> </head> <body> <center> <form method="post" action=""> <textarea name="accs" style="width:400px; height:240px; border:1px black solid; padding:3px; margin-top:25px; margin-bottom:15px; background:white url(data:image/gif;base64,R0lGODdh7gCrANUAALS+zNzi3MzS3Ozy7MTK1OTq5NTa5MTCxPT69OTi5LzGzNTS1MzKzPTy9Ozq7Nza3Ly+zPz6/OTm5NTW5MzO3Nzi7MTG1NTW1MzOzPT29Ozu7Nze3LzCzNzi5MzW3Ozy9MTO1OTq7NTe5MTGxPT6/OTi7LzG1Pz+/OTm7NTW3MzO1PT2/Ozu9Nze5LzC1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAA7gCrAAAG/8CTcEgsGo/IpFIZWYU6nZTAs2h1SppGJLLser/gsHhMLpvP5SYqRVBYFCaCpd22mBQEgcGRWaH/gIGCg4SFJw0ibyZ2cnWLjIxwcCp7K1yGmJmam5xFKy0KbgRxb4yLo3Zvco9wHAQGIR+XnbS1trdGDiAci6xzcaKipKd4kS4cKhMhDbjNzs+BKG2kdHGPqMAWptrZ1W4CFczQ4+TlRiip2+l4p4+k7Ku/2m6hHCApDub6+7fSwal1sM0RVmedHHjWfuERgIKfw4eEpG1zNPCXwFTvVsUDyOqUgBAQQ4oU4y9gO42sGgHTiBHgP1SRTFDIN7KmTSLoenEr5RLSIv83KYk1AgoTXro7FDTcXBqypFBi8rCNUomqYK+NCQvSeeNiAU2mYMmVMOiu6k9tVq2aOli1WKmrOqcpMMAirN1mHe5Us6hqbVagfIVxi2eNZTGzjFBkuMuYUwtecnyWaqvtLaRUguERJMpRlbs3CiigmNW4dCBQKAdOjWTxZKTVwwbzbItYKGYTHsSZ3m2mRdyzZdWxm0eYuOthMMuKslzsJ4EWpHlL75KI8mqKbjy37ru3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7SfSjFtFbrsHp9OwT07r8is1deFhXCjEvkVn+7yvJ7dYwB/NglFdYpoLcPovLcBF/DxoI30tlC967RyfsXKFgT1YhBQDWj1/88QASjwjbdn8dQt2GLfH7YebtW9RooO32vP9lQzdlBkUBjPTvE99/vANM5Leh9VvFXL9+khwc5q8WevYoSPHn6/r+R3qBO094tfDigzwFDD2z2ncS8++WCRASd5U+19cNP6p5zPGErJr7Z3jttISqX/fvXpX3YvbnQD7q1vE+8pz7k9XPp9sLW/G8H7eJe2fGXY+40xmxRGWfk5Sh5I/IzR+CXmdGaFl8zfGDEJuYA9YaEo+dNvC1vg3Yb8mlTz3Nt/F4Oa939Nb+x59OOvDwH1+Cs33E6z+esPEYXs9N9YWVU//0uBNaJ0k9UkekCwSWwaJ+MRmVQumU3nExqVTv+pVesVq2w4NkJvyzscdoZeRySbVq/Zbfcbq+FuAuKAsPO1C4tw/x8wUNCtIeRBqGUsjG4oscthMFJykhIwIkOCbjHhLgGsLOGhoK+y1PQUNSkiAvQTse5VDDKVttb2bzUTFlSoE29DgvR2mLhYirWLrNfRdyjAIcNYepr6JEKCc8NVrGVXKLo6XDw1wgG7y1MMfUNZAm0cPl5S7g79M089oeFdvt+f0AEvdbDuOBD2D2HCKhkaZGKHqBWdfQopVoRyaY6mfF2C8bP4EeSqDKES4Ov0qYBHkCstXmvEq5MGljNBNizJrUwwmjsrakiQzdssnkMRBvS0LoFMokv7NdAwcK6LkAFMqcK7JKfMBg3gqnatxjDgIWheyVIDy+lMWbXGLmVwMHVt3GGr5Na1KyUIADs=) no-repeat center;"></textarea><br> <input type="submit" value="чекнуть" style="border:1px #89B4CC solid;"> </form> <? /* еси когота чегота не устраивает .. то вам надо понять основное, а именно МНЕ ПОХУЙ! # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # в четыре года, я играл на треугольнике в детском оркестре .. а ты? - - - - - - - - - - - - - - - - - - - - - - - - - - - чекер выводит такое вот - логин:пасс:колво поинтов:дата валида (c) 159932 */ function dt($a){ $mons = array('хуёвый месяц..', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'); preg_match('#(.+), (\d+)\. (.+) (\d+)#',$a,$m); $day = $m[2]; $mon = $m[3]; $yer = $m[4]; if (date('Ymd', mktime(0, 0, 0, array_search($mon, $mons), $day, $yer)) > date('Ymd')) return date('d.m.Y', mktime(0, 0, 0, array_search($mon, $mons), $day, $yer)); else return 0; } if (isset($_POST['accs']{0})){ echo '<div style="border:1px solid #E5E8D5; width:420px; padding:18px; margin:40px; background-color:#FFFBF2; text-align:left; font-size:11">'; $accs = array(); foreach (explode("\n",trim($_POST['accs'])) as $cc){ $cc = trim($cc); if(strpos($cc,':') == false) continue; $accs[] = $cc; } $accs = array_unique($accs) or die('ахуеть .. а акки за тебя вписывать? невежда..</div></center></body></html>'); foreach ($accs as $acc){ $acc = explode(':',$acc); $hof = curl_init('https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi'); curl_setopt($hof, CURLOPT_RETURNTRANSFER, 1); curl_setopt($hof, CURLOPT_POST, 1); curl_setopt($hof, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($hof, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($hof, CURLOPT_POSTFIELDS, 'uselandingpage=1&login='.$acc[0].'&password='.$acc[1]); $a = curl_exec($hof); if (strpos($a, $acc[0]) !== false){ preg_match('#<td>RapidPoints:</td><td align=right style="padding-right:20px;"><b>(\d+)</b></td>#',$a,$m1); preg_match('#<td>Expiration date:</td><td style="padding-right:20px;"><b>(.+)</b></td>#',$a,$m2); $m2[1] = dt($m2[1]); echo '<font class="gr">'.$acc[0].':'.$acc[1].'</font>:'; if ($m2[1] && $m1[1] > 9999) echo '<font class="gr">'.$m1[1].':'.$m2[1].'</font><br>'; elseif ($m2[1] && $m1[1] < 9999) echo '<font class="rd">'.$m1[1].'</font>:<font class="gr">'.$m2[1].'</font><br>'; elseif ($m1[1] > 9999) echo '<font class="gr">'.$m1[1].'</font>:<font class="rd">'.$m2[1].'</font><br>'; else echo '<font class="rd">'.$m1[1].':'.$m2[1].'</font><br>'; }else{echo '<font class="rd">'.$acc[0].':'.$acc[1].'</font><br>';} } echo '</div>'; } ?></center></body></html> http://rapidshare.com/files/207336248/4_rapid.php.html а то пробелы форум лишние ставит=\
чекер доменов, довольно быстрый. PHP: <html> <head> <title>Дома чикаем .. на принадлежность открытых замков || скопипастил сам у себя, и посему не считаю это плагиатом ..</title> <link rel="icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJcSURBVDjLpZPNS9RRFIaf+5tx/JqxUZGKQtEkyJBKw1ZhG0mSFkW1aVW7Wgpusv4CoX20KIgIKowgZSgwrIVghFQbM2swQRM/xmx05jf33nNaBJNWtKizPJzzcDjv+xpV5X8q+mvDPTdxVXpV6BahQxVUGBchpcL1xEnNbp43my9wz02nCrdMfV+jSXagsRpQj+aW8JkJwg8DaREuVJ/S0d8AbsSc0mTnYLDjPFqxDb8xiYTLqMuDKSMoa8bYgPDzA8KF0dN15/RREWBHTI0qM5HWe3EJ1vD5NNhviAtRn/8BEcWU1hMpbeXr2MWsCA07z+tKAKBCb9DQH9cYSJgGt87I4yWQAvgCL56B2Cxu7R0+/EjFvv64eHoBAgARekz1ESSfRl0OFcuxE+WoWNRbjnZmUQlRm8Wtviaa3It4eooqiNBCaRWSW2X6bTWYBJhf5FFF3Qq7a54CId7TWASokFOXj+EdNQ3tVNTuwQSRrfviWV94g64NgSoiRH5e4EljcwchRmU8R2J7M0G0ZAvA2xC/PIwJKhAfxYZMb/7BkF2awMTqCcJR7MYcsNmhil37CMv3iVYdILc0gy0wVJQxM2jqRPgUP3InLvY9bn2GSLKHkmQbqCdcfElh9iaR8l2YquPMPLmUdZamQ1d0sWikxfvmTLSu60FZ/WmIfMNlXuFzc6jLY6IJIomDeJrITA6TmUqdbevXh79Zef6u6RLPjcqWvsZY7X6CkgDE4ULP+vwUX8YG0s5yuf2qpv6YBYDZ2yYunj4Rur2nwxXAWcadJeUsA4ev/SVM/1LfAVOtXW4xpbWpAAAAAElFTkSuQmCC" type="image/x-icon"> <style> <!-- image { border:0; } body { font-family: verdana, arial, helvetica, sans-serif; margin:0; padding:0; text-align:center; font-size:0.7em; background:#FFFFFF; } --> </style> </head> <body> <center><br><br> <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXAAAAByCAIAAADFxB3XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAd0SU1FB9gMAwIoAlUrbeUAAAyASURBVHhe7V2JsuQmDEz+/19ybZL9sdzXhlRXFCLbCLAAG/XW1JafBwupJRohmJnPP3369Bn/EQEiQARcEEiEwn9EgAgQARcEPnORQiFEgAgQgX+WO0SBCBABIuCFAAnFC0nKIQJEgBkKY4AIEAE/BJih+GFJSUQgPAIklPAhQACIgB8CJBQ/LCmJCIRHgIQSPgQIABHwQ4CE4oclJRGB8AiQUMKHAAEgAn4IkFD8sKQkIhAeARJK+BAgAETADwESih+WlEQEwiNAQgkfAgSACPghQELxw5KSiEB4BHYmlD++/z68fwkAEZiKQCBCIb9MjazwncWMt50J5ffvvsujOqaDw4/rNQCk2MvjLV0HCb+dCUW5UPHLmkBjrzEQ+PXDh9++/Ra2Ig7//PgxgumBCCXIFBEhah9uI6hE8chfJJSHu81UTzEICcVEjA3uIyCJsFr1MEO5j+1iCVzyLHZAvO7zZbUKPxLK68OBRdnXu/BVBqS6SWETgEueVznzTFkueV7vwvcYoNgk/anmM2Yo73HmhaZc8rzehS8xQDZ0oC/IRd0MUsLbeZeHS56XjMd3q6lyE7VbLLYxQ3m3m2XfTswIMkW83m2vMuCKTZIRaj5jDeVVj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sPLDRadDt2nA9xGKGUxKMRTeKkNfQDtFu2bSk44q0+lcMa+QrTR2ebPWDEU4ReLwNAjrs5hWH7k4aA2hyJyJtUMe6Lhj3hwaLlBABhiuzeRlqEq+wsU0IC+nZn17CS6tI0PJEZNVan7x/CBcSSjBA47mE4H9ECCh7OdTWkQEliFAQlkGPTsmAvshQELZz6e0iAgsQ4CEsgx6dkwE9kOAhLKfT2kREViGAAllGfTsmAjshwAJZT+f0iIisAwBEsoy6NkxEdgPARLKfj6lRURgGQIklGXQs2MisB8CJJT9fEqLiMAyBEgoy6Bnx0RgPwRIKPv5lBYRgWUIkFCWQc+OicB+CJBQ9vMpLSICyxAgoSyDnh0Tgf0QIKHs51NaRASWIUBCWQY9OyYC+yFAQtnPp7SICCxD4G/UfFgG8FlpFgAAAABJRU5ErkJggg=="> <form method="post" action=""> <textarea name="doms" style="width:400px; height:200px; border:1px black solid; padding:3px; margin:15px"></textarea><br><br> проверить на зоны<br> <input name="dom" style="width:180px; height:20px; border:1px black solid; padding:3px; margin-top:5px; margin-bottom:15px; text-align:center"><br> <input type="submit" value="чекнуть" style="border:1px #89B4CC solid;"> </form> <? /* тра тата .. типо коменты .. опера рулит, валенки валяют .. чек происходит не по всем доменам, но зато очень быстро, ибо на 1 домет тратиться всего 100байт входящего трафа .. моё любимое слово из трёх букв - "ЕЩЁ" (c) 159932 */ $pag = 'http://ruserver.net/?p=check_domain&domain='; if (!empty($_POST['doms'])){ echo ' <div style="border:1px solid #E5E8D5; width:420px; padding:18px; margin:40px; background-color:#FFFBF2; text-align:left">'; $doms = explode("\n",$_POST['doms']); $mh = curl_multi_init(); foreach ($doms as $url) { if (strlen(trim($url)) > 3) $i = $pag.trim($url); else continue; $conn[$i] = curl_init($i); curl_setopt($conn[$i], CURLOPT_RETURNTRANSFER, 1); curl_multi_add_handle ($mh,$conn[$i]); } do { $mrc = curl_multi_exec($mh, $active); } while ($mrc == CURLM_CALL_MULTI_PERFORM); while ($active and $mrc == CURLM_OK) { if (curl_multi_select($mh) != -1) { do { $mrc = curl_multi_exec($mh, $active); } while ($mrc == CURLM_CALL_MULTI_PERFORM); } } if ($mrc != CURLM_OK) print "*** сломался, по этой причине - $mrc\r\n"; foreach ($conn as $i => $url) { $res[$i]=curl_multi_getcontent($conn[$i]); curl_multi_remove_handle($mh,$conn[$i]); curl_close($conn[$i]); } curl_multi_close($mh); asort($res); foreach($res as $url=>$data){ if (strpos($data,'whois_answer(-1);') !== false) echo '<font color="orange">'.substr($url,43).'</font><br>'; elseif (strpos($data,'whois_answer(0);') !== false) echo '<font color="red">'.substr($url,43).'</font><br>'; elseif (strpos($data,'whois_answer(1);') !== false) echo '<font color="green">'.substr($url,43).'</font><br>'; else echo '<font color="black">'.substr($url,43).'</font><br>'; } unset($conn,$mh,$mrc,$res,$active,$i); echo '</div>'; } if (!empty($_POST['dom'])){ $zones = array('ru', 'su', 'com', 'net', 'org', 'biz', 'info', 'name', 'us', 'tv', 'cc', 'ws', 'cn', 'in', 'mobi', 'asia'); echo ' <div style="border:1px solid #E5E8D5; width:420px; padding:18px; margin:40px; background-color:#FFFBF2; text-align:left">'; $urls = explode(',',$_POST['dom']); $mh = curl_multi_init(); while(count($urls)){ $url = trim($urls[0]); array_shift($urls); foreach ($zones as $zone) { if (strlen($url) > 0) $i = $pag.$url.'.'.$zone; else continue; $conn[$i] = curl_init($i); curl_setopt($conn[$i], CURLOPT_RETURNTRANSFER, 1); curl_multi_add_handle ($mh,$conn[$i]); } } do { $mrc = curl_multi_exec($mh, $active); } while ($mrc == CURLM_CALL_MULTI_PERFORM); while ($active and $mrc == CURLM_OK) { if (curl_multi_select($mh) != -1) { do { $mrc = curl_multi_exec($mh, $active); } while ($mrc == CURLM_CALL_MULTI_PERFORM); } } if ($mrc != CURLM_OK) print "*** сломался, по этой причине - $mrc\r\n"; foreach ($conn as $i => $url) { $res[$i]=curl_multi_getcontent($conn[$i]); curl_multi_remove_handle($mh,$conn[$i]); curl_close($conn[$i]); } curl_multi_close($mh); asort($res); foreach($res as $url=>$data){ if (strpos($data,'whois_answer(-1);') !== false) echo '<font color="orange">'.substr($url,43).'</font><br>'; elseif (strpos($data,'whois_answer(0);') !== false) echo '<font color="red">'.substr($url,43).'</font><br>'; elseif (strpos($data,'whois_answer(1);') !== false) echo '<font color="green">'.substr($url,43).'</font><br>'; else echo '<font color="black">'.substr($url,43).'</font><br>'; } unset($conn,$mh,$mrc,$res,$active,$i); echo '</div>'; } ?> </center> <div style="text-align:left; padding-left:8px; padding-bottom:5px; position:fixed; bottom:0; width:50%;"> <font color="red">site.com</font> - домен занят<br> <font color="orange">site.com</font> - нет возможности проверить<br> <font color="green">site.com</font> - домен свободен<br> <font color="black">site.com</font> - произошла ошибка<br> </div> </body> </html> http://rapidshare.com/files/207337488/4_domen.php.html а то пробелы форум лишние ставит=\
чекер носка. только один сразу.. мне удобно. PHP: <html> <head><title>Чикаем носки до дырок! || намазано цыфрами ..</title> <link href="data:image/ico;base64,AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAEAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAQGbAAAAngABAJ4AAAC3AAACwgABAsIAAgC3AAACoQAAAK8AAQCvAAAAyAAAAb0AAQCnAAAAwAADAKcAAgDAAAAAnwAAALgAAgC4AAABrQABAa0AAACwAAACuwACALAAAADJAAABpQACAaUAAAG+AAAAqAACAKgAAADBAAIBnQAAAKAAAAC5AAIAuQAAAccAAwGuAAIBxwAAALEAAADKAAABpgABAb8AAACpAAMBvwACAKkAAADCAAABtwAAAKEAAQC6AAABrwACAa8AAACyAAMAsgAAAKoAAQCqAAAAwwD//v8AAAGfAAEAwwACAZ8AAAG4AAAAogACAKIAAgC7AAAAmgABAckAAACzAAMByQAAAcEAAAKdAAABoAABAMQAAAG5AAEBuQAAAKMAAQCjAAAAvAADALwAAQGxAAAAmwACAJsAAAC0AAEAtAD9//4AAAGpAAEBqQD///4AAgHCAAAArAABAaEAAAG6AAAApAABAKQ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29kMSNNHGsuHVU2YVkWQ21sZBIMXgYfLlU3c1cYJ3AEIzkxLB8fWGVWWXUYZFNTImNbDg4FZmYZFAozJ29jVGQMDA4fRWh6QiV1NW0SE0oxDg4uZjsmCygybEMHL0BNECpFOGhoeAtEAHEvPRJrFw4fOGhIJCgZAIABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIABAAA=" rel="icon" type="image/x-icon"> <style type="text/css"> .clearfloat { clear : both; height : 0; font-size : 1px; line-height : 0; } </style> </head> <center> <br><br><br><br><br><br><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbwAAABuCAIAAADTUzEYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAd0SU1FB9gKHhIrAk8T57QAAA8ZSURBVHhe7V3p0iO3DXSe0t71ffvZEzv3nR8bxKxiIaA0H8lBg6TQW6otSR/JARtAEwA5o998+PDhI/4jAkSACBCBTgSENPmPCBABIkAEOhH4qLMdmxEBIkAEiMD/UnOiQASIABEgAv0IkDT7sWJLIkAEiAAjTdoAESACRGAEAUaaI2ixLREgAukRIGmmNwECQASIwAgCJM0RtNiWCBCB9AiQNNObAAEgAkRgBAGS5ghabEsEiEB6BEia6U2AABABIjCCAElzBC22JQJEID0CJM30JkAAiAARGEGApDmCFtsSASKQHgGSZnoTIABEgAiMIEDSHEGLbYkAEUiPAIo0//r113//9lv5X17/+uGHf//44z+///5v33zTvuR7aVDayP+1Qf1expEv24//+emn0r7+ST6aL6Wv/LV8eZCuC3QP4TJfyuwOmlcGUc+yNBeNBDt7cefi9drBKxXIly7zejYIhDT/+Pnn+nr/+O476BxeY3BNlDKjSo4PZ6f/qpeZ14Di6FmIOqr8+v3Rk7oQ/k9ffJHN2SGkaXDMYDpzLiHI/OWrr2SNKYjpKLJzQNO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AssRIGkuVwEFIAJE4CQESJonaYuyEgEisBwBkuZyFVAAIkAETkKApHmStigrESACyxEgaS5XAQUgAkTgJARImidpi7ISASKwHAGS5nIVUAAiQAROQoCkeZK2KCsRIALLESBpLlcBBSACROAkBEiaJ2mLshIBIrAcAZLmchVQACJABE5CgKR5krYoKxEgAssRIGkuVwEFIAJE4CQESJonaYuyEgEisBwBkuZyFVAAIkAETkLgv0dTruVFh1aMAAAAAElFTkSuQmCC"><br><br> <form method="POST"> <input style="width:215px; border: 1px #89B4CC solid;" type="text" name="proxy" align="center"> <input type="submit" value="submit" style="border:1px #89B4CC solid;"></td></table> </form> <?php /* от надувных шариков ещё никто не умирал .. # # # # # # # # # # # # # # # # # чекает носок на пригодность .. (с) 159932 */ set_time_limit(20); if (isset($_POST['proxy'])){ $sock = $_POST['proxy']; if (!preg_match('#\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d{1,5}#',$sock)) die('<br><font color="orange" size="10">носок не верно связан</font>'); $kala4 = curl_init('http://cmyip.com/'); curl_setopt($kala4, CURLOPT_RETURNTRANSFER, 1); curl_setopt($kala4, CURLOPT_TIMEOUT, 20); curl_setopt($kala4, CURLOPT_PROXY, $sock); curl_setopt($kala4, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5); $uups = curl_exec($kala4); $a = explode(':',$sock); if (preg_match("#$a[0]#",$uups)) echo '<br><font color="green" size="10">'.$sock.'</font>'; else echo '<br><font color="red" size="10">в дауне</font>'; } ?> </center> </html> http://rapidshare.com/files/207338772/4_socks5.php.html а то пробелы форум лишние ставит=\
PHP: <html> <head><title>Хочешь поднять Pr сайта ? - ХУЙ - тут моно только чекать ..</title> <style type="text/css"> .clearfloat { clear:both; height:0; font-size:1px; line-height:0; } </style> </head> <body><center><br><br><br><br><br> <? set_time_limit(0); error_reporting(E_ALL); //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// define('GOOGLE_MAGIC', 0xE6359A60); function nooverflow($a){ while ($a<-2147483648) $a+=2147483648+2147483648; while ($a>2147483647) $a-=2147483648+2147483648; return $a; } function zeroFill ($x, $bits){ if ($bits==0) return $x; if ($bits==32) return 0; $y = ($x & 0x7FFFFFFF) >> $bits; if (0x80000000 & $x) { $y |= (1<<(31-$bits)); } return $y; } function mix($a,$b,$c){ $a=(int)$a; $b=(int)$b; $c=(int)$c; $a -= $b; $a -= $c; $a=nooverflow($a); $a ^= (zeroFill($c,13)); $b -= $c; $b -= $a; $b=nooverflow($b); $b ^= ($a<<8); $c -= $a; $c -= $b; $c=nooverflow($c); $c ^= (zeroFill($b,13)); $a -= $b; $a -= $c; $a=nooverflow($a); $a ^= (zeroFill($c,12)); $b -= $c; $b -= $a; $b=nooverflow($b); $b ^= ($a<<16); $c -= $a; $c -= $b; $c=nooverflow($c); $c ^= (zeroFill($b,5)); $a -= $b; $a -= $c; $a=nooverflow($a); $a ^= (zeroFill($c,3)); $b -= $c; $b -= $a; $b=nooverflow($b); $b ^= ($a<<10); $c -= $a; $c -= $b; $c=nooverflow($c); $c ^= (zeroFill($b,15)); return array($a,$b,$c); } function GoogleCH($url, $length=null, $init=GOOGLE_MAGIC) { if(is_null($length)) { $length = sizeof($url); } $a = $b = 0x9E3779B9; $c = $init; $k = 0; $len = $length; while($len >= 12) { $a += ($url[$k+0] +($url[$k+1]<<8) +($url[$k+2]<<16) +($url[$k+3]<<24)); $b += ($url[$k+4] +($url[$k+5]<<8) +($url[$k+6]<<16) +($url[$k+7]<<24)); $c += ($url[$k+8] +($url[$k+9]<<8) +($url[$k+10]<<16)+($url[$k+11]<<24)); $mix = mix($a,$b,$c); $a = $mix[0]; $b = $mix[1]; $c = $mix[2]; $k += 12; $len -= 12; } $c += $length; switch($len) /* all the case statements fall through */ { case 11: $c+=($url[$k+10]<<24); case 10: $c+=($url[$k+9]<<16); case 9 : $c+=($url[$k+8]<<8); /* the first byte of c is reserved for the length */ case 8 : $b+=($url[$k+7]<<24); case 7 : $b+=($url[$k+6]<<16); case 6 : $b+=($url[$k+5]<<8); case 5 : $b+=($url[$k+4]); case 4 : $a+=($url[$k+3]<<24); case 3 : $a+=($url[$k+2]<<16); case 2 : $a+=($url[$k+1]<<8); case 1 : $a+=($url[$k+0]); /* case 0: nothing left to add */ } $mix = mix($a,$b,$c); /*-------------------------------------------- report the result */ return $mix[2]; } function strord($string) { for($i=0;$i<strlen($string);$i++) { $result[$i] = ord($string{$i}); } return $result; } function get_pr($url) { $result='error'; if (($url.""!="")&&($url.""!="http://")): if (substr(strtolower($url),0,7)!="http://"): $url="http://".$url; endif; $url="info:".$url; $checksum=GoogleCH(strord($url)); $google_url=sprintf("http://www.google.com/search?client=navclient&ch=6%u&features=Rank&q=".$url,$checksum); // url to get from google $handle = fopen($google_url, "rb"); $contents = ''; while (!feof($handle)) { $contents.= fread($handle, 8192); } fclose($handle); $p=explode(":",$contents); if (isset($p[2])): $result=trim($p[2]); endif; endif; return $result; } //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if (isset($_GET['url'])){ echo '<br><br><b>'.$_GET['url'].'</b><br><br><table style="border: 1px dashed #89B4CC;"> <td align="center" width="70"><b>Pr</b> '.get_pr($_GET['url']).'</td><td align="right" width="70"><img src="http://yandex.ru/cycounter?'.$_GET['url'].'"></td> </table><br><img src="http://traffic.alexa.com/graph?c=2&u='.$_GET['url'].'&r=6m&y=t&z=1&h=160&w=300"></center></body></html>'; die; } echo '<form method="post"><textarea style="width:425px; height:185px; border: 1px #89B4CC solid;" type="text" name="urls" cols="70" rows="7"></textarea><br><br>ТиЦ <input type="checkbox" name="yandex" checked="checked"><br><br><input type="submit" style="width:225px; height:35px; border: 1px #89B4CC solid;" value="Отравить" alt="крысиным ядом"></form>'; if (isset($_POST['urls'])){ preg_match_all('#[a-z0-9-_\.]{1,50}\.[a-z]{2,4}#i',$_POST['urls'],$urls) or die('<font color="red" size="6">А вот хрен! Надо вбивать урлы однако!</font>'); $urls = array_unique($urls[0]); $prs = array(); foreach ($urls as $ur){ $prs[$ur] = get_pr($ur); } arsort($prs); echo '<table>'; if ($_POST['yandex'] == 'on') echo '<tr><td style="border-bottom : 1px dashed #CD5C5C; font-size:16;">Url</td><td style="border-bottom : 1px dashed #CD5C5C; font-size:16;" align="center">Pr</td><td style="border-bottom : 1px dashed #CD5C5C; font-size:16;" align="right">ТиЦ</td></tr>'; else echo '<tr><td style="border-bottom : 1px dashed #CD5C5C; font-size:16;">Url</td><td style="border-bottom : 1px dashed #CD5C5C; font-size:16;" align="right">Pr</td></tr>'; foreach ($prs as $url=>$pr){ echo '<tr>'; if ($_POST['yandex'] == 'on') echo '<td style="border-bottom : 1px dashed #89B4CC;" align="left">'.$url.'</td><td align="center" width="70" style="border-bottom : 1px dashed #89B4CC;">'.$pr.'</td><td align="right" width="70" style="border-bottom : 1px dashed #89B4CC;"><img src="http://yandex.ru/cycounter?'.$url.'"></td>'; else echo '<td style="border-bottom : 1px dashed #89B4CC;" align="left">'.$url.'</td><td align="right" width="70" style="border-bottom : 1px dashed #89B4CC;">'.$pr.'</td>'; echo '</tr>'; } echo '</table></center>'; } ?> </center></body></html> гетом можно отправлять 1 урл, чек происходит также алексы .php?url=mail.ru http://rapidshare.com/files/207358958/4_pr.php.html а то пробелы форум лишние ставит=\
чекер дир на курле .. комунада. PHP: <html> <head> <title>Снифер-абфускатор-ёжикомер!</title> <style type="text/css"> .clearfloat { clear : both; height : 0; font-size : 1px; line-height : 0; } </style> </head> <body><br><br><br> Введите адрес исследуемого хоста.<br> <form method="post"> <input name="url" type="text" style="width:205px; border: 1px #89B4CC solid; text-align:center" value="хост" onblur="if(this.value=='') this.value='хост';" onfocus="if(this.value=='хост') this.value='';"> / <input name="path" type="text" style="width:110px; border: 1px #89B4CC solid; text-align:center" value="дира/ы" onblur="if(this.value=='') this.value='дира/ы';" onfocus="if(this.value=='дира/ы') this.value='';"> / <input name="threads" type="text" style="width:58px; border: 1px #89B4CC solid; text-align:center" value="потоки" onblur="if(this.value=='') this.value='потоки';" onfocus="if(this.value=='потоки') this.value='';"> <input type="submit" value="бегин" style="border:1px #89B4CC solid;"> </form> <br> <pre> <? set_time_limit(0); error_reporting(0); ignore_user_abort(); $patt = ''; # путь до дир if (isset($_POST['url'])) { if ($_POST['url'] == 'хост') die('хост не введён'); if ($_POST['path'] != 'дира/ы') $path = $_POST['path']; else $path = false; if ($_POST['threads'] > 0) $cont = $_POST['threads']; else $cont = 50; # кол-во потоков, если не введено - ставится пятдесят $url = trim($_POST['url']); $sta1 = microtime(true); $fo = array_chunk(file($patt), $cont); $fp = @fsockopen ($url, 80, $errno, $errstr, 30); if (!$fp) echo 'Невозможно установить соединение с сервером.'; else { $sea = fopen($url.'.htm','w'); fwrite($sea,'<html><title>'.$url.'</title><head><style>body {padding: 0px; margin:15px; color: #33FF33; background: #000000;}</style></head><body>'); echo '<hr><font color=\'DarkOrange\'>Host:'.$url.'</font><hr>'; $temp = array(); foreach ($fo as $dirs) { $dirs = array_merge($dirs,$temp); $temp = $ssh = $res = array(); $mh = curl_multi_init(); foreach ($dirs as $dir) { $dir = trim($dir); if ($dir[0] == '/') $dir = substr($dir, 1); $ssh[$dir] = curl_init($url.'/'.($path = ($path) ? $path.'/' : '').$dir); curl_setopt($ssh[$dir], CURLOPT_RETURNTRANSFER, 1); curl_setopt($ssh[$dir], CURLOPT_HEADER, 1); curl_setopt($ssh[$dir], CURLOPT_NOBODY, 1); curl_setopt($ssh[$dir], CURLOPT_TIMEOUT, 240); curl_multi_add_handle ($mh,$ssh[$dir]); } if (!sizeof($ssh)) continue; do { $mrc = curl_multi_exec($mh, $active); } while ($mrc == CURLM_CALL_MULTI_PERFORM); while ($active and $mrc == CURLM_OK) { if (curl_multi_select($mh) != -1) { do { $mrc = curl_multi_exec($mh, $active); } while ($mrc == CURLM_CALL_MULTI_PERFORM); } } foreach ($ssh as $i => $dir) { $res[$i]=curl_multi_getcontent($ssh[$i]); curl_multi_remove_handle($mh,$ssh[$i]); curl_close($ssh[$i]); } curl_multi_close($mh); foreach ($res as $dir=>$data) { if (!strlen(trim($data))) { ++$arrors; array_push($temp,$dir); continue; } $data = explode("\n",$data); $data = $data[0]; if (strpos($data,"200") or strpos($data,"201") or strpos($data,"202") or strpos($data,"203") or strpos($data,"204") or strpos($data,"205") or strpos($data,"206") or strpos($data,"207") or strpos($data,"226")) { echo '<a href="http://'.$url.'/'.$dir.'">'.$dir.'</a> <font color="Yellow">'.$data.'</font>'; fwrite($sea, '<a href="http://'.$url.'/'.$dir.'">'.$dir.'</a> <font color="Yellow">'.$data."</font><br>\r\n"); } if (strpos($data,"400") or strpos($data,"401") or strpos($data,"402") or strpos($data,"403") or strpos($data,"405") or strpos($data,"406") or strpos($data,"407") or strpos($data,"408") or strpos($data,"409") or strpos($data,"410") or strpos($data,"411") or strpos($data,"412") or strpos($data,"413") or strpos($data,"414") or strpos($data,"415") or strpos($data,"416") or strpos($data,"417") or strpos($data,"422") or strpos($data,"423") or strpos($data,"424") or strpos($data,"426")) { echo '<a href="http://'.$url.'/'.$dir.'">'.$dir.'</a> <font color="Red">'.$data.'</font>'; fwrite($sea, '<a href="http://'.$url.'/'.$dir.'">'.$dir.'</a> <font color="Red">'.$data."</font><br>\r\n"); } if (strpos($data,"300") or strpos($data,"301") or strpos($data,"302") or strpos($data,"303") or strpos($data,"304") or strpos($data,"305") or strpos($data,"306") or strpos($data,"307")) { echo '<a href="http://'.$url.'/'.$dir.'">'.$dir.'</a> <font color="Navy">'.$data.'</font>'; fwrite($sea, '<a href="http://'.$url.'/'.$dir.'">'.$dir.'</a> <font color="Navy">'.$data."</font><br>\r\n"); } if (strpos($data,"500") or strpos($data,"501") or strpos($data,"502") or strpos($data,"503") or strpos($data,"504") or strpos($data,"505") or strpos($data,"506") or strpos($data,"507") or strpos($data,"510")) { echo '<a href="http://'.$url.'/'.$dir.'">'.$dir.'</a> <font color="DarkOrange">'.$data.'</font>'; fwrite($sea, '<a href="http://'.$url.'/'.$dir.'">'.$dir.'</a> <font color="DarkOrange">'.$data."</font><br>\r\n"); } } flush(); } if ($cont > 20) sleep($cont/20); # если кол-во потоков более 20ти штук, идёт слип каждые [потоки/20] секунд (просто мне так захотелось) $end = microtime(true) - $sta1; fwrite($sea, $end); fclose($sea); fclose($fp); } } ?> </pre> </body> </html> http://rapidshare.com/files/207340257/index.php.html а то пробелы форум лишние ставит=\
Фейк mail.ru Работает во всех браузерах, сразу заходит в почту, есть выбор домена (inbox.ru, mail.ru и etc.), всё в одном файле: index.php: http://slil.ru/27037711 (просто код большой, сюда не влазит) Все логины/пароли пишутся в mails.txt в том же каталоге, где и этот index.php
скрипт загрузки изображений на radikal.ru perl PHP: #! /usr/bin/perl use IO::Socket::INET; # forming header's .. $request1 = "POST http://www.radikal.ru/action.aspx HTTP/1.1\r\n". "Host: www.radikal.ru\r\n". "User-Agent: Mozilla/5.0\r\n". "Connection: close\r\n". "Referer: http://www.radikal.ru\r\n". "Content-Type: multipart/form-data; boundary=:boundary:\r\n". "Content-Length: :length:\r\n\r\n"; $request2 = "--:boundary:\r\n". "Content-Disposition: form-data; name=\"upload\"\r\n". "\r\nyes\r\n". "--:boundary:\r\n". "Content-Disposition: form-data; name=\"F\"; filename=\":name:\"\r\n". "Content-Type: image/:type:\r\n\r\n"; # file name,type $file = shift or die "use: $0 <image>\n"; $fsize = -s $file; ($fname) = $file =~ /([^\/]+)$/; ($ftype) = $fname =~ /\.([^\.]+)$/; unless($fname && $ftype) { die "[-] invalid filename\n"; } # read file open FID, $file or die "[-] failed to open $file!\n"; sysread(FID, $data, $fsize); close FID; $boundry = '---------------------------2132365407679'; $request2 =~ s/:boundary:/$boundry/; $request2 =~ s/:boundary:/$boundry/; $request2 =~ s/:name:/$fname/; $request2 =~ s/:type:/$ftype/; $request2 .= $data."\r\n--$boundry--\r\n"; $length = length($request2); $request1 =~ s/:boundary:/$boundry/; $request1 =~ s/:length:/$length/; $request1 .= $request2; # create socket *SOCK = IO::Socket::INET->new( PeerAddr => "radikal.ru", PeerPort => 80, Proto => 'tcp', Type => SOCK_STREAM) or die("[-] connection failed!\n"); # read sock answer $buff = ""; print SOCK $request1; while($line = <SOCK>){ $buff .= $line; if ($line=~/<\/html>/) {last;} } close SOCK; # parce $buff =~ /<a href="http:\/\/(.*)" target="_blank">/; print 'Link: http://'.$1."\n";
Писал когда учил php)Может кому пригодится. Функция для обработки массивов в массивах PHP: function reBuild($array) { foreach($array as $key=>$value) { if(is_array($value)) { $array[$key] = reBuild($value); continue; } $array[$key] = htmlspecialchars($value); } return $array; } $_GET = reBuild($_GET); Или так PHP: $in = array(&$_GET, &$_POST, &$_COOKIE); while (list($k, $v) = each($in)) { foreach ($v as $key => $val) { if (!is_array($val)) { $in[$k][$key] = htmlspecialchars($val); continue; } $in[] = &$in[$k][$key]; } } unset($in);
eLWAux, ну и ужос. вот 13 строчек из привата: Code: use warnings; use strict; use LWP::UserAgent; my $im = shift || die "Nety kartinki\n"; my $ua = LWP::UserAgent->new; my $load = $ua->post('http://www.radikal.ru/action.aspx', Content_type => 'multipart/form-data', Content => [upload => 'yes', F => [$im]])->content; $load =~ m,"img4prev" src="(.+?)",i ? print $1 : print "XYI"
RegStuff, отличия видиш?! ти используеш говорий компонент LWP::UserAgent; а все делаю вручную, через сокети. твои 13 строчек на LWP, то самое что и мой 26 на сокетах, а то и больше мегакодер