2016-12-04 20:46:52 +07:00
..
2016-12-04 20:46:52 +07:00
2015-08-28 21:05:38 -07:00
2016-11-06 16:27:24 -08:00
2016-11-06 16:27:24 -08:00
2016-11-06 16:27:24 -08:00
2016-11-06 16:27:24 -08:00
2016-11-11 07:45:06 -08:00
2016-12-04 18:18:24 +08:00
2016-11-11 07:45:06 -08:00

This documentation explains how to install the python binding for Unicorn
from source.

1. Installing on Linux:

	$ sudo python setup.py install

	This will build the core C library, package it with the python bindings, 
	and install it to your system.


2. Installing on Windows:

	Run the following command in command prompt:

		C:\> C:\location_to_python\python.exe setup.py install

	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:

		C:\location_to_python\Lib\site-packages\unicorn\


3. Sample code

	This directory contains some sample code to show how to use Unicorn API.

	- sample_<arch>.py
	  These code show how to access architecture-specific information for each
	  architecture.

	- shellcode.py
	  This shows how to analyze a Linux shellcode.

	- sample_network_auditing.py
	  This shows how to analyze & interpret Linux shellcode.