|
Total related article : 2 |
|
µî·ÏÀÏ: | 2000-08-16 |
½Ã°£: | 12:04:52 |
Á¶È¸¼ö: | 1559 |
from: | 0.0.0.0 |
|
[¸®´ª½º] ¾ÆÆÄÄ¡/ÆÞ ¼³Á¤ ¹ýÁ»..... |
±Û¾´ÀÌ : Anonymous |
|
¾È³çÇϼ¼¿ä...
cgi / perl Ãʺ¸ÀÔ´Ï´Ù...
¾ÆÆÄÄ¡ ¼³Á¤ ÆÄÀÏÀÎ
/etc/httpd/conf/httpd.confÀÇ ÈÀÏÀ» ¼öÁ¤ÇÏ°í¿ä...
Å×½ºÆ®¸¦ ³¡³Â½À´Ï´Ù...
ÀÌ°÷¿¡... ÀÖ´Â ¾ÆÆÄÄ¡/ÆÞ ¼³Ä¡ °¡À̵带 º¸°í¿ä....(Âü°í·Î ¼³Ä¡°¡À̵尡 À©µµ¿ì¿¡ ¸Â°Ô µÇ¾ú´õ±º¿ä...<<;;)
Å×½ºÆ®´Â
#!/usr/bin/perl
print "content-type:text/html
";
print <<END;
<h2 align="center">ÃàÇÏÇÕ´Ï´Ù. ¼³Ä¡¿¡ ¼º°øÇϼ̽À´Ï´Ù!!</h2>
END
exit;
·Î Çß½À´Ï´Ù..
³×Æ®½ºÄÉÀÌÇÁ¿¡¼...
ÃàÇÏÇÕ´Ï´Ù.. ¼³Ä¡¿¡ ¼º°øÇϼ̽À´Ï´Ù.
¶ó´Â ±ÛÀÚµµ º¸¾Ò½À´Ï´Ù..
±×´ÙÀ½ º»°ÝÀûÀÎ Æû ¸ÞÀÏ cgi(okmail.zip)¸¦ ¹Þ¾Æ..
¼öÁ¤Çß½À´Ï´Ù...
ÀÇÄ¡´Â whereis perl Çß±¸¿ä...
-----> #!/usr/bin/perl
sendmail À§Ä¡
-----> /usr/sbin/sendmail
°íÄ¡°í okmail.cgi ¸¦ ½ÇÇà ÇÏ¿´½À´Ï´Ù..
±×·±µ¥...
¾Æ·¡¿Í °°Àº ¸Þ¼¼Áö°¡ Ãâ·ÂµÇ´Â ±º¿ä...
ÀÌÀ¯°¡ ¹«¾ùÀÎÁö...±º±ÃÇÕ´Ï´Ù..
¾ÆÆÄÄ¡ ¼³Á¤ÀÌ À߸ø µÇ¾ú³ª º»µ¥¿ä...
¾î¶»°Ô ¼öÁ¤À» ÇØ¾ß ÇÒÁö....?
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that
may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.11 Server at kcomnet.co.kr Port 80
-----------------------------------httpd.conf
.
.
.
.
ScriptAlias /cgi-bin/ "/internet/www/cgi-bin/"
#
<Directory "/internet/www/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
Deny from env=no_access
</Directory>
.
.
.
# CGI ½ºÅ©¸³Æ®¸¦ »ç¿ëÇϱâ À§ÇØ:
#
AddHandler cgi-script .cgi
.
.
¾ÆÆÄÄ¡ ¼³Á¤ ÈÀÏÀÇ ÀϺÎÀÔ´Ï´Ù..
±×·³
´äº¯ºÎŹµå¸³´Ï´Ù..
|
|
   |
|
µî·ÏÀÏ: | 2000-08-17 |
½Ã°£: | 06:44:34 |
Á¶È¸¼ö: | 1519 |
from: | 0.0.0.0 |
|
´äº¯: [¸®´ª½º] ¾ÆÆÄÄ¡/ÆÞ ¼³Á¤ ¹ýÁ»..... |
±Û¾´ÀÌ : HappyCGI |
|
¾È³çÇϼ¼¿ä. ÇØÇÇ CGI À¥¸¶½ºÅÍ À±¿µ¿õÀÔ´Ï´Ù.
Å×½ºÆ® CGI°¡ ¼º°øÇÑ°É·Î ºÁ¼
¼¹ö»ó¿¡ ¹®Á¦´Â ÀÏ´Ü ¾Æ´ÑµíÇÕ´Ï´Ù.
¸ÞÀÏ°ü·Ã CGI À̹ǷΠ¸î°¡Áö ÀǽɵǴ°÷ÀÌ ÀÖ½À´Ï´Ù.
ÀÏ´Ü @¹®ÀÚ ¾Õ¿¡ Ç¥½Ã¸¦ Çß³ª¿ä?
"·Î °¨½ÎÀÖ´Ù¸é ÇØÁÖ¼Å¾ß ÇÕ´Ï´Ù.
·Î °¨½ÎÀÖ´Ù¸é ¹®Á¦ ¾ø½À´Ï´Ù.
¼¾µå¸ÞÀÏ Á¤È®ÇÑ°¡¿ä?
°¡²ûÀº ¾ø´Â ¼¹ö»ó¿¡¼ ¾ø´Â ¸ÞÀÏ°èÁ¤À» ½áÁÖ¾úÀ»¶§
¿¡·¯°¡ ³ª°ï ÇÏÁö¿ä.(from ºÎºÐ¿¡¼¿ä) ^^
Åڳݿ¡¼>> perl okmail.cgi ¶ó°í ½ÇÇàÇغ¾´Ï´Ù.
¾î¶² ¿À·ù°¡ ¹ß»ýÇϳª¿ä?
º¸½Ã°í ¸ð¸£½Ã°Ú´Ù¸é ¿À·ù ¸Þ¼¼Áö¸¦ Àû¾îÁÖ¼¼¿ä.
À¢¸¸Çϸé Åڳݻ󿡼 ¿À·ù¸¦ º¸¿©ÁÝ´Ï´Ù.
ÁÙ¼öµµ ¾Ë·ÁÁÝ´Ï´Ù.
°¨»çÇÕ´Ï´Ù.
ÁÁÀº ÇÏ·çµÇ¼¼¿ä. :-)
|
|
   |