[quote:11c9f38970="achoho"]º¯¼ö
$test = a.txt
system ("ls $test"); ÇÏ¸é µÇ´Â±º¿ä..
°ü·Ã Á¶¾ðÀÌ ÀÖÀ¸½Ã¸é, ²À ¸»ÇØ ÁÖ¼¼¿ä
Ãʺ¸¶ó ¸¹Àº Á¶¾ðÀÌ ÇÊ¿äÇÕ´Ï´Ù. ¤Ì.¤Ì[/quote:11c9f38970]
ÇØÇÇCGI ÀÔ´Ï´Ù.
º¯¼ö ºÎºÐÀº ¾Æ·¡¿Í °°ÀÌ Ã³¸®¸¦ ÇÒ¼öµµ ÀÖ½À´Ï´Ù.
[ÇÁ·Î±×·¥ÄÚµå]#!/usr/bin/perl print "content-type:text/html\n\n";
$a = "ls"; $test = `$a`; $test =~s/\n/ /gi; # \nÀ» ·Î ¹Ù²Ù¾î º¸±â ÁÁ°Ô ÇÑ´Ù print "$test"; |
Âü°íÇÏ½Ã±æ ¹Ù¶ø´Ï´Ù. ÇìÇì~