¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 256°Ç
   
À©µµ¿ì¿¡¼­ putty ÀÚµ¿·Î±×ÀÎ ¼Ò½º
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-02-04 (¸ñ) 19:25 Á¶È¸ : 12479
±ÛÁÖ¼Ò :
                                
putty.exe ½ÇÇàÆÄÀÏÀ» C:\WINDOWS/system32 Æú´õ·Î º¹»çÇصдÙ.
¡Ø ÁÖÀÇ
Wscript.Shell : ws ´Â ´ë¹®ÀÚ!!


PUTTY_LOGIN.SWF
<package>
<job id = "js">
 <script language = "Jscript">
  var SERVER = new Array(1);
  var i;
  var USER = "root";
  var PW = "XXXXXXX";
  var COMMAND = "ls -al";      # ·Î±×ÀÎÈÄ ½ÇÇàÇÒ ¸í·É¾î
 
  SERVER[1] = "192.168.0.99";
  SERVER[2] = "192.168.0.100";
 
  for (i = 1; i <= 2; i++)
  {
   var Shell = Wscript.CreateObject("Wscript.Shell");
   Shell.Exec("PUTTY " + CapA[i] + " -l " + USER + " -pw " + PW);
   Wscript.Sleep(300);    # ´ë±â ½Ã°£
   Shell.SendKeys(COMMAND + "~");
   Wscript.Sleep(300);    # ´ë±â ½Ã°£
  }
 
 </script>
</job>
</package>

¸Þ¸ðÀåÀ¸·Î ÇØ´çÆÄÀÏÀ» ¸¸µé¾î¼­ Ŭ¸¯ÇϽøé ÀÚµ¿À¸·Î ·Î±×ÀÎ...

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.