Installing mona.py for WinDbg

Source: Internet
Author: User


The links covered in the article have been shared as follows:
    • mona.py Click here
    • PYKD Click here
    • windbglib.py Click here
Install
    1. Install Python
    2. Install PYKD, unzip after download is complete, select the corresponding operating system, installvcredist_x86.exe. After execution, it will bepykd.pydplaced under the folder under the WinDbg installation directorywinext.
    3. Open cmd, switch toC:\Program Files\Common Files\Microsoft Shared\VC,Execute registration commandregsvr32 msdia90.dllsystem will pop window display success.

    4. will bewindbglib.py和mona.pyplaced in the root directory of the WinDbg file.


At this point, the installation operation has been completed.


Usage


First Test if the installation was successful
To use Mona, you must do it first.load pykd.pyd, and WinDbg does not have feedback after this operation is complete.


. Load Pykd.pyd
Then execute the!py mona.py


0:000>. Load Pykd.pyd
0:000>!py Mona
Hold on ...
[+] Command used:
!py mona.py
' Mona '-Exploit development Swiss Army knife-windbg (32bit)
Plugin version:2.0 r557
PYKD version 0.2.0.29
Written by corelan-https://www.corelan.be
Project Page:https://github.com/corelan/mona


|------------------------------------------------------------------|
|        _ __ ___    ___   _ __    __ _     _ __   _   _           |
|       | ‘_ ` _ \  / _ \ | ‘_ \  / _` |   | ‘_ \ | | | |          |
|       | | | | | || (_) || | | || (_| | _ | |_) || |_| |          |
|       |_| |_| |_| \___/ |_| |_| \__,_|(_)| .__/  \__, |          |
|                                          |_|     |___/           |
|                                                                  |
|------------------------------------------------------------------|


Because csdn do not know why upload pictures, so far here.


by the


Three effects of files:
In order for WinDbg to support Python (Mona Python), you need to install PYKD, because Mona uses Pycommand to write, Immlib is used, so windbglib.py support is required.



When you use it,!py mona + command you can. Help is very detailed, casually turn over.



Finally send the most official installation instructions, mainly written too cumbersome (the starting point is of course good) install Mona for WinDbg



Installing mona.py for WinDbg


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.