??????? ????? ????? (IIS) ?? ??? ?? PERL ????????? ?? ??????? ???? ?? ???????? ????

???? ID: 150629 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
?? ?????? ??????? ???? ??? ?? ??? ???????????? ?? ??? Microsoft ??????? ?????????? ???????? (IIS) ??????? 6.0 ???????? Microsoft Windows Server 2003 ?? ?? ??? ??? IIS 6.0 ???????????? ??? ?????? ??????? ?????? ??? IIS ???????-?????? ?????? ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ??? ???? ?? ????:
HTTP://www.Microsoft.com/technet/Security/prodtech/IIS.mspx
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

????? PERL ????????? ???? ??????? ?? ??????? ????? ????? ?? ??? CGI ????????? ?? ???????? ?? ??? ??????? ???? ?? ??? ????? ???? ?? ???? ???

???? ???????

???? ????? ?? Notepad ?? ??? ?????, ?? ??? ?? ????? ????????? ???? ????? Helloworld.pl ?? ??? ??? ????????? ?????????? ??? ???? ???????
print "HTTP/1.0 200 OK\n";
print "Content-Type: text/html\n\n";

print "<HTML>\n";
print "<HEAD>\n";
print "<TITLE>Hello World</TITLE>\n";
print "</HEAD>\n";
print "<BODY>\n";
print "<H4>Hello World</H4>\n";
print "<P>\n";
print "Your IP Address is $ENV{REMOTE_ADDR}.\n";
print "<P>";
print "<H5>Have a nice day</H5>\n";
print "</BODY>\n";
print "</HTML>\n";
				

?? ??? ?? ?? ???? ???? ??, PERL ???? ??????? ??? ??????? ?? ??? ????? ?? ??? ???????? ???? ?? ??? ?????? ??? Perl.exe ????? ???? ????? ?? ???? ????? ????? ?????????? ??? ?? ??????? ?? ??? ??? ?????????? ???????

??? ????????? ?????? ?? ????????? ???, ?? ??? ?? ?????? ?????????? ?????? ?? ???? ?????????? ?? ?? ????? ?? ???? Perl.exe ?? ???? ????

PERL ????????? ?????? ?? ???????? ???? ?? ???

???????: ????????? ?????? ?? ???? ??? ?? ????? ???? ?? ???? ?????? ??? ???? ?? ??? Windows NT ???????????? ???? ??? ???? ?? ?? ?????, ??????-????????? ???????? ???? ?? ???? ???? Microsoft ?? ?????? ???? ?? ?? ????????? ?????? ?? ????? ?? ???????????? ??? ???? ?? ?????? ?? ?? ???? ???? ?? ????? ?? ????? ???? ????? ?? ?????
  1. Regedt32. exe ?? ??????? ????, ?? ????? ????????? ????? ?? ?????:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC \Parameters\ScriptMap
  2. ' ?????? ' ???? ?? ' ??? ?????? ????? ?????
  3. ??? ?? ??? ?? .pl
  4. ???? ?????? ?? REG_SZ ???
  5. ???????? ??? ?? <the full="" path="" to="" perl.exe="">\perl.exe %s %s</the> ??

    ????? ???: "%s % s" ??? ?????? ??? (?????? "%s % S" ????? ???? ?????)?
  6. WWW ???? ?? ???????? ?????
?? ?? ????????? ???????? ???? ??? ??, ?? ???? ??????? ?? ??? PERL ????????? ??????? ?? ???? ???? IIS ??? ??????? ?????????? ?????? ?? ????? ??, URL ???? ?? ?????:
HTTP:// <server name="">/ scripts/helloworld.pl?</server>

???

???? ID: 150629 - ????? ???????: 02 ?????? 2010 - ??????: 4.0
???? ???? ???? ??:
  • Microsoft Internet Information Server 1.0
  • Microsoft Internet Information Server 2.0
  • Microsoft Internet Information Server 3.0
??????: 
kbinfo kbmt KB150629 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:150629

??????????? ???