联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Three Ways to Inject Your Code into Anot - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • FCK editor
  • GLgraph
  • Async Professional
  • -= 更多 =-

    项目描述:
    Several password spy tutorials have been posted to CodeGuru, but all of them rely on Windows hooks. Is there any other way to make such a utility?
    To "read" the contents of any control—either belonging to your application or not—you generally send the WM_GETTEXT message to it. This also applies to edit controls, except in one special case. If the edit control belongs to another process and the ES_PASSWORD style is set, this approach fails. Only the process that "owns" the password control can get its contents via WM_GETTEXT. So, our problem reduces to the following: How to get

    ::SendMessage( hPwdEdit, WM_GETTEXT, nMaxChars, psBuffer );
    executed in the address space of another process.

    在CodeGuru上有几个password 检测程序,但都使用了Windows hook。有其它办法吗?
    要想“读”出任意控件的内容-或者属于你的应用程序,或者不属于-你通常向它发送WM_GETTEXT消息。这也可以应用于编辑框,除了一种特殊情况。如果编辑框属于另一个进程,且设置为ES_PASSWORD风格,这种方法会失败。只有拥有密码控件的进程才可以通过WM_GETTEXT得到它的内容。所以我们的问题转换为:如何让::SendMessage( hPwdEdit, WM_GETTEXT, nMaxChars, psBuffer );在另一个进程的地址空间中执行?
    来源: http://www.codeguru.com/system/winspy.html
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    winspy_package  1.0  2004-03-29 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/system/winspy_package.zip

      » 合 作 伙 伴