簡體   English   中英

我想查看使用python掛接到任何進程的dll。 pdb有可能嗎?

[英]I want to see the dlls that are hooked to any process using python. Is it possible by pdb?

我想查看使用python掛接到任何進程的dll。 pdb有可能嗎?

有什么方法可以附加到進程或從python調試器打開進程並查看鈎住的dll嗎?

我相信您無法使用pdb做到這一點。 您可以改用pydbg。 這是一個示例代碼

import pydbg
from pydbg.defines import *
dbg = pydbg.pydbg()
dbg.attach(pid)
for modules in dbg.enumerate_modules():
   print modules
dbg.run()

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM