如何在 fiddler JScript.NET 函数中执行 PInvoke?
Fiddler 使用 .NET JScript 语言 用于脚本编写。调用 .NET 方法和启动 .NET 类很容易,但我不知道如何用属性来装饰事物,因此我不知道如何 PInvoke。
Fiddler uses the .NET JScript language for scripting. Invoking .NET methods and initiating .NET classes is easy, but I can't figure out how to decorate things with attributes, and therefore I don't know how to PInvoke.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认的 FiddlerScript 显示一些示例属性(例如 ToolsOptions、RulesOption 等都是属性)。
但是,如果您要调用 PInvoke,您可能希望完全跳过脚本引擎并使用 C# 或其他更丰富的托管语言编写扩展。请参阅http://www.fiddler2.com/fiddler/dev/IFiddlerExtension.asp 了解更多信息。
The default FiddlerScript shows a few sample attributes (e.g. ToolsOptions, RulesOption, etc are all attributes).
But if you're to the point where you're calling PInvoke, you probably want to skip the script engine entirely and write your extension in C# or another richer managed language. See http://www.fiddler2.com/fiddler/dev/IFiddlerExtension.asp for more information.