枚举本地远程NT系统进程[6]

[入库:2005年9月19日] [更新:2007年3月24日]

本文简介:

 strncat(RN,RemoteName,sizeof(RN)-11);

 strcat(RN,"\\ipc$");



 nr.dwType=RESOURCETYPE_ANY;

 nr.lpLocalName=NULL;

 nr.lpRemoteName=RN;

 nr.lpProvider=NULL;



 if(WNetAddConnection2(&nr,Pass,User,FALSE)==NO_ERROR)

 return 0;

 else

 return 1;

}



////////////////////////////////////////////////////////////////////////////////

void banner()

{

 printf("\nPsList ==>Local and Remote process list"

  "\nPower by ey4s"

  "\nhttp://www.ey4s.org"

  "\n2001/6/22\n");

}



////////////////////////////////////////////////////////////////////////////////



本文关键:枚举本地远程NT系统进程
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top