Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¹ÜµÀÖÐÊäÈëCtrl+CµÄÎÊÌâÇó½Ì

ÎÒÔÚ³ÌÐòÖÐÓÃCreatePipe´´½¨ÁËÒ»¸ö¹ÜµÀ£¬ÓÃËüºÍÃüÁîÐÐcmd.exeÀ´¹ØÁª¡£

ÏÖÔÚÎÒWriteFileÀ´Ïò¹ÜµÀдÈë ping 192.168.0.1 -t À´Æô¶¯ping²âÊÔ£¬ÇëÎÊÎÒÈçºÎÍ£Ö¹Õâ¸öping£¿ ÎÒÏëÏò¹ÜµÀÄÚд

Ctrl+CÀ´ÊµÏÖ£¬µ«²»ÖªµÀÕâ¸ö×Ö·û´®¸ÃÈçºÎ×éÖ¯£¿  Èç¹ûÓÃkillµÄ»°»áÁ¬Í¬cmd¶¼Ò»ÆðÍ£µôÁË£¬ÎÒÖ»ÏëÍ£µôping¡£

лл
ÊÔÊÔ·¢Ò»¸ö"\x03"


strcpy(WriteBuf,"\x03");
WriteFile(h_Write,WriteBuf,strlen(WriteBuf),&nWrite,NULL);

ÍøÂç×¥°ü¿´ÈÔÈ»ÔÚÏòÍâ·¢ping°ü

µÈÁËÒ»¸ö¹úÇ춼ûÈ˻ظ´£¿

Ïòping½ø³Ì·¢ËÍɱËÀ½ø³ÌµÄÏûÏ¢£¬consoleÏÂÃæctrl_cʵÖÊÉÏÒ²ÊÇÏòconsoleǰ̨ÔËÐеijÌÐò·¢ËÍÏûÏ¢

To pcboyxhy£º
ÎÒÊÇͨ¹ýÔÚCMDµÄPipeÖÐдÈëÁËpingÃüÁîÆô¶¯µÄping½ø³Ì£¬ÕâʱÎÒûÓÐÈκιØÓÚ¸Ãping½ø³ÌµÄÐÅÏ¢£¬¸ÃÈçºÎ
¡°Ïòping½ø³Ì·¢ËÍɱËÀ½ø³ÌµÄÏûÏ¢¡±£¿ ½ø³Ì¹ÜÀíÆ÷ÖÐÒ²ÓÐÆäËû·½Ê½Æô¶¯µÄping½ø³Ì¡£
ÓÉÓÚÎÒ»¹ÐèҪʹÓøÃCMDµÄPipeÀ´ÁÙʱÆô¶¯ÆäËû½ø³Ì£¬Òò´Ë²»ÏëΪÿ¸ö´ýÆô¶¯½ø³Ì¶¼´´½¨Ò»¸öPIpe£¬¶øÊÇÏ£ÍûʹÓÃÒ»¸öCMDµÄPipeÀ´Æô¶¯/Í£Ö¹ ¡£
Ö±½ÓÔËÐÐCMDºóÊäÈëping È»ºóÔÙÊäÈëCtrl+CÊÇ¿ÉÒÔÍ£Ö¹µÄ£¬²»ÖªµÀΪʲôͨ¹ýPipeÀ´Æô¶¯¾Í²»ÐÐÁË¡£

ͨ¹ýpipeÆô¶¯Ê±£¬·¢ËÍctrl_cµ±È»²»ÐÐÁË£¬ÒòΪcmd.exeûÓз¢ËÍctrl_c£¬È˼ҷ¢µÄÊÇÏûÏ¢¡£
cmd.exeÊÇÄãµÄ×Ó½ø³Ì£¬pingÊÇcmd.exeµÄ×Ó½ø³Ì£¬Äã¿ÉÒÔÖ»kill×Ô¼ºµÄËï½ø³Ì
linuxÖУ¬ºÜÈÝÒ×È¡µÃÒ»¸ö½ø³ÌµÄËùÓÐ×ÓËï½ø³ÌµÄpid£¬windowsÉÏö¾Ù×Ó½ø³Ì²»Ì«·½±ã
ËùÒÔ½¨ÒéÄã²»Òªµ÷ÓÃcmd.exe£¬Ö±½ÓÆô¶¯ping.exe£¬»á¸ü¼Ó·½±ãЩ

ÕâÑù¿´À´³ÌÐò¸Ä¶¯´óÁË£¬Éè¼Æ¿ò¼Ü¶¼µÃ¸Ä±äÁË¡£
ÎÒÔ­¼Æ»®ÊÇ´´½¨Ò»¸öPIpeµ½CMD£¬Í¨¹


Ïà¹ØÎÊ´ð£º

c»ù´¡

#include <string.h>
#include <stdio.h>

void main()
{
int i;
char buf[]="abcde";
strncpy(buf,"abc",3);
for(i=0;i <5;i++)
printf(&q ......

ftpÉÏ´«ÏÂÔØcÎļþ·½Ê½

ÔÚueÖдÓÔ¶³ÌunixÓöþ½øÖÆ·½Ê½ÏÂÔØcÎļþµ½±¾µØ£¬ÐÞ¸ÄÖ®ºóÓöþ½øÖÆ·½Ê½ÉÏ´«µ½unixÖУ¬ÔÙÓÃvi´ò¿ª¸ÃÎļþ£¬Ã¿ÐкóÃæ¾Í»áÓÐÒ»¸ö^MµÄ»»Ðзû£¬Èç¹û²ÉÓÃascii·½Ê½ÏÂÔØ£¬¶þ½øÖÆ·½Ê½ÉÏ´«µÄ»°¾ÍûÓÐ^M£¬ÄÇÇëÎÊÕâÑù»á¶Ô³ÌÐòÎļþ ......

Çó½ÌCÕâ¶ÎÓïÑÔ´úÂë×÷ÓÃ

DWORD dwMagic;
DWORD i;
BYTE dwCode;
DWORD dwAddr;

dwStartMap = SH->VirtualAddress + (DWORD)MapOfFile;//¶ÎÏÖÔÚÊ×µØÖ·
dwEndMap  = SH->Misc.VirtualSize + dwStartMap;//¶ÎÏÖ ......

ÈçºÎÓÃcʵÏÖ×Ô¶¯µÄtelnet¹¦ÄÜ

ÈçºÎÓÃcʵÏÖ×Ô¶¯µÄtelnet¹¦ÄÜ,ÓÐË­ÖªµÀÔõôÓÃcÓïÑÔÀ´ÊµÏÖ¡£ÎÊÌâÖ÷ÒªÊÇtelnetµÄÓû§Ãû£¬ÃÜÂëÒª½»»¥Ê½µÄÊäÈ룬ÔõôÄܹ»ÓóÌÐòʵÏÖ°¡£¬¸ßÊÖÖ¸½Ì°¡
ÎÒÓÐÔ´Âë ÄãÒªµÄ»° ÁôÏÂÓÊÏä

flynecnt@qq.com ллÁË

liuzhizu1 ......

CÖ¸ÕëÎÊÌâ

º¯ÊýÊÇ ÓÃlistdelete()·µ»Øe Èç¹ûtype *e²»¼ÓNULL ÔòÌáʾÏÈʹÓà ¼ÓÁ˺óΪʲôÔÚ½á¹ûºó»¹ÓÐÒ»¸öNULL pointer assignment  ÔõôÈÃËü²»¾¯¸æ ½á¹ûÒ²²»ÏÔʾNULL pointer assignment£¿

void main(){
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ