windowsÏÂPHPµ÷ÓÃÖ´ÐÐ×ÀÃæ³ÌÐòµÄ·½·¨[תÔصÄ]
phpµ÷ÓÃÍⲿ³ÌÐòµÄ·½·¨Ò»°ãÓÃexec,systemµÈ£¬µ«ÕâÑùÖ´ÐеÄʱºò±ØÐëµÈ´ýÍⲿ³ÌÐò½áÊøºó£¬phpÒ³Ãæ²ÅÄܼÌÐøÖ´ÐУ¬·ñÔòÍøÒ³»áÒ»Ö±µÈ´ý¡£
ÈçºÎ¸Ä±äÕâÖÖÇé¿öÄØ£¿
Ê×ÏÈ
ÒªÖªµÀphpµ÷ÓõijÌÐòĬÈ϶¼ÊÇ·ÅÔÚºǫ́ÔËÐеģ¬¼´Ê¹ÊÇ×ÀÃæ³ÌÐòÔÚ×ÀÃæÒ²¿´²»µ½£¬µ½½ø³ÌÁбí²ÅÄÜ¿´µ½
ÕâÊÇÓÉÓÚphpµ÷ÓóÌÐòÊÇͨ¹ýapacheÀ´Íê³ÉµÄ£¬¶øapacheÊÇ·þÎñ³ÌÐò£¬Ä¬Èϲ»ÄÜÖ´ÐÐ×ÀÃæ³ÌÐò¡£´ò¿ª
¿ØÖÆÃæ°å-·þÎñ-apache£¬µÚ¶þ¸ö±êÇ©£¨µÇ¼±êÇ©£©£¬Ñ¡ÖГÔÊÐí·þÎñÓë×ÀÃæ½»»¥”£¬ÖØÆôapache·þÎñ¡£Õâʱºòдһ¸öexec('notepad.exe')£¬¿ÉÒÔ
¿´µ½¼Çʱ¾ÔÚ×ÀÃæÖ´ÐÐÁË£¬µ«ÊÇÒ³ÃæÔڵȴý......-_-
µÚ¶þ²½
windowsµÄµ÷ÓÃʵ¼ÊÊÇͨ¹ýshell(Ò²¾ÍÊÇcmd)½øÐеģ¬ÉÏÃæ´ò¿ª¼Çʱ¾µÄʱºòºóÃæÓиöºÚÉ«´°¿Ú¾ÍÊÇdosÃüÁîÐУ¬Èç¹û¹ØµôdosÃüÁîÐв»¾ÍµÃÁËÂð£¿ok!
Åú´¦ÀíÖÐÈç¹û²»ÏëÈÃÅú´¦ÀíµÈ´ýÓÃstart,ËùÒÔÓÃÏÂÃæµÃÓï¾ä¿ÉÒÔʵÏÖÃüÌ⣺
<?
pclose(popen('start notepad.exe', 'r'));
?>
¹þ£¬Ë¢Ð¼¸´ÎÒ³Ãæ ×ÀÃæð³öºÃ¶à¼Çʱ¾Å¶
ÍøÉÏ¿´µ½µÄ£¬¾õµÃ»¹¿ÉÒÔ£¬³ÏÂÀ´ÔÙ˵~~~~
Ïà¹ØÎĵµ£º
Ç°ÑÔ
ÕýÈç´ó¼ÒÒ»Ñù£¬µ±ÎÒ¾õµÃҪѧϰһÖÖеĶ«Î÷µÄʱºò£¬×ÜÊÇÓÐÒ»ÖÖ¾Þ´óµÄѹÁ¦£®Ê×ÏÈÒ»¸öÎÊÌâÊÇ£ºÊÇ·ñ¿ÉÒÔѧ»á£®ÁíÒ»¸öÎÊÌâÔòÊÇ£ºÕâ¸öеÄ֪ʶÊÇ·ñÄܹ»ÕÒµ½Ò»·Ý¹¤×÷£®Èç¹ûÄ㻹ÊÇÒ»ÃûѧÉú£¬ÄÇôÄãÓ¦¸Ã¸Ðµ½¸ßÐË£¬ÒòΪѧУÀïµÄÉú»î²»ÊÇÓÉÄã×Ô¼ºÌṩ±£Õϵģ¬ËùÒÔ²»Òª¿¼ÂÇα£ÎÊÌ⣻µ«ÊÇ×Ô´ÓѧУ³öÀ´ºó£¬²ÅÖªµÀÉú»îÊÇʲô×Ìζ ......
ÀàµÄÃüÃû
¡¡¡¡ ÔÚΪÀࣨclass £©ÃüÃûÇ°Ê×ÏÈÒªÖªµÀËüÊÇʲô¡£Èç¹ûͨ¹ýÀàÃûµÄÌṩµÄÏßË÷£¬»¹ÊÇÏë²»ÆðÕâ¸öÀàÊÇʲôµÄ»°£¬ÄÇô¾Í˵Ã÷Éè¼Æ´æÔÚÎÊÌâ¡£
¡¡¡¡³¬¹ýÈý¸ö´Ê×é³ÉµÄ»ìºÏÃûÊÇÈÝÒ×Ôì³Éϵͳ¸÷¸öʵÌå¼äµÄ»ìÏý£¬³¢ÊÔʹÓã¨CRC Se- ssion card)¿´¿´¸ÃÃüÃûËù¶ÔÓ¦µÄʵÌåÊÇ·ñÓÐ×ÅÄÇô¶àµÄ¹¦Óá£
¡¡¡¡¶ÔÓÚÅÉÉúÀàµÄÃüÃûÓ¦¸Ã±ÜÃâ´ ......
ÔÌù£ºhttp://www.haw-haw.org/node/150
ÓÃÀ´ÔÚphp³ÌÐòÀï·½±ãµÄÁ¬µ½Ô¶³ÌÖ÷»ú
Ö´ÐгÌÐò
²¢È¡»Ø½á¹û
Ê×ÏÈ£¬ÏµÍ³ÐèÒªÒѾװÓÐopensslºÍopenssl-devel°ü
rpm -qa | grep openssl
È»ºó£¬°²×°libssh2
µ±ÏÂÀ´Ô´´úÂëºó
./configure && make all install
ÔÙÈ»ºó£¬°²×°PECL/ssh2
¿ÉÒÔÓÃÃüÁîpear install ssh2
(ÑÛÇ ......
ºÜ¶àSOHOER¶¼Ï£ÍûÓиö×Ô¼ºµÄÍøÕ¾,¶ø¶ÔÍøÕ¾½¨ÉèÒ»ÎÞËùÖª,»òÕßÒ»Öª°ë½â.½ñÌìÎÒÏȽ²³ÌÐò·½ÃæµÄÇø±ð,ÏàÐźܶàÈËÅöµ½ÁËÓÐЩ¹«Ë¾Ëµphp±ÈAsp,Asp.Net¶¼ÒªºÃ,»òÕßAsp±ÈÆäËûÓïÑÔ¶¼ÒªºÃ¡£Æäʵ,³ÌÐòµÄÓÅÂÔÓëÍøÕ¾¿ª·¢ÈËÔ±µÄ¾Ñé\¼¼ÊõˮƽÏà¹Ø£¬¶øÓïÑÔ±¾Éí²¢Ã»ÓÐʲôÓÅÂÔÖ®·Ö.¾Ñé¶àµÄ³ÌÐòÔ±,²»¹ÜʹÓõÄÄ ......
ajax+asp.net+mssqlʵÏÖµÄajaxÎÞË¢ÐÂÁÄÌìÊÒ£¬Ö§³Öhtml web±à¼Æ÷¡£
ΪÁ˼ӿìËٶȣ¬Ê¹ÓÃÁË´æ´¢¹ý³Ì¡£
asp¼°php°æ±¾Çë¿´ÏÂÃæµÄÎÄÕÂ
ajax+asp+mssqlÎÞË¢ÐÂÁÄÌìÊÒ
ajax+php+mssqlÎÞË¢ÐÂÁÄÌìÊÒ
´ËÀý×ÓÒ²¿ÉÒÔ×÷Ϊmssql´æ´¢¹ý³ÌʹÓõÄʾÀý£¬Èçphpµ÷ÓÃmssqlµÄ´æ´¢¹ý³Ì£¬php»ñÈ¡mssqlÊý¾Ý¿âµÄÊä³ö²ÎÊý¡£
ҪʹÓò»Í¬µÄ¶¯Ì¬Ò³Ãæ£ ......