1596, 1/80 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   X-line
   ³ªºñ¸¦ ¾Ë¾Æº¸ÀÚ

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


³ªºñ¶õ ±âÁ¸ÀÇ ¾Æ¹Ì¿¡¼­ »õ·Ó°Ô ¶ß°íÀÖ´Â ÇѱÛÀÔ·ÂÀÌ µÉ¼öÀÖ°ÔÇÏ´Â Çñ׷¥ÀÔ´Ï´Ù.

¿ì¼± ½ÇÇàÀº nabi¶ó°í ÇÏ¸é µË´Ï´Ù.

±×Àü¿¡ ¸î°¡Áö °£´ÜÇÑ ¼³Á¤À» ÇØÁÖ¼Å¾ß »ç¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. ¿ì¼±Àº È®ÀκÎÅÍ Çغ¸ÁÒ..

¸®´ª½º¿¡¼­ ½ÇÇà ÆÄÀÏÀº ´ÙÀ½ÀÇ À§Ä¡¿¡ ´ëºÎºÐ ¸ð¿© ÀÖ½À´Ï´Ù.

/bin -> ½Ã½ºÅÛ ±âº» ¸í·É¾î

/sbin -> ½Ã½ºÅÛ ¼³Á¤ ¸í·É¾î (CD¸¶¿îÆ® °°Àº Çϵå¿þ¾î ÀÛ¾÷¿ëÀÔ´Ï´Ù)

/usr/bin -> »ç¿ëÀÚ ±âº» ¸í·É¾î

/usr/sbin -> ½Ã½ºÅÛ ¼³Á¤ ¸í·É¾î

/usr/X11R6/bin -> X ÇÁ·Î±×·¥ ¸í·É¾î

/usr/local/bin -> »ç¿ëÀÚ ¼³Ä¡ ÇÁ·Î±×·¥

/usr/local/sbin -> »ç¿ëÀÚ ¼³Ä¡ ½Ã½ºÅÛ ¸í·É¾î

nabi °¡ XÇÁ·Î±×·¥ ÀÎ °ÍÀ» °¨¾ÈÇϸé, /usr/X11R6/bin ÀÏ È®·üÀÌ ³ôÁö¸¸, »ç¿ëÀÚ ¼³Ä¡¸¦ Çϼ̱⠶§¹®¿¡ /usr/local/bin µµ ã¾Æº¸¼Å¾ß °ÚÁÒ? ´ëºÎºÐÀº ÀÌ µÎ±ºµ¥¿¡ ÀÖ½À´Ï´Ù. ¸¸ÀÏ ¿©±â¿¡¼­ ¹ß°ßÇÏÁö ¸øÇϼ̴ٸé,

$ find / -name nabi ¶ó°í Ãĺ¸½Ã¸é °á°ú ³ª¿Ã °Ì´Ï´Ù.

±×·¸°Ô ³ªºñ¸¦ ãÀ¸¼Ì´Ù°í ³¡³ª´Â°Ô ¾Æ´Õ´Ï´Ù.

nabi´Â X¸¦ ½ÇÇàÇÒ ¶§ ¶ã ¼ö ÀÖ°Ô²û .xinitrc °°Àº ÆÄÀÏ¿¡ ¹Ì¸® ³Ö¾îµÎ¼Å¾ß ÇÕ´Ï´Ù. ±×¸®°í »ç¿ëÀÚ µð·ºÅ丮ÀÇ .bashrc ÆÄÀÏ¿¡ ¾Æ·¡ Ç׸ñÀ» ³Ö¾îµÎ¼Å¾ß ÇÕ´Ï´Ù.

export XMODIFIERS="@im=nabi"

ÀÌ·¸°Ô ÇØ¾ß ¸ðÁú¶ó³ª ±âŸ ÇÁ·Î±×·¥¿¡¼­ ÇÑ±Û ÀÔ·ÂÀ» ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.

2. ÇÁ·Î±×·¥À» ±ò±âÀü¿¡ ´«¿©°Ü º¸¼Å¾ß ÇÕ´Ï´Ù. À©µµ¿ì¿Í´Â ´Þ¸® ¸®´ª½º´Â ¾Ë¾Æ¼­ ÇØÁÖÁö ¾Ê½À´Ï´Ù. »ç¿ëÀÚ¿¡°Ô ¸¹Àº ±ÇÇÑÀ» ÁÖÁÒ. ÇÁ·Î±×·¥À» ¹ÞÀ¸¼Å¼­ ¾ÐÃàÀ» Ǫ½Ã¸é, ´ë°Ô ´Ü¼øÈ÷ .configure -> make all -> make install ·Î °£´ÜÇÏ°Ô ³¡³»½Ã´Â ºÐµéÀÌ ÀÖ½À´Ï´Ù¸¸, ÀÌ·¸°Ô Çϸé, ÇÁ·Î±×·¥ÀÌ ¾îµð ¼³Ä¡µÇ´ÂÁöµµ ¸ð¸£°í, ¼³Ä¡ À§Ä¡ º¯°æµµ ÇÒ ¼ö ¾ø½À´Ï´Ù.

ÇÁ·Î±×·¥ÀÇ ¾ÐÃàÀ» Ç®°í³­ µð·ºÅ丮¸¦ º¸½Ã¸é, Ç×»ó MakefileÀÌ ÀÖ½À´Ï´Ù. ¾Æ´Ï¸é, .configure ¸¦ ¿­¾îº¸¼Åµµ µË´Ï´Ù. °Å±â¿¡ º¸¸é, PREFIX ¶ó´Â Ç׸ñÀÌ ÀÖÀ» °Ì´Ï´Ù. ±×¸®°í PREFIX¿¡ /usr/local ó·³ ¾î¶² ƯÁ¤ µð·ºÅ丮¸¦ ÁöÁ¤ÇØ ³õÀº ºÎºÐÀÌÀÖÀ» °Ì´Ï´Ù. PREFIX·Î ÁöÁ¤µÇ´Â ºÎºÐÀÇ µð·ºÅ丮¸¦ ±âº»À¸·Î Çؼ­ ±× µð·ºÅ丮 ¾Æ·¡ÀÇ bin À̳ª lib °°Àº À§Ä¡¸¦ ¼³Á¤Çؼ­ ÇÁ·Î±×·¥ ¼³Ä¡¸¦ ÇÏ°Ô µÇ´Â°ÅÁÒ. ¸¸ÀÏ ÀÚ½ÅÀº /usr/local ÀÌ ¾Æ´Ï¶ó, /myprog ¿¡ ¼³Ä¡ ÇÏ½Ã°í ½Í´Ù¸é, PREFIX=/myprog ¿Í °°ÀÌ ¹Ù²ãÁÖ½Ã¸é µË´Ï´Ù.

  Hit : 9430     Date : 2005/12/09 10:06



    
H.R.T ³ªºñ´Â ³¯¾Æ´Ù´Ï´Â °ïÃæ¾Æ´Ñ°¡¿ä?? 2005/12/15  
X-line ±×·³ ¾ÐÃàÇÁ·Î±×·¥ »§ÁýÀº »§ÆĴ°÷Àΰ¡¿ä? 2005/12/16  
X-line ¾Æ¹Ì °°Àº ÇÁ·Î±×·¥ÀÇ À̸§ÀÔ´Ï´Ù ¤Ñ¤Ñ; 2005/12/16  
wkrkup ¤»¤»¤»¤» ¿ÖÄÉ ¿ì³¤Áö ¸ð¸£±ß³× ¤» ¤» 2006/03/17  
whqkdnf000 ÁÁÀºÁ¤º¸ °¨»çÇÕ´Ï´Ù.¤¾¤¾ 2007/02/26  
     [°øÁö] °­Á¸¦ ¿Ã¸®½Ç ¶§´Â ¸»¸Ó¸®¸¦ ´Þ¾ÆÁÖ¼¼¿ä^¤Ñ^ [29] ¸Û¸Û 02/27 19448
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 115
1590   Keyboard Hooking -part2 - (Python3 ver)     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/20 84
1589   [Windows API] Keyboard Hooking     ÇØÅ·ÀßÇÏ°í½Í´Ù
11/20 74
1588   [pwnable.kr] cmd1 °ø·«     ÇØÅ·ÀßÇÏ°í½Í´Ù
10/23 236
1587   netdiscover ÆÄÀ̽ãÀ¸·Î ±¸ÇöÇϱ⠠   ÇØÅ·ÀßÇÏ°í½Í´Ù
08/13 515
1586   ÆÄÀ̽ãÀ» ÀÌ¿ëÇÑ ½ÉÇà À¥ Å©·Ñ·¯     ÇØÅ·ÀßÇÏ°í½Í´Ù
08/13 407
1585   ÆÄÀ̽ã random¸ðµâÀ» ÀÌ¿ëÇÑ ¼ýÀÚ¸ÂÃ߱⠰ÔÀÓ ±¸Çö     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/30 957
1584   ÆÄÀ̽ã äÆà ÇÁ·Î±×·¥ ±¸Çö     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/28 845
1583   ÆÄÀ̽㠼ÒÄÏ ÇÁ·Î±×·¡¹ÖÀÇ ±âÃÊ     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/26 987
1582   ¸®´ª½º À¥ ·Î±× ºÐ¼®     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/20 675
1581   ¸®´ª½º/À©µµ¿ì º¸¾È Àåºñ ·Î±×     ÇØÅ·ÀßÇÏ°í½Í´Ù
05/20 825
1580   °í¼ö´ÔµéÀÇ µµ¿òÀ» ¹Þ°í ½Í½À´Ï´Ù     vbnm111
02/11 914
1579   ¸®´ª½º Ä¿³Î 2.6 ¹öÀü ÀÌÈÄÀÇ LKM     jdo
07/25 1430
1578   ½©ÄÚµå ¸ðÀ½     ÇØÅ·ÀßÇÏ°í½Í´Ù
01/15 2306
1577   Call by value VS Call by Reference     ÇØÅ·ÀßÇÏ°í½Í´Ù
01/15 1606
1 [2][3][4][5][6][7][8][9][10]..[80]

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