¼³Ä¡ ¹æ¹ý
1. kimsboard_perl5.zip ÆÄÀÏÀ» ´Ù¿î¹Þ½À´Ï´Ù. http://kimsboard.com/
2. ¾ÐÃàÀ» DZ´Ï´Ù. ¾ÐÃàÀ» Ç®¸é ¾Æ·¡¿Í °°Àº µð·ºÅ丮 ±¸Á¶¸¦ °¡Áý´Ï´Ù. kimsboard --------------------------°Ô½ÃÆÇÀÇ ÃÖ»óÀ§µð·ºÅ丮[777] | +- image -- À̹ÌÁöÆÄÀϵé +- config -+- path.cgi | +- badword.txt[ÀÚµ¿»ý¼º] | +- skin -+- ½ºÅ²ÆÄÀϵé(.plÈ®ÀåÀÚ) +- members -+- memberfile -+- ȸ¿ø·Î±×ÀÎÆÄÀϵé[ÀÚµ¿»ý¼º ¹× ¼Ò¸ê] | +- regis_members -+- ȸ¿ø½ÂÀÎÀÚ Á¤º¸ÆÄÀϵé[ÀÚµ¿»ý¼º] | +- wait_members -+- ȸ¿øº¸·ùÀÚ Á¤º¸ÆÄÀϵé[ÀÚµ¿»ý¼º] | +- members.cgi[ÀÚµ¿»ý¼º] | +- wait_members.cgi[ÀÚµ¿»ý¼º] +- zipcode-+- zipcode.cgi | +- zipcode.db | +- db -+- °Ô½ÃÆÇdb -+- data -+- µ¥ÀÌÅÍÆÄÀϵé | +- list.cgi | +- layout.cgi | +- category.cgi | +- date.cgi | +- header.cgi | +- footer.cgi | +- board_header.cgi | +- pass.cgi | +- title.cgi +- kimsboard.cgi +- kimsadmin.cgi +- kimsmember.cgi +- kimsmail.cgi +- login.cgi +- ¼³¸í¼.TXT | +- uload [¾÷·Îµå °¡»óµð·ºÅ丮] | +- kims_lib Å´½ºº¸µå ¿É¼ÇÆÑ µð·ºÅ丮[777]
* Æ۹̼ÇÀ» 777·Î ÁÖ¾î¾ßÇÏ´Â µð·ºÅ丮 : kimsboard / config / members / memberfile / db / upload(°¡»óµð·ºÅ丮) / kims_lib * Æ۹̼ÇÀ» 755·Î ÁÖ¾î¾ßÇÏ´Â ÆÄÀÏ : kimsboard.cgi / kimsadmin.cgi / kimsmember.cgi / kimsnotice.cgi / zipcode.cgi /login.cgi / kimsmail.cgi
À§ÀÇ µð·ºÅ丮¿Í ÆÄÀϵéÁß [ÀÚµ¿»ý¼º]À̶ó°í µÇ¾îÀÖ´Â °ÍµéÀº ÃÖÃÊ ¾ÐÃàÀ» ÇØÁ¦½Ã¿¡ µé¾îÀÖÁö ¾ÊÀº µð·ºÅ丮¿Í ÆÄÀϵéÀÔ´Ï´Ù. Áï.. ¿Ã¹Ù¸£°Ô ¼³Ä¡¸¦ Çϸé ÀÚµ¿À¸·Î ¸¸µé¾îÁö´Â µð·ºÅ丮¿Í ÆÄÀϵéÀÔ´Ï´Ù. 3. path.cgiÀ» ÆíÁýÇÕ´Ï´Ù. ÅؽºÆ® ÆíÁý±â(¸Þ¸ðÀåÀ̳ª ±âŸ ÅؽºÆ®¿¡µðÅÍ)·Î ¿¾î¼ ¼³Á¤À» º¯°æÇØ¾ß ÇÒ ºÎºÐÀÌ ÀÖ½À´Ï´Ù. path.plÆÄÀÏÀº °æ·Î¼³Á¤ÆÄÀÏ À̹ǷΠÁ¤È®ÇÏ°Ô ¼öÁ¤ÇØ ÁÖ¼Å¾ß ÇÕ´Ï´Ù. path.cgiÀ» ¿¸é ¾Æ·¡¿Í °°Àº Äڵ尡 ÀÖ½À´Ï´Ù.
## ¼³¸í¿¡ µû¶ó ¾Ë¸Â°Ô ¼öÁ¤Çϱ⠹ٶø´Ï´Ù. ----------------------------------------------------------------- $SYSTEM = 1; ##À©µµ¿ì¼¹ö´Â 0 À¯´Ð½º¼¹ö´Â 1 $ROOT_PASS = "kims"; ## Á¾ÇÕ°ü¸®ÀÚ Æнº¿öµå $IMG_URL = "http://ȨÆäÀÌÁö/kimsboard/image"; ## À̹ÌÁöµð·ºÅ丮 URL $CGI_SELF = "http://ȨÆäÀÌÁö/kimsboard/kimsboard.cgi"; ## kimsboard.cgiÀÇ À¥ÁÖ¼Ò $ADMIN_HOME = "http://ȨÆäÀÌÁö"; ## ȨÆäÀÌÁö $ADMIN_EMAIL = 'abc@abc.com'; ## À̸ÞÀÏ $SENDMAIL = '/usr/sbin/sendmail'; ##»÷µå¸ÞÀÏ°æ·Î $ADMIN_NAME = "¾Æ¹«°³"; ## °ü¸®ÀÚ À̸§ $UPLOAD_DIR = "upload"; ## ¾÷·ÎµåÇÒ µð·ºÅ丮°æ·Î(ÁöÁ¤ÇÑ µð·ºÅ丮¸¦ ¸¸µå½ÅÈÄ 777 Æ۹̼ÇÀ» ÁÖ¼¼¿ä) $UPLOAD_URL = "http://ȨÆäÀÌÁö/kimsboard/upload"; ##( $UPLOAD_DIR ÀÇ URL) $how_regis = "NO"; ##ȸ¿ø°¡ÀÔ¿É¼Ç NO¸é ¹Ù·Î½ÂÀÎ # YES ¸é º¸·ùÈÄ ½ÂÀÎ $regis_page = "http://ȨÆäÀÌÁö/ȸ¿ø°¡ÀÔÈÄ.html"; ## ȸ¿ø°¡ÀÔÈÄ º¸¿©ÁÙ ÆäÀÌÁöÀÇ URL $VER = "5.1.0"; ## ¹öÁ¯(Áö¿ìÁö ¸¶¼¼¿ä) -----------------------------------------------------------------
Áß¿äÇÑ °ÍÀº $ROOT_PASS¸¦ »ç¿ëÇÏ½Ç Æнº¿öµå·Î º¯°æÇÑ ÈÄ ¿Ã¸®¼¼¿ä. $UPLOAD_DIR Àº ¾÷·Îµå µð·ºÅ丮À̸§À» ÀÓÀÇ·Î Á¤ÇÑÈÄ ±× À̸§À¸·Î µð·ºÅ丮¸¦ kimsboard µð·ºÅ丮 ¹Ø¿¡ ¸¸µé°í Æ۹̼ÇÀ» ¹Ýµå½Ã 777·Î ÁÖ¼¼¿ä.
4. ¼¹ö·Î ÆÄÀÏÀ» ¿Ã¸®¼¼¿ä. FTPÇÁ·Î±×·¥À» ÀÌ¿ëÇÏ¿© È®ÀåÀÚ°¡ cgi ÆÄÀÏÀº ¾Æ½ºÅ°¸ðµå·Î ³ª¸ÓÁö ÆÄÀÏÀº ¹ÙÀ̳ʸ® ¸ðµå·Î ¿Ã¸®¸é µË´Ï´Ù. ÀÌ°É ÁöÅ°Áö ¾ÊÀ¸¸é ÀÎÅͳΠ¼¹ö¿¡·¯°¡ ³³´Ï´Ù.
5. Æ۹̼ÇÀ» ¼³Á¤ÇÕ´Ï´Ù. Æ۹̼ÇÀº À§¿¡¼ ¼³¸íÇÑ ¹Ù¿Í °°½À´Ï´Ù. 6. °Ô½ÃÆÇ È£Ãâ¹æ¹ý
http://ȨÆäÀÌÁö/kimsboard/kimsadmin.cgi
À§ÀÇ ÁÖ¼Ò¸¦ È£ÃâÇϼ¼¿ä. ·Î±×ÀÎ ÆûÀÌ ¶ß´Âµ¥, path.cgi¿¡¼ ÁöÁ¤ÇØÁØ $ROOT_PASS ¸¦ ÀÔ·ÂÇÏ¸é ·Î±×ÀÎ µË´Ï´Ù. ·Î±×ÀÎ ÈÄ »õ °Ô½ÃÆÇÀ» ¸¸µé¾î ÁÖ¸é µÇ¸ç ·Î±×¾Æ¿ôÀº ºê¶ó¿ìÁ®¸¦ ´ÝÀ¸¸é ÀÚµ¿À¸·Î ·Î±×¾Æ¿ô µË´Ï´Ù.
7. °øÁö»çÇ× »ç¿ë¹ý ȸ¿ø°¡ÀÔÆûÀº http://ȨÆäÀÌÁö/kimsboard/kimsmember.cgi ¸¦ È£ÃâÇÏ½Ã¸é ¿¸®°Ô µË´Ï´Ù...
----- ¾Æ ·¡ ----------------------------------- 1, °°ÀºÆäÀÌÁö¿¡ °¡ÀÔÆû ¿±â <a href="http://ȨÁÖ¼Ò/kimsboard/kimsmember.cgi"> 2, »õâÀ» ¶ì¿ö¼ °¡ÀÔÆû ¿±â ÇصåÅױ׾ȿ¡(bodyű׾ȿ¡ ³Ö¾îµµ »ó°ü¾øÀ½)=> <script> <!-- function memberWin(URL) { window.open(URL,'memberWin','resizable=no,scrollbars=no,status=0,width=650,height=600'); } --> </script> ¹Ùµðű׾ȿ¡ => <a href="javascript:memberWin('http://ȨÁÖ¼Ò/kimsboard/kimsmember.cgi')">ȸ¿ø°¡ÀÔÇϱâ</a>
[»õâÀ¸·Î ¶ç¿ì½Ã±æ ±ÇÀåÇÕ´Ï´Ù.]
8. °øÁö»çÇ× ¸ðµå »ç¿ë¹ý kimsnotice.cgiÆÄÀÏÀ» ¿¸é ¼öÁ¤ÇØ¾ß ÇÒ ºÎºÐÀÌ ÀÖ½À´Ï´Ù. ÆÄÀÏÀ» ¿¸é ¼³¸íÀÌ ÀÖÀ¸¸ç ±× ¼³¸í¿¡ µû¶ó ¿øÇϽô ¿É¼ÇÀ¸·Î ¼öÁ¤ÇÏ¸é µË´Ï´Ù.
[iframe»ç¿ëÀÚ]
http://ȨÆäÀÌÁö/kimsnotice.cgi?db=ºÒ·¯¿Ãdb
·Î È£ÃâÇÏ¸é ºÒ·¯Áö¸ç ¾ÆÀÌÇÁ·¡ÀÓÀ» »ç¿ëÇÏ¿© »ðÀÔÇÏ½Ã¸é µË´Ï´Ù.. [SSI °èÁ¤»ç¿ëÀÚ]
¸¸¾à °èÁ¤¿¡¼ SSI°¡ Áö¿øµÇ¸é SSI¸¦ ÅëÇØ ¿øÇϽô À§Ä¡¿¡ ±ò²ûÇÏ°Ô »ðÀÔÇÏ¿© »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ¸ÞÀÎȸ鿡 °øÁö»çÇ×À» ³Ö°í ½ÍÀ»°æ¿ì ¸ÞÀÎȸéÀÌ main.htmlÀ̶ó¸é main.html ¾È¿¡ °øÁö»ç Ç×À» »ðÀÔÇÏ°í ½ÍÀº À§Ä¡¿¡ ´ÙÀ½°ú °°Àº Äڵ带 ÁÖ¼®Ã³·³ ÷°¡ÇØ ÁÖ½Ã¸é °ð¹Ù·Î »ðÀԵ˴ϴÙ. ´Ü, À̶§ main.html ÆÄÀÏÀÇ È®ÀåÀÚ¸¦ main.shtml ·Î ¹Ù²ãÁÖ¾î¾ß ÇÕ´Ï´Ù.
<!--#include virtual="kimsnotice.cgi?db=DBÀ̸§" -->
¹°·Ð À§ÀÇ ÄÚµå´Â DBÀ̸§ ¸¸ ¹Ù²Ù¾î ¿øÇÏ´Â ¸¸Å ¿øÇÏ´Â À§Ä¡¿¡ ºÒ·¯¿Ã ¼ö ÀÖ½À´Ï´Ù.. SSI·Î ºÒ·¯¼ »ç¿ëÇÏ½Ç °æ¿ì kimsnotice.cgi¿¡¼ $SSI = "YES"; ·Î ÁöÁ¤ÇØ ÁÖ¼Å¾ß ÇÕ´Ï´Ù.
9. ·Î±×ÀÎ, ·Î±×¾Æ¿ô, ȸ¿øÁ¤º¸º¯°æ ,ȸ¿øÅ»Åð Æû »ðÀÔ ·Î±×ÀÎ , ·Î±×¾Æ¿ô ÆûÀ» ÀÓÀÇÀÇ ÆäÀÌÁö¿¡ »ðÀÔÇÏ½Ã°í ½ÍÀ¸¸é http://ȨÆäÀÌÁö/kimsboard/login.cgi ¸¦ È£ÃâÇϽʽÿÀ. ·Î±×ÀÎ,·Î±×¾Æ¿ôÆûÀÌ Ãâ·ÂµÇ¸ç iframeÀ» ÀÌ¿ëÇÏ¿© °£´ÜÈ÷ »ðÀÔÇÒ ¼ö ÀÖ½À´Ï´Ù.. ·Î±×ÀÎÆûÀÇ ¹è°æ»öÀº µðÆúÆ®°ªÀ¸·Î Èò»öÀ̸ç login.cgi¸¦ ¿¾î¼ óÀ½¿¡ ÀÖ´Â $BGCOLOR ¿¡¼ ÁöÁ¤ÇØ ÁÖ¸é µË´Ï´Ù.
login.cgi¸¦ È£ÃâÇÏ¿© Ãâ·ÂµÈ ȸ鿡´Â ·Î±×ÀÎÀü¿¡´Â ·Î±×ÀÎ,ȸ¿ø°¡ÀÔ ¸Þ´º°¡ ¶ß¸ç ·Î±×ÀÎ ÈÄ¿¡´Â ·Î±×¾Æ¿ô,ȸ¿øÁ¤º¸º¯°æ ¸Þ´º°¡ Ãâ·ÂµË´Ï´Ù. ȸ¿øÅ»ÅðÆûÀ» Ãâ·ÂÇÏ·Á¸é ´ÙÀ½ÀÇ htmlÄڵ带 ÀÌ¿ëÇÏ¸é µË´Ï´Ù.
ÇصåÅױ׾ȿ¡(bodyű׾ȿ¡ ³Ö¾îµµ »ó°ü¾øÀ½)=> <script> <!-- function passwin(URL) { window.open(URL,'passwin','resizable=no,scrollbars=no,status=0,width=350,height=120'); } --> </script>
¹Ùµðű׾ȿ¡ => <a href="javascript:passwin('http://ȨÁÖ¼Ò/kimsboard/login.cgi?action=delete')">ȸ¿øÅ»Åð</a>
¾ÆÀ̵ð,Æнº¿öµå°Ë»ö ÆûÀº
ÇصåÅױ׾ȿ¡(bodyű׾ȿ¡ ³Ö¾îµµ »ó°ü¾øÀ½)=> <script> <!-- function passwin(URL) { window.open(URL,'passwin','resizable=no,scrollbars=no,status=0,width=350,height=120'); } --> </script>
¹Ùµðű׾ȿ¡ => <a href="javascript:passwin('http://ȨÁÖ¼Ò/kimsboard/login.cgi?action=pwsearch')">¾ÆÀ̵ð,Æнº¿öµåºÐ½Ç</a>
10. ¿É¼ÇÆÑ ¼³Ä¡ ¹× È°¿ë kimsboard¿¡ ±âÁ¸¿¡ º¼ ¼ö ¾ø¾ú´ø kims_lib µð·ºÅ丮°¡ Ãß°¡µÇ¾ú½À´Ï´Ù. kims_lib µð·ºÅ丮´Â ¾ÕÀ¸·Î kimsboardÀÇ ±â´ÉÇâ»óÀ» À§ÇØ Ãß°¡µÇ´Â ¿É¼ÇÆÑÀÌ À§Ä¡ÇÏ°Ô µÉ µð·ºÅ丮ÀÔ´Ï´Ù.. kims_libµð·ºÅ丮´Â ¹Ýµå½Ã 777 À̳ª 707 Æ۹̼ÇÀ̾î¾ß ÇÏ¸ç ¿É¼ÇÆÑÀ» »ç¿ëÇÏÁö ¾ÊÀ» °æ¿ì ¾ø¾îµµ µË´Ï´Ù.
|