将字符串发送到活动Windows [英] Send String To Active Windows

查看:128
本文介绍了将字符串发送到活动Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Helloo代码项目成员我有创建反键盘记录程序的想法。

基本上我有一个包含字符串的文本框,字符串是我的密码。



如何让autotype成为活动的windows应用程序?

如何在文本框中创建一个自动字符串到记事本?



i认为有可能绕过击键记录器吗?告诉我,如果错了。

最近我在这里找到了我需要的东西:

http://www.codeproject.com/Articles/18366/Sending-Keystrokes-to-另一个 - 应用程序在C中



尝试在Windows XP中100%工作..

但为什么当iam测试这个Windows 7这是不工作?任何机构都有解决方案吗?



我还在学习和业余。谢谢。

Helloo code project member i have an idea to create anti keylogger application.
Basically i have a textbox contains a string, the string is password of mine.

how to make an autotype to active windows application?
example how to make an autotype string in textbox to notepad?

i think is possible to bypass keystroke logger? tell me if iam wrong.
Recently i found what i need here :
http://www.codeproject.com/Articles/18366/Sending-Keystrokes-to-another-Application-in-C

tried in windows XP 100% working..
but why when iam tested this windows 7 this is not working? any body have a solution?

i am still learning and amateur. thank you.

推荐答案

这不是一个好的学习项目。将文本发送到其他窗口是一个你永远不应该做的黑客攻击。至于你的问题,Vista的安全性越来越严格。我敢打赌,UAC问题阻止了这个代码在Windows 7中运行。即使你能找到一个配置设置来使它工作,它仍然意味着它对大多数用户都不起作用。
This is not a good learning project. Sending text to other windows is a hack which you should never do. As for your question, security got tighter with Vista. I bet there's UAC issues that stop this code working in Windows 7. Even if you can find a config setting to make it work, it still means it won't work for most users.


这篇关于将字符串发送到活动Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆