Prebuild here
http://www.techbliss.org/threads/ida-pro-prebuild-pyqt4-ida-pro_pyqt5-regular-python-2-7x86.683/
if you wanna read and learn continue reading
Python in ida pro, have greater power than you might think.
If set up right, the python plugins, can make your life whole lot easyer.
Her is my little tut.
1)
After installing
2)
Now we need to set the right varible path in window 7
3)
4)
In the top Cullom make an new variable
5)
Then again in top cullom, make new variable
6)
Okay done so far.
Now we go, and fire ida up.
When it ask just press go.
Then in the buttom, there is an cullom called Python.
In that cullom type.
then you get an huge list off Python modules you can use in ida.
7)
Now we gonna test if Pyside is Working.
in ida >>>>>>run ida script
then run testpyside.idc found in buttom here.
We then get get an error bad preprocesser error, so not installed.
8)
install PySide
http://releases.qt-project.org/pyside/PySide-1.1.2.win32-py2.7.exe
While at it, install PyQT also.
http://www.riverbankcomputing.co.uk/software/pyqt/download
Also we might need this pysqlite2 DB-API 2.0 interface for SQLite databases
http://pysqlite.googlecode.com/files/pysqlite-2.6.3.win32-py2.7.exe
9)
After installing
Download the Patch, that i made For idapro 61_Pyside27.
http://www.putlocker.com/file/00D7CA10883B0619
Fire up Ida again
in the cullom in the buttom .
Type
10)
okay we got the folder where PySide is installed
C:\Python27\lib\site-packages\PySide\
we extract the file from 9) and overwrite the files there.
Take an backup in case.
now we run the testpyside.idc again
This time it should work.
Also we test with the exampels scripts from section 2).
There are two we wanna test.
ex_pyqt.py
and
ex_pyside.py.
You get an response with an hello. if they are working.
We gonna test if sqlite3 module function proberly, especially if using 64 bit windows something is screwed.
Download the MyNav plugin for ida, then try to run it.
http://mynav.googlecode.com/files/mynav-1.1.tar.gz
Run mynav.py
lot off plugins should pop up under edit >>>> plugin menu in ida
If you get an error, about sqlite3 dll not found.
you have to install pysqlite2 from section 8)
then in the mynav.py change.
to
we use the sqlite3 module from pysqlite2 insteed.
then it should work.
All done we can try some extra cookies.
get this
http://www.putlocker.com/file/5CFCA209F42F9F27
extract in C:\Python27\Lib\site-packages
then this in ida/idc folder.
http://www.putlocker.com/file/BF7D0023D26304C4
try the plugins, they are great.
The highlight calls work on exe/elf and many more.
and the colorchanger is cool too.
Thats all folks.
ask if any trouble.
http://www.techbliss.org/threads/ida-pro-prebuild-pyqt4-ida-pro_pyqt5-regular-python-2-7x86.683/
if you wanna read and learn continue reading
Python in ida pro, have greater power than you might think.
If set up right, the python plugins, can make your life whole lot easyer.
Her is my little tut.
1)
This guide aim on ida 6.1 and Python 2.7
First install Python 2.7
Note use x86(32bit) version
Either from here
http://www.python.org/ftp/python/2.7.3/
or front page
http://www.python.org/
After installing
2)
install the ida pro 6.1 python 2.7 module from google code site.
http://idapython.googlecode.com/files/idapython-1.5.2_ida6.1_py2.7_win32.zip
Extract the files in the archive, to the right folders, in ida pro folder.
and the python.cfg goes in the cfg folder in ida
Now we need to set the right varible path in window 7
3)
- From the desktop, right-click My Computer and click Properties.
- In the System Properties window, click on the Advanced tab.
- In the Advanced section, click the Environment Variables button.
- Finally, in the Environment Variables window (as shown below), highlight the Path variable in the Systems Variable section and click the Edit button. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.
4)
In the top Cullom make an new variable
Variable name
Press okPYTHONHOME
variablevalue
C:\Python27
5)
Then again in top cullom, make new variable
Variable name
LIB
variablevalue
C:\Python27\lib
6)
Okay done so far.
Now we go, and fire ida up.
When it ask just press go.
Then in the buttom, there is an cullom called Python.
In that cullom type.
Code:
help ("modules")
then you get an huge list off Python modules you can use in ida.
7)
Now we gonna test if Pyside is Working.
in ida >>>>>>run ida script
then run testpyside.idc found in buttom here.
We then get get an error bad preprocesser error, so not installed.
8)
install PySide
http://releases.qt-project.org/pyside/PySide-1.1.2.win32-py2.7.exe
While at it, install PyQT also.
http://www.riverbankcomputing.co.uk/software/pyqt/download
Also we might need this pysqlite2 DB-API 2.0 interface for SQLite databases
http://pysqlite.googlecode.com/files/pysqlite-2.6.3.win32-py2.7.exe
9)
After installing
Download the Patch, that i made For idapro 61_Pyside27.
http://www.putlocker.com/file/00D7CA10883B0619
Fire up Ida again
in the cullom in the buttom .
Type
Code:
help ("modules")
Python>import PySide
Python>print PySide
<module 'PySide' from 'C:\Python27\lib\site-packages\PySide\__init__.pyc'>
10)
okay we got the folder where PySide is installed
C:\Python27\lib\site-packages\PySide\
we extract the file from 9) and overwrite the files there.
Take an backup in case.
now we run the testpyside.idc again
This time it should work.
Also we test with the exampels scripts from section 2).
There are two we wanna test.
ex_pyqt.py
and
ex_pyside.py.
You get an response with an hello. if they are working.
We gonna test if sqlite3 module function proberly, especially if using 64 bit windows something is screwed.
Download the MyNav plugin for ida, then try to run it.
http://mynav.googlecode.com/files/mynav-1.1.tar.gz
Run mynav.py
lot off plugins should pop up under edit >>>> plugin menu in ida
If you get an error, about sqlite3 dll not found.
you have to install pysqlite2 from section 8)
then in the mynav.py change.
Python:
import os
import sys
import time
import random
import sqlite3
to
Python:
import os
import sys
import time
import random
import pysqlite2
from pysqlite2 import dbapi2 as sqlite3
we use the sqlite3 module from pysqlite2 insteed.
then it should work.
All done we can try some extra cookies.
get this
http://www.putlocker.com/file/5CFCA209F42F9F27
extract in C:\Python27\Lib\site-packages
then this in ida/idc folder.
http://www.putlocker.com/file/BF7D0023D26304C4
try the plugins, they are great.
The highlight calls work on exe/elf and many more.
and the colorchanger is cool too.
Thats all folks.
ask if any trouble.
Attachments
Last edited: