输出窗口可执行api动作来赢取形式? [英] Output windows executable api actions to win form?

查看:58
本文介绍了输出窗口可执行api动作来赢取形式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好..我很想知道如何将Windows可执行文件的api调用输出到文本框或赢取表单控件。



这里是一个沙盒分析器输出的一点是我正在寻找的输出类型



Hello.. I am interested to know how its possible to output the api calls of a windows executable to a textbox or win forms control.

here is a bit of output from a sandbox analyzer which is the type of output I am looking for

Executing: C:\Program Files (x86)\TeamViewer\Version8\TeamViewer.exe
VirtualAllocEx(C:\Program Files (x86)\TeamViewer\Version8\TeamViewer.exe, MEM_COMMIT MEM_RESERVE MEM_TOP_DOWN, PAGE_READWRITE, RegionSize=0x000C2000) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(AVICAP32.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(WINMM.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(VERSION.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(MSVFW32.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(SHELL32.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(SHLWAPI.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(COMCTL32.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(WINSPOOL.DRV) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(COMDLG32.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(WS2_32.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(NSI.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(MSWSOCK.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(MSIMG32.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(MPR.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(NETAPI32.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(netutils.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(srvcli.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(wkscli.dll) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(BROWCLI.DLL) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(SCHEDCLI.DLL) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]
LoadLibrary(SAMCLI.DLL) [c:\program files (x86)\teamviewer\version8\teamviewer.exe]





我知道我的问题是有点模糊但是我想学习如何在vb.net中实现这个输出





提前谢谢..



I know my question is a bit vague but I am wanting to learn how to achieve this output in vb.net


thank you in advance..

推荐答案

看看

Microsoft研究:Detours [ ^ ]

你可以拦截感兴趣的API调用并添加代码将日志输出放到TextBox中,或者你想记录它们。

我们用它来注入/测试除了使用它的参数记录调用之外,调用的特定失败。
Take a look at
Microsoft Research: Detours[^]
You could intercept the API calls of interest and add code to put the log output to your TextBox or however you want to log them.
We used this for injecting/testing specific failures to the calls in addition to logging the call with it''s arguments.


这篇关于输出窗口可执行api动作来赢取形式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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