Comments (9)
@aquynh I tried latest master keypatch.py on IDA 7.4 with python3:
/Applications/IDA Pro 7.4/ida64.app/Contents/MacOS/plugins/keypatch.py: invalid syntax (keypatch.py, line 131)
Traceback (most recent call last):
File "/Applications/IDA Pro 7.4/ida64.app/Contents/MacOS/python/3/ida_idaapi.py", line 589, in IDAPython_ExecScript
code = compile(fin.read(), script, 'exec')
File "/Applications/IDA Pro 7.4/ida64.app/Contents/MacOS/plugins/keypatch.py", line 131
except HTTPError, e:
^
SyntaxError: invalid syntax
it seems not supported yet.
from keypatch.
+1. Since py2.7 is deprecating soon, I hope keypatch could support Python 3
from keypatch.
The latest code in github should work in Python3
from keypatch.
Updating the exception handlers was easy enough, but you manually have to install keystone, which then fails to include some IDC functions, presumably because they aren't in the API anymore. Didn't look into this further.
from keypatch.
Looking forward to
from keypatch.
@aquynh I tried latest master keypatch.py on IDA 7.4 with python3:
/Applications/IDA Pro 7.4/ida64.app/Contents/MacOS/plugins/keypatch.py: invalid syntax (keypatch.py, line 131) Traceback (most recent call last): File "/Applications/IDA Pro 7.4/ida64.app/Contents/MacOS/python/3/ida_idaapi.py", line 589, in IDAPython_ExecScript code = compile(fin.read(), script, 'exec') File "/Applications/IDA Pro 7.4/ida64.app/Contents/MacOS/plugins/keypatch.py", line 131 except HTTPError, e: ^ SyntaxError: invalid syntax
it seems not supported yet.
@aquynh I tried latest master keypatch.py on IDA 7.4 with python3:
/Applications/IDA Pro 7.4/ida64.app/Contents/MacOS/plugins/keypatch.py: invalid syntax (keypatch.py, line 131) Traceback (most recent call last): File "/Applications/IDA Pro 7.4/ida64.app/Contents/MacOS/python/3/ida_idaapi.py", line 589, in IDAPython_ExecScript code = compile(fin.read(), script, 'exec') File "/Applications/IDA Pro 7.4/ida64.app/Contents/MacOS/plugins/keypatch.py", line 131 except HTTPError, e: ^ SyntaxError: invalid syntax
it seems not supported yet.
Is it solved?
from keypatch.
from keypatch.
this exception code is adapt to python 2.x, you only to update relevant exception code
from keypatch.
from keypatch.
Related Issues (20)
- What's the proper way to export the patched idb by keypatch into a binary?
- IDA7.0 on Win10 HOT 1
- keypatch failure
- When the base address is relatively large, the transfer instruction will fail to assemble
- LDR instruction on the issue of the ARM architecture
- keypatch.py does not support Keystone-v0.9.2 HOT 4
- failed while executing plugin
- IDA 7.5 Issue HOT 1
- name 'KS_ARCH_X86' is not defined HOT 2
- Keypatch Syntax Error: Invalid Syntax. Line 97. On IDA Pro 7.5 SP3(Version 7.5.201028) HOT 4
- keypatch plugin doesn't work HOT 1
- da_idaapi.py", line 616, in IDAPython_ExecScript exec(code, g) HOT 6
- error on ida 7.5
- Wrong assembly size causing next instructions to become nop HOT 1
- How to assemble instruction like "mov x0, <VariableValue>" ?
- Lockup with high CPU load on malformed input
- keypatch not working in ida version 7.6 can u update it +1
- turn auto-open next instruction off?
- keypatch found invalid assembly
- Unable to generate 32-bit arm assembly hexadecimal bytecode correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keypatch.