µ»öNo | ¡§ 15901 |
Åê¹ÆÆü | ¡§ 2018/06/01(Fri) 13:43:44 |
¥¿¥¤¥È¥ë | ¡§ Web Protect ¤È KeySearch ¤ÎÊ»ÍÑ |
ID¾ðÊó | ¡§ cal32480 |
Åê¹Æ¼Ô | ¡§ tan2 |
URL | ¡§ http://adoctec.sakura.ne.jp/protect/protect.cgi?page=0 |
¤Ï¤¸¤á¤Æ¼ÁÌ䤵¤»¤Æ¤¤¤¿¤À¤¤Þ¤¹¡£
Web Protect¤òÍøÍѤ·¤Æ¼ÒÆâ¸þ¤±¥µ¥¤¥È¤ò±¿±Ä¤·¤Æ¤¤¤Þ¤¹¡£
¤³¤ÎÅÙ¡¢¥µ¥¤¥ÈÆ⸡º÷¤Îµ¡Ç½¤òÄɲ乤뤳¤È¤Ë¤Ê¤ê¡¢KeySearch¤òÍøÍѤµ¤»¤Æ¤¤¤¿¤À¤³¤¦¤È»×¤Ã¤Æ¤ª¤ê¤Þ¤¹¡£
ÃΤꤿ¤¤¤³¤È¤È¤·¤Æ¡¢
¡¡¡KeySearch¥Õ¥©¥ë¥À¤ÎŬÀµ¤ÊÇÛÃÖ¾ì½ê¤Ë¤Ä¤¤¤Æ¡Êprotect¥Õ¥©¥ë¥À¤Î²¼³¬ÁؤDZ£¤·¥Õ¥©¥ë¥ÀÆâ¡©¤¢¤ë¤¤¤Ïprotect¥Õ¥©¥ë¥À¤ÈƱ³¬ÁؤǤâ¤è¤¤¤Î¤«¡©¡Ë
¢¡¡¥¤¥ó¥Ç¥Ã¥¯¥¹´ÉÍý²èÌ̤Î(2)Âоݥǥ£¥ì¥¯¥È¥ê¤Ç»ØÄꤹ¤ëurl¤Ïhttp://¡Áprotect.cgi¤â¤·¤¯¤Ïprotect.cgi?page=0¡Ê±£¤·¥Ú¡¼¥¸Ì¾¡Ë¤Ë¤Ê¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
¥¢¥É¥Ð¥¤¥¹¤ò¤É¤¦¤¾µ¹¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£
µ»öNo | ¡§ 15903 |
Åê¹ÆÆü | ¡§ 2018/06/02(Sat) 17:14:01 |
¥¿¥¤¥È¥ë | ¡§ Re: Web Protect ¤È KeySearch ¤ÎÊ»ÍÑ |
ID¾ðÊó | ¡§ teketen |
Åê¹Æ¼Ô | ¡§ ¤Æ¤±¤Æ¤ó |
> KeySearch¥Õ¥©¥ë¥À¤ÎŬÀµ¤ÊÇÛÃÖ¾ì½ê¤Ë¤Ä¤¤¤Æ¡Êprotect¥Õ¥©¥ë¥À¤Î²¼³¬ÁؤDZ£¤·¥Õ¥©¥ë¥ÀÆâ¡©¤¢¤ë¤¤¤Ïprotect¥Õ¥©¥ë¥À¤ÈƱ³¬ÁؤǤâ¤è¤¤¤Î¤«¡©¡Ë
http://www.kent-web.com/pwd/protect.html
Êä»ö¹à(1)¤ò¤è¤¯Æɤó¤Ç²¼¤µ¤¤¡£
> ¤Ê¤ª¡¢¥¢¥¯¥»¥¹À©¸Â¤¹¤ëCGI¥Õ¥¡¥¤¥ë¤Ï protect.cgi ¤Èɬ¤ºÆ±°ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤¤¤Æ¤¯¤À¤µ¤¤¡£
¤È¤¢¤ê¤Þ¤¹¡£
⤷¡¢KeySearch¤Ï¡¢¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¡Êhtml¥Õ¥¡¥¤¥ë¡¢txt¥Õ¥¡¥¤¥ë¤Ê¤É¡Ë¤·¤«¸¡º÷½ÐÍè¤Þ¤»¤ó¡£
http://www.kent-web.com/data/ksearch.html
> ¸¡º÷Âоݥե¡¥¤¥ë¤Ï¥Æ¥¥¹¥È·Ï¤Î¤ß¤Ç¤¹¡£PDF¤äWORDÅù¤Î¥Ð¥¤¥Ê¥ê¡¼¥Õ¥¡¥¤¥ë¤Ï¸¡º÷ÂоݤˤϤǤ¤Þ¤»¤ó¡£
CGI¥¹¥¯¥ê¥×¥È¤¬É½¼¨¤·¤¿¥Ú¡¼¥¸¡Êprotect.cgi¤¬Æɤ߹þ¤ßɽ¼¨¤¹¤ë²ñ°÷À©¥Ú¡¼¥¸¤Ê¤É¡Ë¤ÎÆâÍƤϸ¡º÷½ÐÍè¤Þ¤»¤ó¡£
CGI¥¹¥¯¥ê¥×¥È¤Ï¡¢¥Ö¥é¥¦¥¶¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤Ë¤è¤êÆ°ºî¤¹¤ë¤¿¤á¡¢¥Ö¥é¥¦¥¶¤Ç¥¢¥¯¥»¥¹¤·¤Ê¤¤»þ¤Ï¡¢protect.cgi¤Ï¡¢¤¿¤À¤Î¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
¸¡º÷ÂоݤË.cgi¤Î³ÈÄ¥»Ò¤òÅÐÏ¿¤·¤¿¾ì¹ç¡¢protect.cgi¤Î¥¹¥¯¥ê¥×¥È¤Îµ½Ò¤½¤Î¤â¤Î¡Êprotect.cgi¤ò¥Æ¥¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤¿»þ¤Ëɽ¼¨¤µ¤ì¤ë¤â¤Î¡Ë¤ò¸¡º÷ÂоݤȤ·¤Þ¤¹¡£
⤷¡¢±£¤·¥Õ¥¡¥¤¥ë¤¬¥Æ¥¥¹¥È·Ï¤Î¥Õ¥¡¥¤¥ë¤Ê¤é¤Ð¡Êhtml¥Õ¥¡¥¤¥ë¤Ê¤É¡Ë¡¢±£¤·¥Õ¥¡¥¤¥ë¤ò¸¡º÷Âоݤ˽ÐÍè¤Þ¤¹¡£
°ìö¡¢±£¤·¥Õ¥¡¥¤¥ë¤ò¸¡º÷Âоݤˤ·¤Æindex¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Æ²¼¤µ¤¤¡£
¤½¤·¤Æ¡¢FTP¥½¥Õ¥È¤Çindex.dat¤Èset.dat¤ò¥À¥¦¥ó¥í¡¼¥É¤·¡¢¥Æ¥¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤Æ¡¢¼êÆ°¤ÇÊѹ¹¤¹¤ì¤Ð¡¢KeySearch¤Ç¸¡º÷¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
¤É¤Î¥Ú¡¼¥¸¤¬²ñ°÷¥Ú¡¼¥¸¤ËÂбþ¤·¤Æ¤¤¤ë¤«¤Ï¡¢¤´¼«Ê¬¤ÇȽ¤ë¤È»×¤¤¤Þ¤¹¤Î¤Ç¡£
Êѹ¹¤Î»ÅÊý¤Ç¤¹¤¬¡¢index.dat¤ÎÆâÍƤϡ¢Î㤨¤Ð
/file3.html 1527923398 file3 [TOP¤ØÌá¤ë] file3 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¿§¡¹¥Æ¥¹¥È¡£ file1 file3
/file1.html 1527923378 file1 [TOP¤ØÌá¤ë] file1 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤¤¤Ä¤â¡¢¥Æ¥¹¥ÈÃ桪¡ª file2 file3
/file2.html 1306611530 file2 [TOP¤ØÌá¤ë] file2 ¤³¤ó¤Ê´¶¤¸¤Ç¥Æ¥¹¥È¤Ç¤¹¡£ file1 file3
¤À¤Ã¤¿¤È¤·¤Þ¤¹¡Ê¼ÂºÝ¤Î¥Ç¡¼¥¿¤Ï¡¢¥¿¥Ö¶èÀÚ¤ê¤Ç¤¹¡Ë¡£
file1.html¤¬protect.cgi?page=1¡¢file2.html¤¬protect.cgi?page=2¡¢file3.html¤¬protect.cgi?page=3¤ËÂбþ¤·¤Æ¤¤¤¿¤é
/protect.cgi?page=3 1527923398 file3 [TOP¤ØÌá¤ë] file3 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¿§¡¹¥Æ¥¹¥È¡£ file1 file3
/protect.cgi?page=1 1527923378 file1 [TOP¤ØÌá¤ë] file1 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤¤¤Ä¤â¡¢¥Æ¥¹¥ÈÃ桪¡ª file2 file3
/protect.cgi?page=2 1306611530 file2 [TOP¤ØÌá¤ë] file2 ¤³¤ó¤Ê´¶¤¸¤Ç¥Æ¥¹¥È¤Ç¤¹¡£ file1 file3
¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£
¼¡¤Ëset.dat¤Ç¤¹¡£
set.dat¤ÎÆâÍƤϡ¢Î㤨¤Ð
2018/06/02(Sat) 16:34:24<>5<>
./private/<>http://example.com/member/private/<>.html .htm<><><>
¤³¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤¿¤é¡¢protect.cgi¤¬³ÊǼ¤µ¤ì¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤Î¥Ñ¥¹¤ËÊѹ¹¤·¤Þ¤¹¡£
2018/06/02(Sat) 16:34:24<>5<>
./<>http://example.com/member/<>.html .htm<><><>
¤Î¤è¤¦¤Ë¡£
Êѹ¹¤·¤¿¤é¡¢¥¢¥Ã¥×¥í¡¼¥É¤·¤Æ¼ÂºÝ¤Ë¸¡º÷¤·¤ÆÆ°ºî³Îǧ¤ò¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£
¤³¤Îºî¶È¤Ï¡¢index¥Ç¡¼¥¿¤òºî¤êÊѤ¨¤ëËè¤Ë¹Ô¤Ã¤Æ²¼¤µ¤¤¡£
¢£¡¡Ãí°Õ»ö¹à¡¡¢£
¿ʬ¡¢¤´¾µÃΤÀ¤È¤Ï»×¤¤¤Þ¤¹¤¬¡¢Ç°¤Î°Ù¡£
KeySearch¤ÈWEB PROTECT¤Ç½ÅÊ£¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£
lib¥Ç¥£¥ì¥¯¥È¥êÆâ¤ÎƱ¤¸¥Õ¥¡¥¤¥ë¤Ï¶¦Í¤·¤Þ¤¹¤¬¡¢Â¾¤Î¥Õ¥¡¥¤¥ë¤Ï¶¦Í¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Æ²¼¤µ¤¤¡£
¤É¤Á¤é¤«¤Î¥¹¥¯¥ê¥×¥È¤Î¥Õ¥¡¥¤¥ë̾¤òÊѹ¹¤·¤Æ²¼¤µ¤¤¡£
Î㤨¤Ð¡¢init.cgi¤Ï¤É¤Á¤é¤Ë¤âƱ¤¸Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¤¬¡¢Ãæ¿È¤¬°ã¤¤¤Þ¤¹¤è¤Í¡©
¤Ê¤Î¤Ç¡¢KeySearch¤Î¤Û¤¦¤òinit2.cgi¤Ê¤É¤È¤·¤Æ¡¢KeySearch´ØÏ¢¤Î¥Õ¥¡¥¤¥ë¤Ç¡¢init.cgi¤Èµ½Ò¤·¤Æ¤¤¤ë²Õ½ê¤òÁ´¤Æinit2.cgi¤ËÊѹ¹¤¹¤ë¤Ê¤É¡£
¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤â¡¢Ê¸»ú¥³¡¼¥É¤¬°ã¤¤¤Þ¤¹¤Î¤Ç¡¢ÊÌ¡¹¤ËÀßÃÖ¤·¤Æ²¼¤µ¤¤¡£
¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤Î¾ì¹ç¤Ï¡¢³ÊǼ¤·¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Î̾Á°¤òÊѹ¹¤·¤Æ¡Êtmpl2¤Ê¤É¡Ë¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤Ø¤ÎÊѹ¹¤â˺¤ì¤º¤Ë¡£
°Ê¾å¤Ç¤¹¡£
µ»öNo | ¡§ 15905 |
Åê¹ÆÆü | ¡§ 2018/06/04(Mon) 11:50:24 |
¥¿¥¤¥È¥ë | ¡§ Re^2: Web Protect ¤È KeySearch ¤ÎÊ»ÍÑ |
ID¾ðÊó | ¡§ cal32480 |
Åê¹Æ¼Ô | ¡§ tan2 |
URL | ¡§ http://adoctec.sakura.ne.jp/protect/protect.cgi?page |
¤Æ¤±¤Æ¤óÍÍ
ÃúÇ«¤Ê¤´ÊÖ¿®¤ò¤¤¤¿¤À¤¸æÎ鿽¤·¾å¤²¤Þ¤¹¡£
Ķ½é¿´¼Ô¤Î¤¿¤á¡¢¤Þ¤º¤Ï夤¤¿ÆâÍƤòÍý²ò¤·¤Æ¿Ê¤á¤Æ»²¤ê¤Þ¤¹¡£
¼è¤êµÞ¤®¸æÎé¤Þ¤Ç¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
> > KeySearch¥Õ¥©¥ë¥À¤ÎŬÀµ¤ÊÇÛÃÖ¾ì½ê¤Ë¤Ä¤¤¤Æ¡Êprotect¥Õ¥©¥ë¥À¤Î²¼³¬ÁؤDZ£¤·¥Õ¥©¥ë¥ÀÆâ¡©¤¢¤ë¤¤¤Ïprotect¥Õ¥©¥ë¥À¤ÈƱ³¬ÁؤǤâ¤è¤¤¤Î¤«¡©¡Ë
>
> http://www.kent-web.com/pwd/protect.html
> Êä»ö¹à(1)¤ò¤è¤¯Æɤó¤Ç²¼¤µ¤¤¡£
>
> > ¤Ê¤ª¡¢¥¢¥¯¥»¥¹À©¸Â¤¹¤ëCGI¥Õ¥¡¥¤¥ë¤Ï protect.cgi ¤Èɬ¤ºÆ±°ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤¤¤Æ¤¯¤À¤µ¤¤¡£
>
> ¤È¤¢¤ê¤Þ¤¹¡£
> ⤷¡¢KeySearch¤Ï¡¢¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¡Êhtml¥Õ¥¡¥¤¥ë¡¢txt¥Õ¥¡¥¤¥ë¤Ê¤É¡Ë¤·¤«¸¡º÷½ÐÍè¤Þ¤»¤ó¡£
> http://www.kent-web.com/data/ksearch.html
> > ¸¡º÷Âоݥե¡¥¤¥ë¤Ï¥Æ¥¥¹¥È·Ï¤Î¤ß¤Ç¤¹¡£PDF¤äWORDÅù¤Î¥Ð¥¤¥Ê¥ê¡¼¥Õ¥¡¥¤¥ë¤Ï¸¡º÷ÂоݤˤϤǤ¤Þ¤»¤ó¡£
>
> CGI¥¹¥¯¥ê¥×¥È¤¬É½¼¨¤·¤¿¥Ú¡¼¥¸¡Êprotect.cgi¤¬Æɤ߹þ¤ßɽ¼¨¤¹¤ë²ñ°÷À©¥Ú¡¼¥¸¤Ê¤É¡Ë¤ÎÆâÍƤϸ¡º÷½ÐÍè¤Þ¤»¤ó¡£
> CGI¥¹¥¯¥ê¥×¥È¤Ï¡¢¥Ö¥é¥¦¥¶¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤Ë¤è¤êÆ°ºî¤¹¤ë¤¿¤á¡¢¥Ö¥é¥¦¥¶¤Ç¥¢¥¯¥»¥¹¤·¤Ê¤¤»þ¤Ï¡¢protect.cgi¤Ï¡¢¤¿¤À¤Î¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
> ¸¡º÷ÂоݤË.cgi¤Î³ÈÄ¥»Ò¤òÅÐÏ¿¤·¤¿¾ì¹ç¡¢protect.cgi¤Î¥¹¥¯¥ê¥×¥È¤Îµ½Ò¤½¤Î¤â¤Î¡Êprotect.cgi¤ò¥Æ¥¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤¿»þ¤Ëɽ¼¨¤µ¤ì¤ë¤â¤Î¡Ë¤ò¸¡º÷ÂоݤȤ·¤Þ¤¹¡£
>
> ⤷¡¢±£¤·¥Õ¥¡¥¤¥ë¤¬¥Æ¥¥¹¥È·Ï¤Î¥Õ¥¡¥¤¥ë¤Ê¤é¤Ð¡Êhtml¥Õ¥¡¥¤¥ë¤Ê¤É¡Ë¡¢±£¤·¥Õ¥¡¥¤¥ë¤ò¸¡º÷Âоݤ˽ÐÍè¤Þ¤¹¡£
> °ìö¡¢±£¤·¥Õ¥¡¥¤¥ë¤ò¸¡º÷Âоݤˤ·¤Æindex¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Æ²¼¤µ¤¤¡£
> ¤½¤·¤Æ¡¢FTP¥½¥Õ¥È¤Çindex.dat¤Èset.dat¤ò¥À¥¦¥ó¥í¡¼¥É¤·¡¢¥Æ¥¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤Æ¡¢¼êÆ°¤ÇÊѹ¹¤¹¤ì¤Ð¡¢KeySearch¤Ç¸¡º÷¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
> ¤É¤Î¥Ú¡¼¥¸¤¬²ñ°÷¥Ú¡¼¥¸¤ËÂбþ¤·¤Æ¤¤¤ë¤«¤Ï¡¢¤´¼«Ê¬¤ÇȽ¤ë¤È»×¤¤¤Þ¤¹¤Î¤Ç¡£
>
> Êѹ¹¤Î»ÅÊý¤Ç¤¹¤¬¡¢index.dat¤ÎÆâÍƤϡ¢Î㤨¤Ð
>
> /file3.html 1527923398 file3 [TOP¤ØÌá¤ë] file3 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¿§¡¹¥Æ¥¹¥È¡£ file1 file3
> /file1.html 1527923378 file1 [TOP¤ØÌá¤ë] file1 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤¤¤Ä¤â¡¢¥Æ¥¹¥ÈÃ桪¡ª file2 file3
> /file2.html 1306611530 file2 [TOP¤ØÌá¤ë] file2 ¤³¤ó¤Ê´¶¤¸¤Ç¥Æ¥¹¥È¤Ç¤¹¡£ file1 file3
>
> ¤À¤Ã¤¿¤È¤·¤Þ¤¹¡Ê¼ÂºÝ¤Î¥Ç¡¼¥¿¤Ï¡¢¥¿¥Ö¶èÀÚ¤ê¤Ç¤¹¡Ë¡£
> file1.html¤¬protect.cgi?page=1¡¢file2.html¤¬protect.cgi?page=2¡¢file3.html¤¬protect.cgi?page=3¤ËÂбþ¤·¤Æ¤¤¤¿¤é
>
> /protect.cgi?page=3 1527923398 file3 [TOP¤ØÌá¤ë] file3 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¿§¡¹¥Æ¥¹¥È¡£ file1 file3
> /protect.cgi?page=1 1527923378 file1 [TOP¤ØÌá¤ë] file1 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤¤¤Ä¤â¡¢¥Æ¥¹¥ÈÃ桪¡ª file2 file3
> /protect.cgi?page=2 1306611530 file2 [TOP¤ØÌá¤ë] file2 ¤³¤ó¤Ê´¶¤¸¤Ç¥Æ¥¹¥È¤Ç¤¹¡£ file1 file3
>
> ¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£
> ¼¡¤Ëset.dat¤Ç¤¹¡£
> set.dat¤ÎÆâÍƤϡ¢Î㤨¤Ð
>
> > 2018/06/02(Sat) 16:34:24<>5<>
> ./private/<>http://example.com/member/private/<>.html .htm<><><>
>
> ¤³¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤¿¤é¡¢protect.cgi¤¬³ÊǼ¤µ¤ì¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤Î¥Ñ¥¹¤ËÊѹ¹¤·¤Þ¤¹¡£
>
> > 2018/06/02(Sat) 16:34:24<>5<>
> ./<>http://example.com/member/<>.html .htm<><><>
>
> ¤Î¤è¤¦¤Ë¡£
> Êѹ¹¤·¤¿¤é¡¢¥¢¥Ã¥×¥í¡¼¥É¤·¤Æ¼ÂºÝ¤Ë¸¡º÷¤·¤ÆÆ°ºî³Îǧ¤ò¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£
>
> ¤³¤Îºî¶È¤Ï¡¢index¥Ç¡¼¥¿¤òºî¤êÊѤ¨¤ëËè¤Ë¹Ô¤Ã¤Æ²¼¤µ¤¤¡£
>
>
> ¢£¡¡Ãí°Õ»ö¹à¡¡¢£
> ¿ʬ¡¢¤´¾µÃΤÀ¤È¤Ï»×¤¤¤Þ¤¹¤¬¡¢Ç°¤Î°Ù¡£
>
> KeySearch¤ÈWEB PROTECT¤Ç½ÅÊ£¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£
> lib¥Ç¥£¥ì¥¯¥È¥êÆâ¤ÎƱ¤¸¥Õ¥¡¥¤¥ë¤Ï¶¦Í¤·¤Þ¤¹¤¬¡¢Â¾¤Î¥Õ¥¡¥¤¥ë¤Ï¶¦Í¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Æ²¼¤µ¤¤¡£
> ¤É¤Á¤é¤«¤Î¥¹¥¯¥ê¥×¥È¤Î¥Õ¥¡¥¤¥ë̾¤òÊѹ¹¤·¤Æ²¼¤µ¤¤¡£
>
> Î㤨¤Ð¡¢init.cgi¤Ï¤É¤Á¤é¤Ë¤âƱ¤¸Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¤¬¡¢Ãæ¿È¤¬°ã¤¤¤Þ¤¹¤è¤Í¡©
> ¤Ê¤Î¤Ç¡¢KeySearch¤Î¤Û¤¦¤òinit2.cgi¤Ê¤É¤È¤·¤Æ¡¢KeySearch´ØÏ¢¤Î¥Õ¥¡¥¤¥ë¤Ç¡¢init.cgi¤Èµ½Ò¤·¤Æ¤¤¤ë²Õ½ê¤òÁ´¤Æinit2.cgi¤ËÊѹ¹¤¹¤ë¤Ê¤É¡£
> ¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤â¡¢Ê¸»ú¥³¡¼¥É¤¬°ã¤¤¤Þ¤¹¤Î¤Ç¡¢ÊÌ¡¹¤ËÀßÃÖ¤·¤Æ²¼¤µ¤¤¡£
> ¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤Î¾ì¹ç¤Ï¡¢³ÊǼ¤·¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Î̾Á°¤òÊѹ¹¤·¤Æ¡Êtmpl2¤Ê¤É¡Ë¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤Ø¤ÎÊѹ¹¤â˺¤ì¤º¤Ë¡£
>
> °Ê¾å¤Ç¤¹¡£
µ»öNo | ¡§ 15906 |
Åê¹ÆÆü | ¡§ 2018/06/06(Wed) 17:26:45 |
¥¿¥¤¥È¥ë | ¡§ Re^3: Web Protect ¤È KeySearch ¤ÎÊ»ÍÑ |
ID¾ðÊó | ¡§ cal32480 |
Åê¹Æ¼Ô | ¡§ tan2 |
URL | ¡§ http://adoctec.sakura.ne.jp/protect/protect.cgi?page |
¤Æ¤±¤Æ¤óÍÍ
¤ªÀ¤ÏäˤʤäƤª¤ê¤Þ¤¹¡£
¥¢¥É¥Ð¥¤¥¹¤Ë´ð¤Å¤¡¢Á²¤¯protectÆâ±£¤·¥Õ¥¡¥¤¥ë¡Êhtml¡Ë¤Î¸¡º÷¡¢É½¼¨¤¬¤Ç¤¤ë¤È¤³¤í¤Þ¤Ç¤¿¤É¤ê¤Ä¤¤Þ¤·¤¿¡£
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡ª¡ª
¤Ç¤¤ì¤Ð¸¡º÷ʸ»ú¤¬¥Ï¥¤¥é¥¤¥Èɽ¼¨¤Ë¤Ê¤ë¤è¤¦¤Ë¤·¤¿¤¤¤È»×¤¤¡¢
Perl¤Î¹½Ê¸¾Ò²ð¥µ¥¤¥È¤Ê¤É¤ò¤¤¤¯¤Ä¤«Ãµ¤·»Ï¤á¤¿¤È¤³¤í¤Ç¤¹¡£
¤â¤·¥ª¥¹¥¹¥á¤Î¥µ¥¤¥È¡¢¥¢¥É¥Ð¥¤¥¹¤¬¤¢¤ê¤Þ¤·¤¿¤é
¤¤¤¿¤À¤±¤Þ¤¹¤È¹¬¿Ó¤Ç¤¹¡£
¤É¤¦¤¾µ¹¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£
> ¤Æ¤±¤Æ¤óÍÍ
>
> ÃúÇ«¤Ê¤´ÊÖ¿®¤ò¤¤¤¿¤À¤¸æÎ鿽¤·¾å¤²¤Þ¤¹¡£
>
> Ķ½é¿´¼Ô¤Î¤¿¤á¡¢¤Þ¤º¤Ï夤¤¿ÆâÍƤòÍý²ò¤·¤Æ¿Ê¤á¤Æ»²¤ê¤Þ¤¹¡£
>
> ¼è¤êµÞ¤®¸æÎé¤Þ¤Ç¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
>
> > > KeySearch¥Õ¥©¥ë¥À¤ÎŬÀµ¤ÊÇÛÃÖ¾ì½ê¤Ë¤Ä¤¤¤Æ¡Êprotect¥Õ¥©¥ë¥À¤Î²¼³¬ÁؤDZ£¤·¥Õ¥©¥ë¥ÀÆâ¡©¤¢¤ë¤¤¤Ïprotect¥Õ¥©¥ë¥À¤ÈƱ³¬ÁؤǤâ¤è¤¤¤Î¤«¡©¡Ë
> >
> > http://www.kent-web.com/pwd/protect.html
> > Êä»ö¹à(1)¤ò¤è¤¯Æɤó¤Ç²¼¤µ¤¤¡£
> >
> > > ¤Ê¤ª¡¢¥¢¥¯¥»¥¹À©¸Â¤¹¤ëCGI¥Õ¥¡¥¤¥ë¤Ï protect.cgi ¤Èɬ¤ºÆ±°ì¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤¤¤Æ¤¯¤À¤µ¤¤¡£
> >
> > ¤È¤¢¤ê¤Þ¤¹¡£
> > ⤷¡¢KeySearch¤Ï¡¢¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¡Êhtml¥Õ¥¡¥¤¥ë¡¢txt¥Õ¥¡¥¤¥ë¤Ê¤É¡Ë¤·¤«¸¡º÷½ÐÍè¤Þ¤»¤ó¡£
> > http://www.kent-web.com/data/ksearch.html
> > > ¸¡º÷Âоݥե¡¥¤¥ë¤Ï¥Æ¥¥¹¥È·Ï¤Î¤ß¤Ç¤¹¡£PDF¤äWORDÅù¤Î¥Ð¥¤¥Ê¥ê¡¼¥Õ¥¡¥¤¥ë¤Ï¸¡º÷ÂоݤˤϤǤ¤Þ¤»¤ó¡£
> >
> > CGI¥¹¥¯¥ê¥×¥È¤¬É½¼¨¤·¤¿¥Ú¡¼¥¸¡Êprotect.cgi¤¬Æɤ߹þ¤ßɽ¼¨¤¹¤ë²ñ°÷À©¥Ú¡¼¥¸¤Ê¤É¡Ë¤ÎÆâÍƤϸ¡º÷½ÐÍè¤Þ¤»¤ó¡£
> > CGI¥¹¥¯¥ê¥×¥È¤Ï¡¢¥Ö¥é¥¦¥¶¤Ç¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤Ë¤è¤êÆ°ºî¤¹¤ë¤¿¤á¡¢¥Ö¥é¥¦¥¶¤Ç¥¢¥¯¥»¥¹¤·¤Ê¤¤»þ¤Ï¡¢protect.cgi¤Ï¡¢¤¿¤À¤Î¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
> > ¸¡º÷ÂоݤË.cgi¤Î³ÈÄ¥»Ò¤òÅÐÏ¿¤·¤¿¾ì¹ç¡¢protect.cgi¤Î¥¹¥¯¥ê¥×¥È¤Îµ½Ò¤½¤Î¤â¤Î¡Êprotect.cgi¤ò¥Æ¥¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤¿»þ¤Ëɽ¼¨¤µ¤ì¤ë¤â¤Î¡Ë¤ò¸¡º÷ÂоݤȤ·¤Þ¤¹¡£
> >
> > ⤷¡¢±£¤·¥Õ¥¡¥¤¥ë¤¬¥Æ¥¥¹¥È·Ï¤Î¥Õ¥¡¥¤¥ë¤Ê¤é¤Ð¡Êhtml¥Õ¥¡¥¤¥ë¤Ê¤É¡Ë¡¢±£¤·¥Õ¥¡¥¤¥ë¤ò¸¡º÷Âоݤ˽ÐÍè¤Þ¤¹¡£
> > °ìö¡¢±£¤·¥Õ¥¡¥¤¥ë¤ò¸¡º÷Âоݤˤ·¤Æindex¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Æ²¼¤µ¤¤¡£
> > ¤½¤·¤Æ¡¢FTP¥½¥Õ¥È¤Çindex.dat¤Èset.dat¤ò¥À¥¦¥ó¥í¡¼¥É¤·¡¢¥Æ¥¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤Æ¡¢¼êÆ°¤ÇÊѹ¹¤¹¤ì¤Ð¡¢KeySearch¤Ç¸¡º÷¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
> > ¤É¤Î¥Ú¡¼¥¸¤¬²ñ°÷¥Ú¡¼¥¸¤ËÂбþ¤·¤Æ¤¤¤ë¤«¤Ï¡¢¤´¼«Ê¬¤ÇȽ¤ë¤È»×¤¤¤Þ¤¹¤Î¤Ç¡£
> >
> > Êѹ¹¤Î»ÅÊý¤Ç¤¹¤¬¡¢index.dat¤ÎÆâÍƤϡ¢Î㤨¤Ð
> >
> > /file3.html 1527923398 file3 [TOP¤ØÌá¤ë] file3 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¿§¡¹¥Æ¥¹¥È¡£ file1 file3
> > /file1.html 1527923378 file1 [TOP¤ØÌá¤ë] file1 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤¤¤Ä¤â¡¢¥Æ¥¹¥ÈÃ桪¡ª file2 file3
> > /file2.html 1306611530 file2 [TOP¤ØÌá¤ë] file2 ¤³¤ó¤Ê´¶¤¸¤Ç¥Æ¥¹¥È¤Ç¤¹¡£ file1 file3
> >
> > ¤À¤Ã¤¿¤È¤·¤Þ¤¹¡Ê¼ÂºÝ¤Î¥Ç¡¼¥¿¤Ï¡¢¥¿¥Ö¶èÀÚ¤ê¤Ç¤¹¡Ë¡£
> > file1.html¤¬protect.cgi?page=1¡¢file2.html¤¬protect.cgi?page=2¡¢file3.html¤¬protect.cgi?page=3¤ËÂбþ¤·¤Æ¤¤¤¿¤é
> >
> > /protect.cgi?page=3 1527923398 file3 [TOP¤ØÌá¤ë] file3 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¿§¡¹¥Æ¥¹¥È¡£ file1 file3
> > /protect.cgi?page=1 1527923378 file1 [TOP¤ØÌá¤ë] file1 ¥Æ¥¹¥È¤·¤Æ¤¤¤Þ¤¹¡£ ¤¤¤Ä¤â¡¢¥Æ¥¹¥ÈÃ桪¡ª file2 file3
> > /protect.cgi?page=2 1306611530 file2 [TOP¤ØÌá¤ë] file2 ¤³¤ó¤Ê´¶¤¸¤Ç¥Æ¥¹¥È¤Ç¤¹¡£ file1 file3
> >
> > ¤Î¤è¤¦¤ËÊѹ¹¤·¤Þ¤¹¡£
> > ¼¡¤Ëset.dat¤Ç¤¹¡£
> > set.dat¤ÎÆâÍƤϡ¢Î㤨¤Ð
> >
> > > 2018/06/02(Sat) 16:34:24<>5<>
> > ./private/<>http://example.com/member/private/<>.html .htm<><><>
> >
> > ¤³¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤¿¤é¡¢protect.cgi¤¬³ÊǼ¤µ¤ì¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ø¤Î¥Ñ¥¹¤ËÊѹ¹¤·¤Þ¤¹¡£
> >
> > > 2018/06/02(Sat) 16:34:24<>5<>
> > ./<>http://example.com/member/<>.html .htm<><><>
> >
> > ¤Î¤è¤¦¤Ë¡£
> > Êѹ¹¤·¤¿¤é¡¢¥¢¥Ã¥×¥í¡¼¥É¤·¤Æ¼ÂºÝ¤Ë¸¡º÷¤·¤ÆÆ°ºî³Îǧ¤ò¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£
> >
> > ¤³¤Îºî¶È¤Ï¡¢index¥Ç¡¼¥¿¤òºî¤êÊѤ¨¤ëËè¤Ë¹Ô¤Ã¤Æ²¼¤µ¤¤¡£
> >
> >
> > ¢£¡¡Ãí°Õ»ö¹à¡¡¢£
> > ¿ʬ¡¢¤´¾µÃΤÀ¤È¤Ï»×¤¤¤Þ¤¹¤¬¡¢Ç°¤Î°Ù¡£
> >
> > KeySearch¤ÈWEB PROTECT¤Ç½ÅÊ£¤·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£
> > lib¥Ç¥£¥ì¥¯¥È¥êÆâ¤ÎƱ¤¸¥Õ¥¡¥¤¥ë¤Ï¶¦Í¤·¤Þ¤¹¤¬¡¢Â¾¤Î¥Õ¥¡¥¤¥ë¤Ï¶¦Í¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Æ²¼¤µ¤¤¡£
> > ¤É¤Á¤é¤«¤Î¥¹¥¯¥ê¥×¥È¤Î¥Õ¥¡¥¤¥ë̾¤òÊѹ¹¤·¤Æ²¼¤µ¤¤¡£
> >
> > Î㤨¤Ð¡¢init.cgi¤Ï¤É¤Á¤é¤Ë¤âƱ¤¸Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¤¬¡¢Ãæ¿È¤¬°ã¤¤¤Þ¤¹¤è¤Í¡©
> > ¤Ê¤Î¤Ç¡¢KeySearch¤Î¤Û¤¦¤òinit2.cgi¤Ê¤É¤È¤·¤Æ¡¢KeySearch´ØÏ¢¤Î¥Õ¥¡¥¤¥ë¤Ç¡¢init.cgi¤Èµ½Ò¤·¤Æ¤¤¤ë²Õ½ê¤òÁ´¤Æinit2.cgi¤ËÊѹ¹¤¹¤ë¤Ê¤É¡£
> > ¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤â¡¢Ê¸»ú¥³¡¼¥É¤¬°ã¤¤¤Þ¤¹¤Î¤Ç¡¢ÊÌ¡¹¤ËÀßÃÖ¤·¤Æ²¼¤µ¤¤¡£
> > ¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤Î¾ì¹ç¤Ï¡¢³ÊǼ¤·¤Æ¤¤¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Î̾Á°¤òÊѹ¹¤·¤Æ¡Êtmpl2¤Ê¤É¡Ë¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤Ø¤ÎÊѹ¹¤â˺¤ì¤º¤Ë¡£
> >
> > °Ê¾å¤Ç¤¹¡£
µ»öNo | ¡§ 15909 |
Åê¹ÆÆü | ¡§ 2018/06/09(Sat) 11:26:13 |
¥¿¥¤¥È¥ë | ¡§ Re^4: Web Protect ¤È KeySearch ¤ÎÊ»ÍÑ |
ID¾ðÊó | ¡§ teketen |
Åê¹Æ¼Ô | ¡§ ¤Æ¤±¤Æ¤ó |
¸¡º÷·ë²Ì¤Î¥Ú¡¼¥¸¤Ç¡¢¥Ï¥¤¥é¥¤¥Èɽ¼¨¤Ë¤Ê¤ì¤ÐÎɤ¤¤Î¤Ç¤¹¤è¤Í¡©
¤Ç¤·¤¿¤é¡¢°Ê²¼¤Î½¤Àµ¤ò¤·¤Æ²¼¤µ¤¤¡£
ksearch.cgi
239¹ÔÌÜÉÕ¶á
$tmp =~ s|!doc!|$bk<b>$wd</b>$nx|g;
¤ò
$tmp =~ s|!doc!|$bk<mark>$wd</mark>$nx|g;
¤ËÊѹ¹¤·¤Æ²¼¤µ¤¤¡£
¥Ï¥¤¥é¥¤¥È¤Î¿§¤òÊѹ¹¤¹¤ë»þ¤Ï¡¢¥¹¥¿¥¤¥ë¥·¡¼¥È¤Ç»ØÄꤵ¤ì¤ì¤ÐÎɤ¤¤È»×¤¤¤Þ¤¹¡£
¡Ê»²¹Í¡§http://www.tagindex.com/html5/text/mark.html¡Ë
¤â¤·¤â¡¢³ºÅö¥Ú¡¼¥¸¤òɽ¼¨¤·¤¿»þ¤Ë¤â¡¢¸¡º÷ʸ»ú¤ò¥Ï¥¤¥é¥¤¥Èɽ¼¨¤Ë¤·¤¿¤¤¾ì¹ç¤Ï¡¢¤â¤¦¾¯¤·²þ¤¤¬É¬Íפˤʤê¤Þ¤¹¡£
¡Ê¤³¤Î¾ì¹ç¡¢´Ê°×Ū¤Ê²þ¤¤·¤«¤´°ÆÆâ½ÐÍè¤Ê¤¤¤È»×¤¤¤Þ¤¹¡Ë
¤¢¤È¡¢¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¤¬¡¢»ä¤Î¥³¥á¥ó¥È¤òÁ´Ê¸°úÍѤ·¤Ê¤¤¤Ç²¼¤µ¤¤¡£
ɬÍפÊÉôʬ¤Î¤ß¡¢°úÍѤ·¤Æ¤¯¤À¤µ¤¤¡£
¤ª´ê¤¤¤·¤Þ¤¹¡£
µ»öNo | ¡§ 15913 |
Åê¹ÆÆü | ¡§ 2018/06/11(Mon) 17:43:24 |
¥¿¥¤¥È¥ë | ¡§ Re^5: Web Protect ¤È KeySearch ¤ÎÊ»ÍÑ |
ID¾ðÊó | ¡§ cal32480 |
Åê¹Æ¼Ô | ¡§ tan2 |
URL | ¡§ http://adoctec.sakura.ne.jp/protect/protect.cgi?page |
¤Æ¤±¤Æ¤óÍÍ
Ū³Î¤Ç¤ï¤«¤ê¤ä¤¹¤¤¥¢¥É¥Ð¥¤¥¹¡¢À¿¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
¤Þ¤º¤Ï¤´¶µ¼¨¤¤¤¿¤À¤¤¤¿¡Ö¸¡º÷·ë²Ì¡×¤Ç¤Î¥Ï¥¤¥é¥¤¥È²½¤ò»î¤·¤Æ¤ß¤¿¤¤¤È»×¤¤¤Þ¤¹¡£
1¥Ú¡¼¥¸¤Î¾ðÊó¥Ü¥ê¥å¡¼¥à¤¬¤¢¤ë¤¿¤á¡¢
ºÇ½ªÅª¤Ê¥´¡¼¥ë¤Ï¡Ö³ºÅö¥Ú¡¼¥¸¤òɽ¼¨¤·¤¿»þ¡×¤Î¸¡º÷ʸ»ú¥Ï¥¤¥é¥¤¥È²½¤ò¤á¤¶¤·¤Æ¤ª¤ê¤Þ¤¹¡£
´Ê°×Ū¤Ê²þ¤ÊýË¡¤â¤¼¤Ò»î¤·¤Æ¤ß¤¿¤¤¤È»×¤¤¤Þ¤¹¤Î¤Ç¡¢
½Å¤Í½Å¤ÍÂçÊѶ²¤ìÆþ¤ê¤Þ¤¹¤¬¡¢¤´¶µ¼¨¤¤¤¿¤À¤±¤Þ¤·¤¿¤é¹¬¿Ó¤Ç¤¹¡£
µ¹¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£
¡ÊÁ´Ê¸°úÍѤηÇÛθÉÔ¤ˤè¤êÂçÊѼºÎ餤¤¿¤·¤Þ¤·¤¿¡Ë
µ»öNo | ¡§ 15916 |
Åê¹ÆÆü | ¡§ 2018/06/13(Wed) 19:49:09 |
¥¿¥¤¥È¥ë | ¡§ ½¤Àµ°Æ¡¡¢¨°ìÉô½¤Àµ¤¢¤ê |
ID¾ðÊó | ¡§ teketen |
Åê¹Æ¼Ô | ¡§ ¤Æ¤±¤Æ¤ó |
¢¨¡¡¥³¥á¥ó¥È¤ä¥¹¥¯¥ê¥×¥È¤ò°ìÉô½¤Àµ¤·¤Æ¤¤¤Þ¤¹¡£ºÇ¸å¤Ë½¤ÀµÆü¤È»þ´Ö¤Ê¤É¤òÌÀµ¤·¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢¤´³Îǧ²¼¤µ¤¤¡£¢¨
¢¨¡¡¸¡º÷Âоݥڡ¼¥¸Á´¤Æ¤Ë¥¹¥¿¥¤¥ë¥·¡¼¥È¤Îµ½Ò¤ò¤ª´ê¤¤¤·¤Þ¤·¤¿¤¬¡¢³°Éô¥¹¥¿¥¤¥ë¥·¡¼¥È¤òÍÑ°Õ¤¤¤Æ¤¤¤¿¤À¤±¤ì¤Ð¡¢¥¹¥¯¥ê¥×¥È¤ÇÉղ乤ë¤è¤¦¤ËÊѹ¹¤·¤Þ¤·¤¿¡£¢¨
¢¨¡¡¤â¤·¤â¡¢´û¤Ë½¤ÀµÁ°¤Î¥³¥á¥ó¥È¤ò¤ªÆɤߤˤʤꡢ¥¹¥¿¥¤¥ë¥·¡¼¥È¤òµ½Ò¤µ¤ì¤Æ¤¤¤¿¤é¡¢¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¢¨
»×¤Ã¤¿¤è¤ê¤â¡¢´Êñ¤Ë¥Ï¥¤¥é¥¤¥Èɽ¼¨¤Ç¤¤Þ¤·¤¿¤Î¤Ç¡¢¤´°ÆÆ⤷¤Þ¤¹¡£
¡Ê¥â¥¸¥å¡¼¥ë¤ò»È¤Ã¤Æ¤ß¤ë¤Ê¤É¡¢Æñ¤·¤¯¹Í¤¨¤¹¤®¤Æ¤Þ¤·¤¿^^;¡Ë
¤¿¤À¡¢¤â¤·¤«¤·¤Æ¡¢¥Ú¡¼¥¸¤Îhtml¤Î¥³¡¼¥Ç¥£¥ó¥°¤Ë¤è¤ê¡¢É½¼¨¤¬Êø¤ì¤ë¤Ê¤É¤¢¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£
¤Ç¤¹¤Î¤Ç¡¢º£¤Þ¤ÇÄ̤ꡢ³ºÅö¥Ú¡¼¥¸¤ò¥Ï¥¤¥é¥¤¥Èɽ¼¨¤Ê¤·¤Çɽ¼¨½ÐÍè¤ë¤è¤¦¤Ë¤â¤·¤Æ¤¤¤Þ¤¹¡£
¢¨¤³¤Î²þ¤¤Ï¡¢¸¡º÷Âоݥڡ¼¥¸¤¬¡¢protect.cgi?page=1¤Î¤è¤¦¤Ë¡¢protect.cgi·Ðͳ¤Ç¥Ú¡¼¥¸¤ò³«¤¯¾ì¹ç¤Ë͸ú¤Ç¤¹¡£
¢¨²þ¤¤Ï¡¢¼«¸ÊÀÕǤ¤Ç¤ª´ê¤¤¤·¤Þ¤¹¡£
¢¨²¿¤«¤¢¤Ã¤¿ºÝ¤Ë¤Ï¡¢¸µ¤ËÌᤷ¤Æ²¼¤µ¤¤¡£
¥Ð¡¼¥¸¥ç¥ó¤Ï¡¢Web Protect v4.33¡¢KeySearch v1.2¤Ç¤Î²þ¤¤Ë¤Ê¤ê¤Þ¤¹¡£
protect.cgi¤ò¥Æ¥¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤Æ²¼¤µ¤¤¡£
74¹ÔÌÜÉÕ¶á
# HTML¥Õ¥¡¥¤¥ë¤Ê¤éÆɤ߽Ф·
} else {
open(IN,"$cf{prvdir}/$target") or &error("open err: $target");
print "Content-type: text/html\n\n";
print <IN>;
close(IN);
exit;
¤ò
# HTML¥Õ¥¡¥¤¥ë¤Ê¤éÆɤ߽Ф·
} else {
open(IN,"$cf{prvdir}/$target") or &error("open err: $target");
print "Content-type: text/html\n\n";
if($in{q}) { # ²þ¤¤Ë¤è¤ëÄɲà ¢£¢£
my $body = join('',<IN>);
require Encode;
$in{q} = Encode::encode('cp932',Encode::decode('euc-jp',$in{q}));
$in{q} =~ s/¡¡/ /g;
$body =~ s/\n{2,}/\n/g;
$body =~ s|(.*?</head>)||si;
my $head = $1;
my $body2;
while($body =~ m|(<\/?[^>]*>)*?(.*?)(<\/?[^>]*>)|gis) {
my ($tag1,$txt,$tag2) = ($1,$2,$3);
if($tag1 =~ /style/i or $tag2 =~ /style/i) {
$body2 .= "$tag1$txt$tag2";
} else {
my $i = 1;
for my $q (split(/\s+/,$in{q})) {
$i = 1 if($i >= 6);
$txt =~ s|(?<!s=")(\Q$q\E)|<span class="mark$i">$1</span>|igs;
$i++;
}
$body2 .= "$tag1$txt$tag2";
}
}
if($highlight == 1) {
my $i = 1;
my $hl = '';
for my $q (split(/\s+/,$in{q})) {
$i = 1 if($i >= 6);
$hl .= qq|<span class="mark$i">$q</span> |;
$i++;
}
require Encode::Guess;
my $enc = Encode::Guess::guess_encoding($body,qw(euc-jp shiftjis 7bit-jis utf8));
$enc = ref $enc ? $enc->name : $enc;
my $txt = Encode::encode($enc,Encode::decode('shiftjis','¥Ï¥¤¥é¥¤¥È¤µ¤ì¤Æ¤¤¤ë¥¡¼¥ï¡¼¥É'));
$body2 =~ s|(<body[^>]*>)|$1\n<div id="highlight">$txt:$hl</div>|si;
undef $enc;
}
$head =~ s|(</head>)|<link rel="stylesheet" href="$style" type="text/css" media="all">\n$1|i if($style);
print "$head$body2";
} else {
print <IN>;
} # ²þ¤¤Ë¤è¤ë½¤Àµ¤Ï¡¢¤³¤³¤Þ¤Ç ¢£¢£
close(IN);
exit;
¤ËÊѹ¹¡£
protect.cgi¤Î9¹ÔÌÜÉÕ¶á
use strict;
¤ÎÁ°¤Î¹Ô¤Ë
# ¥Ï¥¤¥é¥¤¥Èɽ¼¨Íѳ°Éô¥¹¥¿¥¤¥ë¥·¡¼¥È¤Ø¤Î¥Ñ¥¹
# ¥¹¥¯¥ê¥×¥È¤Ç¡¢³°Éô¥¹¥¿¥¤¥ë¥·¡¼¥È¤Î¸Æ¤Ó½Ð¤·¥¿¥°¤òÉղä·¤Þ¤¹¡£
# Î㡧<link rel="stylesheet" href="./highlight.css" type="text/css" media="all">
# ÁêÂХѥ¹¤Ç»ØÄꤵ¤ì¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥¹¥¯¥ê¥×¥È¤«¤é¸«¤¿¥Ñ¥¹¤ò»ØÄꤷ¤Æ²¼¤µ¤¤¡£
my $style = './highlight.css';
# ¸¡º÷¸ì¶ç¤òGoogle¤Î¥¥ã¥Ã¥·¥å¤Î¤è¤¦¤Ë¡¢¥Ú¡¼¥¸¤Î»Ï¤á¤Ë
# ¥Ï¥¤¥é¥¤¥È¤µ¤ì¤Æ¤¤¤ë¥¡¼¥ï¡¼¥É:¸¡º÷ʸ»ú
# ¤òÉղ乤ë¾ì¹ç¤Ï1¤ò¡¢¤·¤Ê¤¤¾ì¹ç¤Ï0¤ò»ØÄꤷ¤Æ²¼¤µ¤¤¡£
# 1¤Ë¤·¤¿¾ì¹ç¤Ï¡¢³ºÅö¥Ú¡¼¥¸¤Ë
# Î㡧<div id="highlight">¥Ï¥¤¥é¥¤¥È¤µ¤ì¤Æ¤¤¤ë¥¡¼¥ï¡¼¥É:<span class="mark1">¸¡º÷ʸ»ú1</span> <span class="mark2">¸¡º÷ʸ»ú2</span> </div>
# ¤Î¤è¤¦¤Ë<body>¥¿¥°¤Î²¼¤ËÉղ䵤ì¤Þ¤¹¡£$style¤Ç»ØÄꤷ¤¿¥¹¥¿¥¤¥ë¥·¡¼¥È¤Ë¡¢#highlight¤Ë¤Æ¥¹¥¿¥¤¥ë¤Î»ØÄ꤬½ÐÍè¤Þ¤¹¡£
my $highlight = 1;
¤òÄɲä·¡¢ÀßÄê¤ò¹Ô¤Ã¤Æ²¼¤µ¤¤¡£
protect.cgi¤Î²þ¤¤Ï¡¢¤³¤³¤Þ¤Ç¡£
¼¡¤Ë¡¢ksearch.cgi
238¹ÔÌÜÉÕ¶á
$tmp =~ s/!url!/$url$page/g;
¤Î¼¡¤Î¹Ô¤Ë
$tmp =~ s|!hilight!|[<a href="$url$page&q=$in{q}">¥Ï¥¤¥é¥¤¥Èɽ¼¨</a>]|g; # ²þ¤¤Î°Ù¡¢Äɲà ¢£¢£
¤òÁÞÆþ¤·¤Æ²¼¤µ¤¤¡£
[¥Ï¥¤¥é¥¤¥Èɽ¼¨]
¤ÎÉôʬ¤Ï¡¢¤´¼«Ê¬¤Ç¹¥¤¤Êʸ»ú¤ËÊѹ¹¤µ¤ì¤Æ¹½¤¤¤Þ¤»¤ó¡£
¤³¤Î¥ê¥ó¥¯¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢¸¡º÷ʸ»ú¤ò¥Ï¥¤¥é¥¤¥È¤·¤¿¥Ú¡¼¥¸¤òɽ¼¨½ÐÍè¤Þ¤¹¡£
¤Þ¤¿¡¢º£¤Þ¤ÇÄ̤ꡢ¥Ï¥¤¥é¥¤¥È¤Ê¤·¤Î³ºÅö¥Ú¡¼¥¸¤âɽ¼¨½ÐÍè¤ë¤è¤¦¤Ë$tmp =~ s/!url!/$url$page/g;¤ÎÉôʬ¤ò»Ä¤·¤Æ¤¤¤Þ¤¹¡£
224¹ÔÌÜÉÕ¶á
# ¥Æ¥ó¥×¥ì¡¼¥Èʬ³ä
my ($head,$loop,$foot) = $tmpl =~ /(.+)<!-- loop_begin -->(.+)<!-- loop_end -->(.+)/s
? ($1,$2,$3) : error("¥Æ¥ó¥×¥ì¡¼¥ÈÉÔÀµ");
¤Î¼¡¤Î¹Ô¤Ë
$in{q} = url_encode($in{q}); # ²þ¤¤Î°Ù¡¢Äɲà ¢£¢£
¤òÁÞÆþ¤·¤Æ¤¯¤À¤µ¤¤¡£
¤½¤·¤Æ¡¢Key Search¤Î¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ësearch.html¤Î
<!-- loop_begin -->¤«¤é<!-- loop_end -->¤Î´Ö¤Î¤ª¹¥¤¤Ê¾ì½ê¤Ë
!hilight!
¤òÁÞÆþ¤·¤Æ²¼¤µ¤¤¡£
¤³¤ÎÉôʬ¤Ë¡¢¾åµ¤ÇÀâÌÀ¤·¤¿¡¢¥Ï¥¤¥é¥¤¥Èɽ¼¨¤¹¤ë³ºÅö¥Ú¡¼¥¸¤Ø¤Î¥ê¥ó¥¯¡Ê[¥Ï¥¤¥é¥¤¥Èɽ¼¨]¡Ë¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
¤Þ¤¿¡¢¤»¤Ã¤«¤¯¤Ê¤Î¤Ç¡¢Google¤Î¥¥ã¥Ã¥·¥å¥Ú¡¼¥¸¤Î¤è¤¦¤Ë¡¢¸¡º÷ʸ»úËè¤Ëʸ»ú¤ÎÇØ·Ê¿§¤òÊѹ¹¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£
<span class="mark1">¸¡º÷ʸ»ú</span>
<span class="mark2">¸¡º÷ʸ»ú2</span>
<span class="mark3">¸¡º÷ʸ»ú3</span>
<span class="mark4">¸¡º÷ʸ»ú4</span>
<span class="mark5">¸¡º÷ʸ»ú5</span>
¤Î¤è¤¦¤Ë¡¢span¥¿¥°¤Ç»ØÄꤷ¡¢mark1 ¡Á make5¤Þ¤Ç¤Îclass¤òºî¤ê¤Þ¤·¤¿¡£
¸¡º÷ʸ»ú¤Ë¤è¤Ã¤Æ¡¢ÇØ·Ê¿§¤¬Êѹ¹½ÐÍè¤Þ¤¹¤Î¤Ç¡¢³°Éô¥¹¥¿¥¤¥ë¥·¡¼¥È¤òºîÀ®¤·¡¢ÀèÄøprotect.cgi¤ÇÄɲÃÀßÄꤷ¤¿³°Éô¥¹¥¿¥¤¥ë¥·¡¼¥È¤Ëµ½Ò¤·¤Æ²¼¤µ¤¤¡£
¡Ê#highlight¤Î»ØÄê¤â¤³¤Á¤é¤Ç¹Ô¤Ã¤Æ²¼¤µ¤¤¡Ë
Îã
.mark1 { background: #ffff66; font-weight:bold; }
.mark2 { background: #87CEFA; font-weight:bold; }
.mark3 { background: #FF00FF; font-weight:bold; }
.mark4 { background: #ADFF2F; font-weight:bold; }
.mark5 { background: #9370DB; font-weight:bold; }
#highlight {
background: #cdcdcd;
padding:10px;
margin-bottom:10px;
}
°Ê¾å¤Ç¤¹¡£
# 2018ǯ6·î15Æü¡¡13»þ50ʬ¡¡°ìÉô¥¹¥¯¥ê¥×¥È¤Îµ½Ò¤ò½¤Àµ¤·¤Þ¤·¤¿¡£
# 2018ǯ6·î16Æü¡¡20»þ00ʬ¡¡¥¹¥¿¥¤¥ë¥·¡¼¥È¤Îµ½Ò¤¬¤¢¤ë¾ì¹ç¡¢¥³¥á¥ó¥È¡Ê<!-- -->¤Î¤Ê¤¤¥¹¥¿¥¤¥ë¥·¡¼¥ÈÉôʬ¤ò¸¡º÷¤·¤Æ¤·¤Þ¤¦¤Î¤ò½¤Àµ¤·¡¢¹ç¤ï¤»¤Æ¡¢Google¤Î¥¥ã¥Ã¥·¥å¤Î¤è¤¦¤Ë¡¢¥Ú¡¼¥¸¤Î»Ï¤á¤Ë
# ¥Ï¥¤¥é¥¤¥È¤µ¤ì¤Æ¤¤¤ë¥¡¼¥ï¡¼¥É:¸¡º÷ʸ»ú
# ¤Î¤è¤¦¤Ë¡¢É½¼¨½ÐÍè¤ë¤è¤¦¤Ë¤·¤Æ¤ß¤Þ¤·¤¿¡£
µ»öNo | ¡§ 15918 |
Åê¹ÆÆü | ¡§ 2018/06/18(Mon) 15:01:50 |
¥¿¥¤¥È¥ë | ¡§ Re: ½¤Àµ°Æ¡¡¢¨°ìÉô½¤Àµ¤¢¤ê |
ID¾ðÊó | ¡§ cal32480 |
Åê¹Æ¼Ô | ¡§ tan2 |
URL | ¡§ http://adoctec.sakura.ne.jp/protect/protect.cgi?page |
¤Æ¤±¤Æ¤óÍÍ
¤ªÀ¤ÏäˤʤäƤª¤ê¤Þ¤¹¡£
³Îǧ¤¬ÃÙ¤ì¤Æ¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£
ÂçÊÑÃúÇ«¤Ê²óÅú¤ò¤¤¤¿¤À¤¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
¤è¤ê´Êñ¤ÊÊýË¡¤ò¤ß¤Ä¤±¤Æ²¼¤µ¤Ã¤¿¤È¤Î¤³¤È¡¢
¤¢¤é¤¿¤á¤Þ¤·¤Æ´¶¼Õ¿½¤·¾å¤²¤Þ¤¹¡£
Á´ÂΤòį¤á¤Æ¤ß¤Þ¤·¤Æ¡¢½é¿´¼Ô¤Î»ä¤Ë¤ÏÀµÄ¾¤Þ¤À¤Þ¤ÀÆñ¤·¤¯´¶¤¸¤Þ¤¹¤¬¡¢¤»¤Ã¤«¤¯¤Îµ¡²ñ¤Ç¤â¤¢¤ê¥Á¥ã¥ì¥ó¥¸¤·¤Æ»²¤ê¤¿¤¤¤È»×¤¤¤Þ¤¹¡£
»þ´Ö¤¬¤«¤«¤ë¤«¤È»×¤¤¤Þ¤¹¤¬¡¢´°À®¤·¤Þ¤·¤¿¤é¤¼¤Ò¤È¤âÊó¹ð¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤¹¡£
¼è¤êµÞ¤®¸æÎé¤Ë¤Æ¡¢¼ºÎ餷¤Þ¤¹¡£
µ»öNo | ¡§ 15930 |
Åê¹ÆÆü | ¡§ 2018/06/26(Tue) 11:17:54 |
¥¿¥¤¥È¥ë | ¡§ Re^2: ½¤Àµ°Æ¡¡¢¨°ìÉô½¤Àµ¤¢¤ê |
ID¾ðÊó | ¡§ teketen |
Åê¹Æ¼Ô | ¡§ ¤Æ¤±¤Æ¤ó |
¤¹¤ß¤Þ¤»¤ó¡£
¤â¤·¤â¡¢¸¡º÷¸ì¤Ë¡¢¡Ömark¡×¡Öspan¡×¡Öclass¡×¡Ö=¡×¡Ö"¡×¡Ö1¡Á5¤ÎȾ³Ñ¿ô»ú¡×¤¬¤¢¤Ã¤¿¾ì¹ç¡¢¥Ï¥¤¥é¥¤¥Èɽ¼¨¤ÇÄɲä·¤¿<span>¥¿¥°¤â¸¡º÷ÂоݤˤʤäƤ·¤Þ¤¤¤Þ¤¹¡£
¡Ê¿ô»ú¤È=¤È"¤Ï¡¢°ì¸ì¤Ç¸¡º÷¤·¤¿¾ì¹ç¤Ç¡¢È¾³Ñ¥¹¥Ú¡¼¥¹¤Ç¶èÀڤ餺ʸ»ú¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë»þ¤ÏÂç¾æÉפǤ¹¡Ë
¤â¤·¤â¡¢¤³¤ì¤é¤ò¸¡º÷¤¹¤ë¤è¤¦¤Ç¤·¤¿¤é¡¢½¤Àµ°Æ¤ò¤´°ÆÆ⤷¤Þ¤¹¡£
¤Ç¤¹¤¬¡¢¸¡º÷¤·¤Ê¤¤¾ì¹ç¤Ï¡¢¾åµ¤´¾Ò²ð¤·¤¿½¤Àµ¤ÇÂç¾æÉפǤ¹¡£
Ç°¤Î°Ù¤ËÊѹ¹¤µ¤ì¤¿¤¤¾ì¹ç¤Ï¡¢¤´±óθ̵¤¯¤ª¤Ã¤·¤ã¤Ã¤Æ²¼¤µ¤¤¡£