unicorn/bindings/python/README.TXT

37 lines
938 B
Plaintext
Raw Normal View History

This documentation explains how to install the python binding for Unicorn
from source.
2015-08-21 10:04:50 +03:00
1. Installing on Linux:
2015-08-21 10:04:50 +03:00
$ sudo python setup.py install
2015-08-21 10:04:50 +03:00
This will build the core C library, package it with the python bindings,
and install it to your system.
2015-08-21 10:04:50 +03:00
2. Installing on Windows:
2015-08-21 10:04:50 +03:00
Run the following command in command prompt:
2015-08-21 10:04:50 +03:00
C:\> C:\location_to_python\python.exe setup.py install
2015-08-21 10:04:50 +03:00
Next, copy all the DLL files from the 'Core engine for Windows' package available
on the Unicorn download page and paste it in the path:
2015-08-21 10:04:50 +03:00
C:\location_to_python\Lib\site-packages\unicorn\
2015-08-21 10:04:50 +03:00
3. Sample code
2015-08-21 10:04:50 +03:00
This directory contains some sample code to show how to use Unicorn API.
2015-08-21 10:04:50 +03:00
- sample_<arch>.py
These code show how to access architecture-specific information for each
architecture.
2015-08-21 10:04:50 +03:00
- shellcode.py
This shows how to analyze a Linux shellcode.
2015-08-21 10:04:50 +03:00
- sample_network_auditing.py
This shows how to analyze & interpret Linux shellcode.