1581, 4/80 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   U_SoRang
   http://root@root]# rm -rf /
   [Æß+ÆíÁý] [C¾ð¾î] TEXT¿¡ »öÀ» ÀÔÈ÷ÀÚ!! TEXT COLOR SET !!!

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


#include <stdio.h>
#include <windows.h>     // ÀÌ µÎ header fileÀº »öÀ» ÀÔÈ÷±â À§ÇØ ¹Ýµå½Ã ÇÊ¿äÇÑ °ÍÀÔ´Ï´Ù.

#define COL                   GetStdHandle(STD_OUTPUT_HANDLE)        // ÄܼÖâÀÇ ÇÚµéÁ¤º¸ ¹Þ±â

#define BLACK                SetConsoleTextAttribute(COL, 0x0000);        // °ËÁ¤»ö
#define DARK_BLUE         SetConsoleTextAttribute(COL, 0x0001);        // ÆĶõ»ö
#define GREEN                SetConsoleTextAttribute(COL, 0x0002);        // ³ì»ö
#define BLUE_GREEN        SetConsoleTextAttribute(COL, 0x0003);        // û³ì»ö
#define BLOOD               SetConsoleTextAttribute(COL, 0x0004);        // °ËºÓÀº»ö
#define PURPLE               SetConsoleTextAttribute(COL, 0x0005);        // º¸¶ó»ö
#define GOLD                 SetConsoleTextAttribute(COL, 0x0006);        // ±Ý»ö
#define ORIGINAL            SetConsoleTextAttribute(COL, 0x0007);        // ¹àÀº ȸ»ö (ORIGINAL CONSOLE COLOR)
#define GRAY                 SetConsoleTextAttribute(COL, 0x0008);        // ȸ»ö
#define BLUE                  SetConsoleTextAttribute(COL, 0x0009);        // ÆĶõ»ö
#define HIGH_GREEN       SetConsoleTextAttribute(COL, 0x000a);        // ¿¬µÎ»ö
#define SKY_BLUE           SetConsoleTextAttribute(COL, 0x000b);        // Çϴûö
#define RED                   SetConsoleTextAttribute(COL, 0x000c);        // »¡°£»ö
#define PLUM                SetConsoleTextAttribute(COL, 0x000d);        // ÀÚÁÖ»ö
#define YELLOW             SetConsoleTextAttribute(COL, 0x000e);        // ³ë¶õ»ö
#define WHITE                SetConsoleTextAttribute(COL, 0x000f);        // Èò»ö


¡Ú Original·Î µÇ¾î ÀÖ´Â »öÀº ¿ø·¡ consoleÀ» ½ÇÇàÇßÀ» ¶§ÀÇ text color ÀÔ´Ï´Ù.


¡Ú »ö±ò°ú À½¿µ
    µÚ¿¡ ÀÖ´Â [0x000f]¿¡¼­ ³¡ÀÇ µÎ ÀÚ¸®°¡ color code ÀÔ´Ï´Ù.
    ÁÖÀÇÇÒ Á¡Àº, 16Áø¼ö·Î µÇ¾î Àֱ⠶§¹®¿¡ { 0 ~ f } ±îÁö¸¸ ³ÖÀ¸¼Å¾ß ÇÕ´Ï´Ù.

    [          0          x          0          0          0          f          ]
                                                         À½¿µ»ö   ±ÛÀÚ»ö




³¡ µÎ ÀÚ¸®¸¸ ¹Ù²ãÁÖ¸é, sourceÀÇ °á°ú¹°À» È­·ÁÇÏ°Ô ¹Ù²Ü ¼ö ÀÖ½À´Ï´Ù.

  Hit : 18324     Date : 2010/12/15 05:54



    
VBora #include <windows.h> Çì´õ¸¦ Àú·±°÷¿¡µµ »ç¿ëÇÒ ¼ö ÀÖ¾ú±º¿ä;
¿Ã ÁÁÀº Á¤º¸ °¨»çµå¸³´Ï´Ù ^^:
2010/12/15  
º°ºûÀ»´ã¾Æ windows.h¸¦ Àß ÀÌ¿ëÇϸé
ºñÇÁÀ½ ¿¬ÁÖµµ °¡´ÉÇÏÁÒ

¾î¶² Àß³­ Ä£±¸ ³à¼®ÀÌ ÇÁ·Î±×·¡¹Ö½Ã°£¿¡ ÀÚÀ¯¿¬½ÀÀ» °¡Á³´Âµ¥
ºñÇÁÀ½À¸·Î ´«ÀÇ ²ÉÀ» ¿¬ÁÖÇÏ´õ±º¿ä...
¼Ò°¨Àº.... ÃʶóÇÏÁö¸¸ ¸ÚÀÖ¾î....
2010/12/16  
sinping À½... È°¿ëÀº ¾î¶»°Ô ÇؾßÇϳª¿ä? È°¿ë¹æ¹ýÁ»... ¿¹Á¦¶óµµ.. 2010/12/26  
ganesha º°ºûÀ»´ã¾Æ // ¼ö¾÷½Ã°£¿¡ ºñÇÁÀ½ ÇÁ·Î±×·¡¹ÖÇؼ­ ¿¬ÁÖÇÑ°Å À̾îÆù²È°í °¨»óÇÏ°í ÀÖ¾ú´Âµ¥
¸ðµç »ç¶÷µéÀÌ ÀýÃÄ´Ùº¸´õ±º¿ä;;; º»Ã¼¿¡¼­ ¼Ò¸®³µ´Ù³»¿ä ¤»¤»¤»¤»¤»¤»
2011/01/22  
rkdgh0112 ¾Æ ¼ýÀÚÄڵ忡¼­ ¿©¼¸°³ ¸ðµÎ »ö±ò¾Æ´Ñ°¡¿ä?
°¢°¢ RGB ³ªÅ¸³»´Â°É·Î ¾Ë°íÀִµ¥ ..
2011/02/09  
rkdgh0112 ¾Æ.. winapi¿¡¼­ÀÇ »öÀÌ¿´³× ¤§¤§.
CÄÚµå·Îµµ »ö ÁöÁ¤ÇÒ¼öÀִ°ɷΠ¾Ë°íÀִµ¥.. ¾Æ´Ñ°¡?
2011/02/09  
zades01 ¿À ÀÌ·±°Ô Àֳ׿ä 2022/12/14  
1521   * À©µµ¿ì ÇØÅ·ÀÇ ±âº»¿ø¸® *     HackerMapia
02/21 18342
  [Æß+ÆíÁý] [C¾ð¾î] TEXT¿¡ »öÀ» ÀÔÈ÷ÀÚ!! TEXT COLOR SET !!![7]     U_SoRang
12/15 18323
1519   ³× Æ® ¿ö Å© °­ ÁÂ[17]     ¼ÒÀ¯
10/05 18158
1518   [Á¤¸®] ÇØÄ¿½ºÄð F.T.Z trainer Á¤¸® 6 ~ 10[2]     ÃÊÄÝ·¿³ªÀÎ
03/01 18078
1517   [°£´Ü] WireShark - °£´ÜÇÑ ÆÐŶ¿¡¼­ ÆÄÀÏ ÃßÃâ ¹æ¹ýÀÔ´Ï´Ù.[1]     Ǫ¸¥ÇÏ´Ã
05/08 17796
1516   OpenVMS Tutorial[4]     x90c
02/23 17660
1515   ÅÚ³Ý ¿¡¼­ FTP ¸®´ª½º ¸í·É¾îÁ¤¸®[5]     ±«µµjs
08/02 17315
1514   ½Ã½ºÅÛ ¸®¼Ò½º 99%¿¡ µµÀüÇÏÀÚ!![18]     DarkSlayer
09/10 17109
1513   ¸®´ª½º ¸í·É¾î ¸¶½ºÅÍ 3[13]     ¼ÒÀ¯
09/04 16921
1512   webhacking.kr 2¹ø[1]     ÇÁ¶óÀ̵å
09/28 16853
1511   Á¤º¸Åë½Å ÀÎÅÍ³Ý ¿ë¾î..(¸ð¸£½Ã´Â ºÐµé¸¸..+Âü°í..)[19]     H.R.T
12/29 16836
1510   chenkim4ÀÇ Áß±¹ÇØÅ· ±â¹ý 8°¡Áö Æí[1]     chenkim4
08/28 16745
1509   ¶ó¿ìÅÍ °£´ÜÇÑ ¸í·É¾î ¹× ±âº»¼³Á¤[2]     Mach
04/29 16701
1508   ¸®´ª½º Mysql ¼³Ä¡Çϱâ. centos6.4 - minimal // mysql 5.6.11 ¼Ò½º      nsh009
05/10 16656
1507   ¼ÒÄÏ ÇÁ·Î±×·¡¹Ö[5]     ¼ÒÀ¯
09/11 16645
1506   ¸®´ª½º ¸í·É¾î ¸¶½ºÅÍ 4[13]     ¼ÒÀ¯
09/05 16545
1505   À©µµ¿ìxp°ü¸®ÀÚ ºñ¹Ð¹øÈ£ °£´ÜÈ÷ ÇØÅ·Çϱâ![14]     whqkdnf000
02/26 16523
1504   ÃÊÂ¥¸¦ À§ÇÑ ÆÄÀ̽ã[2]     asdzxc301
12/18 16522
1503   C·Î ¸¸µç »ç°Ý°ÔÀÓ(ÁÖ¼®´Þ¾Æ³ùÀ½)[13]     whqkdnf000
01/15 16432
1502   [Á¤¸®] ÇØÄ¿½ºÄð F.T.Z trainer Á¤¸® 1 ~ 5[11]     ÃÊÄÝ·¿³ªÀÎ
03/01 16235
[1][2][3] 4 [5][6][7][8][9][10]..[80]

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