使用NSPLookupServiceBegin的本地DNS截取例程

上传者: huyongzsre | 上传时间: 2021-08-18 15:23:29 | 文件大小: 6.88MB | 文件类型: RAR
使用VS2012创建的工程。这是我的一个写着玩玩的代码,使用NSP截取windows机器的DNS查询,主要是拦截NSPStartup/NSPLookupServiceBegin,需要使用DebugView这个微软提供的工具才能看到输出结果,win7下通过测试.将会在机器内安装SPI接口。本例程提供安装和卸载工具nspinstall,并有代码可自己编译。只在本人机器上试过。应该没问题。可能导致不能上网。重启试试。不行就修复LSP吧。

文件下载

资源详情

[{"title":"( 92 个子文件 6.88MB ) 使用NSPLookupServiceBegin的本地DNS截取例程","children":[{"title":"myNSPProject01","children":[{"title":"myNSPProject01","children":[{"title":"myNSPProject01.vcxproj <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"printobj.cpp <span style='color:#111;'> 6.17KB </span>","children":null,"spread":false},{"title":"mynsp.cpp <span style='color:#111;'> 21.08KB </span>","children":null,"spread":false},{"title":"myNSPProject01.vcxproj.user <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"nspsvc.h <span style='color:#111;'> 861B </span>","children":null,"spread":false},{"title":"nspsvc.cpp <span style='color:#111;'> 12.98KB </span>","children":null,"spread":false},{"title":"mynsp.h <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"mynsp.def <span style='color:#111;'> 134B </span>","children":null,"spread":false},{"title":"myNSPProject01.vcxproj.filters <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc110.idb <span style='color:#111;'> 667.00KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 52.22KB </span>","children":null,"spread":false},{"title":"mynsp.obj <span style='color:#111;'> 52.92KB </span>","children":null,"spread":false},{"title":"link.42228-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"myNSPProject01.log <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"link.42228-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mynsp.Build.CppClean.log <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"link.18356-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.18356-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"nspsvc.obj <span style='color:#111;'> 35.25KB </span>","children":null,"spread":false},{"title":"mynsp.lastbuildstate <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"link.42228-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"printobj.obj <span style='color:#111;'> 40.64KB </span>","children":null,"spread":false},{"title":"link-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mynsp.write.1.tlog <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"link-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"vc110.pdb <span style='color:#111;'> 156.00KB </span>","children":null,"spread":false},{"title":"link.42228.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.18356-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.18356.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.18356.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.18356-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.42228.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.42228-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false}],"spread":false},{"title":"printobj.h <span style='color:#111;'> 337B </span>","children":null,"spread":false}],"spread":false},{"title":"myNSPProject01.v11.suo <span style='color:#111;'> 44.50KB </span>","children":null,"spread":false},{"title":"myNSPProject01.sdf <span style='color:#111;'> 29.94MB </span>","children":null,"spread":false},{"title":"myNSPProject01.sln <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"nspinstall","children":[{"title":"printobj.cpp <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"nspinstall.vcxproj <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"nspinstall.cpp <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"nspguid.cpp <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"nspsvc.h <span style='color:#111;'> 861B </span>","children":null,"spread":false},{"title":"nspsvc.cpp <span style='color:#111;'> 12.98KB </span>","children":null,"spread":false},{"title":"mynsp.h <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc110.idb <span style='color:#111;'> 675.00KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"link.19176-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 85.73KB </span>","children":null,"spread":false},{"title":"mynsp.obj <span style='color:#111;'> 46.03KB </span>","children":null,"spread":false},{"title":"nspinstall.lastbuildstate <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"link.19176.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.19176-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"nspinstall.log <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"link.21556.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"nspsvc.obj <span style='color:#111;'> 35.20KB </span>","children":null,"spread":false},{"title":"link.19176.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"nspinstall.obj <span style='color:#111;'> 33.52KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 754B </span>","children":null,"spread":false},{"title":"link.21556.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"printobj.obj <span style='color:#111;'> 38.54KB </span>","children":null,"spread":false},{"title":"link.19176-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"link.19176-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"vc110.pdb <span style='color:#111;'> 156.00KB </span>","children":null,"spread":false},{"title":"link.21556-rc.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.21556-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"nspguid.obj <span style='color:#111;'> 24.14KB </span>","children":null,"spread":false},{"title":"link.21556-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.21556-rc.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false}],"spread":false},{"title":"printobj.h <span style='color:#111;'> 241B </span>","children":null,"spread":false},{"title":"nspinstall.vcxproj.filters <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"mynsp.dll <span style='color:#111;'> 44.00KB </span>","children":null,"spread":false},{"title":"mynsp.pdb <span style='color:#111;'> 459.00KB </span>","children":null,"spread":false},{"title":"nspinstall.exe <span style='color:#111;'> 40.50KB </span>","children":null,"spread":false},{"title":"mynsp.exp <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"mynsp.lib <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"mynsp.ilk <span style='color:#111;'> 235.68KB </span>","children":null,"spread":false},{"title":"nspinstall.pdb <span style='color:#111;'> 483.00KB </span>","children":null,"spread":false},{"title":"nspinstall.ilk <span style='color:#111;'> 269.92KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • chinese963 :
    在别的地方下载到一份一摸一样的,不知道谁写的。 不过都是基于windows网络编写的例子,小小改的,这份代码有点问题,不太建议直接用
    2018-07-09
  • vmprotect :
    这不像自己写的代码?
    2017-04-21
  • sunchan1120 :
    很好,可以做为参考。
    2016-12-01
  • lei006 :
    不行,感觉不能用!
    2016-05-13
  • blodes :
    可以参考一下.
    2016-04-12

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明