How to install immlib module in python?

让人想犯罪 __ 提交于 2019-12-13 06:43:50

问题


I have Python 2.7 installed on my windows machine. I've downloaded and installed Immunity Debugger. But when I try to import immlib or immutils module in python, it says no such module. How to install these modules? Using pip, it says no such repository. Please help.


回答1:


It goes with Immunity Debugger. Install immunity debugger and your immlib.py will be there.




回答2:


  • Type "system settings" in the cortana/start bar search box
  • Click "View Advanced System Settings
  • In the Advanced tab in the bottom right corner click "Environment Variables"
  • Create a new variable named "PYTHONPATH"
  • Add these two directories to the PYTHONPATH variable:

  • "C:\Program Files (x86)\Immunity Inc\Immunity Debugger"

  • "C:\Program Files (x86)\Immunity Inc\Immunity Debugger\Libs"



回答3:


I am a Python and Immunity Debugger newbie, and to make the answer by @ArturKorobeynyk more crystal clear, what I had to do was:

import sys
sys.path.append('C:/Program Files (x86)/Immunity Inc/Immunity Debugger')
sys.path.append('C:/Program Files (x86)/Immunity Inc/Immunity Debugger/Libs')

import immlib


来源:https://stackoverflow.com/questions/33439189/how-to-install-immlib-module-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!