1596, 1/80 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   festal
   [Æß]C++ ¾ð¾î¸¦ ÀÌ¿ëÇÑ ¹ÙÀ̳ʸ® ¼Ò½º

http://www.hackerschool.org/HS_Boards/zboard.php?id=Free_Lectures&no=8153 [º¹»ç]


#include <stdio.h>
#include <string.h>

int main(void)
{
    char passwd[16] = "abcd"; //passwd°¡ abcd·Î ÁöÁ¤µÇ¾îÀÖ½À´Ï´Ù
    char input[16] = {'0'}; // Æ佺¿öµå ÀԷ¹޴ ĭ À»¸¸µé±âÀ§ÇÑ ÇÔ¼öÀÔ´Ï´Ù
    
    printf("¾ÏÈ£ :"); //¹®ÀÚÃâ·Â
    scanf("%s", input); //À§¿¡ inputÇÔ¼öÀÇ ÀԷ¹޴ÂÇÔ¼ö
    
    if( strncmp(passwd, input , 4) == 0) //passwd¿Í inputÀÌ ¼º¸³ÇÒ°æ¿ì
{
        printf("·Î±×ÀÎ ¼º°ø \n"); //ÀÌ·±½ÄÀ¸·Î °á°ú°¡ ³ª¿À°í
        }
        else   //±× ÀÌ¿ÜÀÇ °æ¿ì
        printf("·Î±×ÀÎ ½ÇÆÐ \n");  //ÀÌ ¹®ÀÚ°¡ Ãâ·ÂµË´Ï´Ù
        
        return 0;
        } //ÇÁ·Î±×·¥ ¸¶Ä§



  Hit : 7801     Date : 2015/09/24 01:09



    
     [°øÁö] °­Á¸¦ ¿Ã¸®½Ç ¶§´Â ¸»¸Ó¸®¸¦ ´Þ¾ÆÁÖ¼¼¿ä^¤Ñ^ [29] ¸Û¸Û 02/27 19450
1595   [pwnable.kr] Shellshock[1]     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/23 96
1594   ShellshockÀÇ ±âº» ¿ä¾à     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/23 77
1593   [pwnable.kr] fd     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/23 70
1592   VPNÀÌ ¿¬°áµÇ¾ú´Ù°¡ µµÁß¿¡ ²¨µµ À¥ ºê¶ó¿ìÀú»ó¿¡¼­ À¯ÁöµÇ´Â ÀÌÀ¯     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/22 77
1591   ÇØÄ¿µéÀÌ ÇØÅ·½Ã »ç¿ëÇÏ´Â µð·ºÅ丮 °ø°£[1]     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/22 116
1590   Keyboard Hooking -part2 - (Python3 ver)     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/20 86
1589   [Windows API] Keyboard Hooking     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/20 74
1588   [pwnable.kr] cmd1 °ø·«     ÇØÅ·ÀßÇÏ°í½Í´Ù
10/23 238
1587   netdiscover ÆÄÀ̽ãÀ¸·Î ±¸ÇöÇϱ⠠   ÇØÅ·ÀßÇÏ°í½Í´Ù
08/13 515
1586   ÆÄÀ̽ãÀ» ÀÌ¿ëÇÑ ½ÉÇà À¥ Å©·Ñ·¯     ÇØÅ·ÀßÇÏ°í½Í´Ù
08/13 407
1585   ÆÄÀ̽ã random¸ðµâÀ» ÀÌ¿ëÇÑ ¼ýÀÚ¸ÂÃ߱⠰ÔÀÓ ±¸Çö     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/30 957
1584   ÆÄÀ̽ã äÆà ÇÁ·Î±×·¥ ±¸Çö     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/28 847
1583   ÆÄÀ̽㠼ÒÄÏ ÇÁ·Î±×·¡¹ÖÀÇ ±âÃÊ     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/26 987
1582   ¸®´ª½º À¥ ·Î±× ºÐ¼®     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/20 675
1581   ¸®´ª½º/À©µµ¿ì º¸¾È Àåºñ ·Î±×     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/20 826
1580   °í¼ö´ÔµéÀÇ µµ¿òÀ» ¹Þ°í ½Í½À´Ï´Ù     vbnm111
02/11 914
1579   ¸®´ª½º Ä¿³Î 2.6 ¹öÀü ÀÌÈÄÀÇ LKM     jdo
07/25 1432
1578   ½©ÄÚµå ¸ðÀ½     ÇØÅ·ÀßÇÏ°í½Í´Ù
01/15 2308
1577   Call by value VS Call by Reference     ÇØÅ·ÀßÇÏ°í½Í´Ù
01/15 1608
1 [2][3][4][5][6][7][8][9][10]..[80]

Copyright 1999-2024 Zeroboard / skin by Hackerschool.org / Secure Patch by Hackerschool.org