Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
windbg_js_scripts — 玩具脚本,用于玩转 WinDbg JS API | Kitploit
工具/GitHubGitHub/hugsy/windbg_js_scripts
内存取证动态代码分析 (DAST)逆向工程调试器模糊测试二进制分析
GitHubhugsy/windbg_js_scripts

windbg_js_scripts

玩具脚本,用于玩转 WinDbg JS API

查看仓库
24440202年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

WinDbg JavaScript 脚本

作为 WinDbg 扩展库安装

  • 克隆仓库
git clone https://github.com/hugsy/windbg_js_scripts
  • 在 windbg_js_scripts\config.xml 中,编辑 Setting Name="LocalCacheRootFolder" 行,使其指向仓库的本地路径。

  • 在 WinDbg 中,加载 config.xml 文件并保存设置:

windbg> .settings load \path\to\windbg_js_scripts\config.xml
[...]\windbg_js_scripts\config.xml has been loaded successfully.
windbg> .settings save
Settings have been saved.

每次 WinDbg 加载时,这些库都会加载到 Debugger.State.ExtensionGallery.ExtensionRepositories 下:

kd> dx -r1 Debugger.State.ExtensionGallery.ExtensionRepositories
Debugger.State.ExtensionGallery.ExtensionRepositories
    [0x0]            : UserExtensions
    [0x1]            : hugsysgallery
    [0x2]            : overgallery
    [0x3]            : LocalInstalled

当前会话中可用的脚本也可以列出来:

kd> dx -r1 Debugger.State.ExtensionGallery.ExtensionRepositories.Where( x => x.Name == "hugsysgallery" ).First().Packages
Debugger.State.ExtensionGallery.ExtensionRepositories.Where( x => x.Name == "hugsysgallery" ).First().Packages
    [0x0]            : EnumCallbacks
    [0x1]            : GetIdtGdt
    [0x2]            : BreakOnProcessCreate
    [0x3]            : DumpLookasides
    [0x4]            : GetSsdtTable
    [0x5]            : BigPool
    [0x6]            : PageExplorer
    [0x7]            : VadExplorer
    [0x8]            : ObjectExplorer
    [0x9]            : RegistryExplorer
    [0xa]            : GetSiloMonitors
    [0xb]            : EnumApc
    [0xc]            : EnvVars
    [0xd]            : EnumImages
    [0xe]            : CallGraph
    [0xf]            : TraceFunctions
    [0x10]           : CyclicPattern

相关链接

  • https://github.com/hugsy/defcon_27_windbg_workshop/blob/master/windbg_cheatsheet.md
  • https://doar-e.github.io/blog/2017/12/01/debugger-data-model
  • https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/javascript-debugger-example-scripts
  • https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/native-objects-in-javascript-extensions
  • https://twitter.com/windbgtips
  • https://medium.com/@yardenshafir2/windbg-the-fun-way-part-1-2e4978791f9b
下载工具