http://www.hackerschool.org/HS_Boards/zboard.php?id=QNA_linux&no=4422 [º¹»ç]
ÇØÄ¿½ºÄð ÄÁÅÙÃ÷Áß ´ëÇб³¿¡ ÀÕ´Â ¹öÆÛ¿À¹öÇÃ·Î¿ì º¸°íÀִµ¥¿ä~
À̰ź¸°í µû¶óÇϸé¼
VMware±ò°í
¸®´ª½º6.2(¿¹Àü¹öÀüÀÌ¶ó º¸¾ÈÀÌ Ãë¾àÇÏ¿© ¿¬½ÀÀ̽±´Ù°íÇؼ)
±ò¾Ò´Âµ¥¿ä
vi¿¡¼ ÀÛ¼ºÇÑ ³»¿ëÀÌ ½ÇÇàÇßÀ»¶§ ÇѱÛÀÌ ±úÁö´Â°Í°°³×¿ä
Á¦°¡ viµé¾î°¡¼ ÇѱÛÀÔ·ÂÇصµ ÇÑ±Û ÀÔ·ÂÀÚü°¡ ¾ÈµÇ³×¿ä
¿ø·¡ ÄÁÅÙÃ÷¿¡ ÀÖ´Â ¹®Á¦µéÀÌ Çѱ۷ΠµÇÀִ°Ͱ°Àºµ¥
º¼¼öÀÖ´Â ¹æ¹ý¾ø³ª¿ä?
main()
{
int auth = 0;
char passwd[20];
printf(¡°Æнº¿öµå¸¦ ÀÔ·ÂÇϼ¼¿ä : ¡°);
gets(passwd);
if(strcmp(passwd, ¡°[???????]¡±) == 0)
auth = 1;
if(auth)
printf(¡°ÃàÇÏÇÕ´Ï´Ù. ÀÎÁõ¿¡ Åë°úÇÏ¿´½À´Ï´Ù!\n¡±);
else
printf(¡°ÀÎÁõ¿¡ ½ÇÆÐÇÏ¿´½À´Ï´Ù.\n¡±);
}
ÀÌ°Å ¹®Á¦Ç®°í Àִµ¥
ÇѱÛÀÌ ¾È³ª¿À´Ï
ÀÎÁõ¿¡ Åë°úÇß´Ù´ÂÁö ½ÇÆÐÇß´Ù´ÂÁö ¾Ë¼ö°¡¾ø³×¿ä..
ÇØ°áÇØÁֽǼöÀִºР°è½Å°¡¿ä |
Hit : 2563 Date : 2016/01/27 07:19
|