|
|
¢Ã ÇöÀçÀ§Ä¡ : ÀÚ·á½Ç > ¼ÒÇÁÆ®¿þ¾îÈ°¿ë (°ü¸®ÀÚ¸¸ ¾²±â°¡´É) |
¡áÀüüº¸±â
¢ºÅ×Å©ÆÁ
¢º±ÛÇÈ
¢ºÆíÁý
¢º¸ÖƼ
¢º¹é½Å
¢º¾ÐÃà
¢º»ç¹«
¢ºÅë½Å
¢ºOS
¢ºÇϵå
¢º±³À°
¢ºÀ¯Æ¿
¢º¼Ò½º
¢º±âŸ
No | 114 |
µî·ÏÀÏ | 2002/4/19(±Ý) |
|
[Å×Å©³ëÆ®] ·çÆ® °ü¸®ÀÚȸéÀ» Æó¼âÇÏÀÚ!!(index.cgi) ·çÆ® °ü¸®ÀÚȸéÀ» Æó¼âÇÏÀÚ!!(index.cgi)
·çÆ®°ü¸®ÀÚȸéÀº ±âº»ÀûÀ¸·Î °³¹æµÇ¾îÀÖ½À´Ï´Ù. ÇÏÁö¸¸ ÀÌ·±¹æ½ÄÀ¸·Î Çϸé.. ÇØÅ·ÀÇ ¿ì·Á°¡ ÀÖÁÒ..? ³²¿¡°Ô º¸ÀÌ°í ½ÍÁö ¾ÊÀº°Íµµ º¸ÀÏ ¼ö ÀÖ°í ¸»ÀÌÁÒ.. ±×·¡¼ Àú´Â Ç×»ó Å×Å©³ëÆ®¸¦ ¼³Ä¡ÇÏ¸é ·çÆ®°ü¸®ÀÚ¸ðµå¸¦ Æó¼âÇÕ´Ï´Ù.
(technote22pro ¿øº» ÆÄÀϱâÁØ) ¹æ¹ý1 config.cgiÀ» ¿¾î 62¹ø¶óÀÎÀ» ¼öÁ¤ÇÕ´Ï´Ù.
(±âº»°ª) # [8] Á¾ÇÕ°ü¸® ÆäÀÌÁö(index.cgi) È£Ãâ½Ã ºñ¹Ð¹øÈ£¸¦ ¸ÕÀú ¹¯°Ô ÇÏ·Á¸é '2'¸¦, ¹Ù·Îµé¾î°¡°Ô ÇÏ·Á¸é '1'À» ´ëÀÔ. $MastersEnter= 1 ; (¼öÁ¤) # [8] Á¾ÇÕ°ü¸® ÆäÀÌÁö(index.cgi) È£Ãâ½Ã ºñ¹Ð¹øÈ£¸¦ ¸ÕÀú ¹¯°Ô ÇÏ·Á¸é '2'¸¦, ¹Ù·Îµé¾î°¡°Ô ÇÏ·Á¸é '1'À» ´ëÀÔ. $MastersEnter= 2 ;
ÀÌ·¸°Ô ÇÏ¸é ·çÆ®°ü¸®ÀÚȸé Á¢¼Ó½Ã Æнº¿öµå¸¦ ¸ÕÀú ¹¯°Ô µË´Ï´Ù.
¹æ¹ý2 ¿ª½Ã config.cgiÆÄÀÏÀ» ¿¾î ¹æ¹ý1°ú °°ÀÌ ¼öÁ¤ÇÕ´Ï´Ù. ±× ´ÙÀ½ 81¹ø¶óÀÎ (±âº»°ª) # [15] CGI '½ÇÇà ÆÄÀÏ' ÀÇ ÆÄÀϸí $maincgorfile='main.cgi'; $madecg='index.cgi'; $readcg='read.cgi'; $helfcg='help.cgi'; $imgcg='print.cgi'; $inforcg='infor.cgi';
(¼öÁ¤) # [15] CGI '½ÇÇà ÆÄÀÏ' ÀÇ ÆÄÀϸí $maincgorfile='main.cgi'; $madecg='admin.cgi'; $readcg='read.cgi'; $helfcg='help.cgi'; $imgcg='print.cgi'; $inforcg='infor.cgi';
À§¿Í°°ÀÌ ¼öÁ¤ÇÏ°í index.cgiÆÄÀÏÀÇ À̸§À» admin.cgiµî ´Ù¸¥À̸§À¸·Î º¯°æÇÕ´Ï´Ù.
TELNETÀ̳ª FTP·Î Á÷Á¢ ¼¹ö¿¡¼ º¯°æÇصµ µÇ°í.. ¼¹ö¿¡¼ÀÇ Á÷Á¢º¯°æÀÌ ¾î·Á¿îºÐÀº.. ¼¹ö¿¡ ÀÖ´Â index.cgiÆÄÀÏÀ» Áö¿ì°í(rm index.cgi) ÀÚ½ÅÀÇ ÄÄÇ»ÅÍ¿¡ ÀÖ´Â index.cgiÆÄÀÏÀ» admin.cgi·Î ÆÄÀÏÀ̸§ º¯°æÈÄ ´Ù½Ã ¾÷·ÎµåÇÏ¿© ÆÛ¹Ì¼Ç ÁÖ¸é µË´Ï´Ù. (chmod 755 admin.cgi)
|
|
|
|