Comments (9)
I think there are two possibilities. One is that your IDAPython setting is 2.x. The disassemble python script of Kam1n0 only support Python 3. The other is that your IDAPython is not working, It seems the IDAPython 3 in IDA Pro works only with Python.org distribution and the version should be 3.7.x. If you use Anaconda distribution, IDAPython wouldn't work.
from kam1n0-community.
I think there are two possibilities. One is that your IDAPython setting is 2.x. The disassemble python script of Kam1n0 only support Python 3. The other is that your IDAPython is not working, It seems the IDAPython 3 in IDA Pro works only with Python.org distribution and the version should be 3.7.x. If you use Anaconda distribution, IDAPython wouldn't work.
Hi,
We have changed the IDAPython setting to 3 and it is currently pointing to python3.7 of Python.org distribution. However, we are facing the same issue.
Regarding the IDAPlugin, we have unzipped the attached Kam1n0-IDAPlugin.tar.xz and moved the contents of ida-plugin directory (Kam1n0 directory and Kam1n0.py) to path_to_ida_pro/plugins/ directory. Is this right procedure to do?
How do we ensure if ida-plugin is successfully installed?
from kam1n0-community.
Hi,
I am also facing the same issue while indexing the files. This walk-through asks to copy the link address. Should this be pasted somewhere? Does this have something to do with the indexing step?
from kam1n0-community.
@suryadesu @svkeerthy For me to see the problem of fail to disassemble, please find the script ExtractBinaryViaIDA.py from the Kam1n0 source code folder, and put an executable such as a.dll to the path. Then, run the command:
idat64 -A -SExtractBinaryViaIDA.py -Llog.txt a.dll in that path. And show me the content of log.txt.
@suryadesu Regarding the IDAPlugin, we have unzipped the attached Kam1n0-IDAPlugin.tar.xz and moved the contents of ida-plugin directory (Kam1n0 directory and Kam1n0.py) to path_to_ida_pro/plugins/ directory. Is this right procedure to do?
How do we ensure if ida-plugin is successfully installed?
The procedure is correct. If you use windows, it is better to build the installer using Kam1n0-Community/kam1n0-builds/windows/build-installers.bat and install the plugin with it.
If IDA Pro Plugin is correctly installed, when you launch IDA Pro and disassemble a file, you will see the following information in the output window:
Kam1n0: initializing Kam1n0 IDA-pro plugin ...
Kam1n0: Completed initialization.
--I am also facing the same issue while indexing the files. This walk-through asks to copy the link address. Should this be pasted somewhere? Does this have something to do with the indexing step?
@svkeerthy This is not relevant. Kam1n0 Server does not require Kam1n0 IDA Pro Plugin to be installed.
from kam1n0-community.
@suryadesu @svkeerthy For me to see the problem of fail to disassemble, please find the script ExtractBinaryViaIDA.py from the Kam1n0 source code folder, and put an executable such as a.dll to the path. Then, run the command:
idat64 -A -SExtractBinaryViaIDA.py -Llog.txt a.dll in that path. And show me the content of log.txt.@suryadesu Regarding the IDAPlugin, we have unzipped the attached Kam1n0-IDAPlugin.tar.xz and moved the contents of ida-plugin directory (Kam1n0 directory and Kam1n0.py) to path_to_ida_pro/plugins/ directory. Is this right procedure to do?
How do we ensure if ida-plugin is successfully installed?
The procedure is correct. If you use windows, it is better to build the installer using Kam1n0-Community/kam1n0-builds/windows/build-installers.bat and install the plugin with it.
If IDA Pro Plugin is correctly installed, when you launch IDA Pro and disassemble a file, you will see the following information in the output window:
Kam1n0: initializing Kam1n0 IDA-pro plugin ...
Kam1n0: Completed initialization.--I am also facing the same issue while indexing the files. This walk-through asks to copy the link address. Should this be pasted somewhere? Does this have something to do with the indexing step?
@svkeerthy This is not relevant. Kam1n0 Server does not require Kam1n0 IDA Pro Plugin to be installed.
Hi @MilesQLi
This is the log.txt generated while executing idat64 -A -SExtractBinaryViaIDA.py -Llog.txt helloworld in the path.
It states an attribute error in idaapi module.
Do let us know what's the issue and how to fix it.
Thanks
from kam1n0-community.
@suryadesu The reason is that your Kam1n0 is not upda-to-date. The code of ExtractBinaryViaIDA.py in the up-to-date version is not idaapi.autoWait() but idaapi.auto_wait().
from kam1n0-community.
@suryadesu The reason is that your Kam1n0 is not upda-to-date. The code of ExtractBinaryViaIDA.py in the up-to-date version is not idaapi.autoWait() but idaapi.auto_wait().
Hi @MilesQLi ,
Thanks for the reply. Seems like the latest build (Kam1n0 v2.1) from the release page doesn't reflect the changes. Can the latest binaries be found somewhere else? Or how can we include the changes in the current version we have?
Thanks
from kam1n0-community.
Yes, that release was not updated. We will update it later. Now, you can simply compile the project by yourself to update the code. The procedure is given in README.md. You need to install Maven. After you download the up-to-date code, simply running the following commands would compile the jars of Kam1n0 Server:
cd /kam1n0/kam1n0
mvn -DskipTests clean package
mvn -DskipTests package
This gives you the jar files in kam1n0\build-bins .
To update Kam1n0 IDA Pro Plugin, you just need to overwrite the Kam1n0 plugin files in path_to_ida_pro/plugins/ with the current version which you can find in Kam1n0-Community/kam1n0-clients/ida-plugin/ .
from kam1n0-community.
Yes, that release was not updated. We will update it later. Now, you can simply compile the project by yourself to update the code. The procedure is given in README.md. You need to install Maven. After you download the up-to-date code, simply running the following commands would compile the jars of Kam1n0 Server:
cd /kam1n0/kam1n0 mvn -DskipTests clean package mvn -DskipTests package
This gives you the jar files in kam1n0\build-bins .
To update Kam1n0 IDA Pro Plugin, you just need to overwrite the Kam1n0 plugin files in path_to_ida_pro/plugins/ with the current version which you can find in Kam1n0-Community/kam1n0-clients/ida-plugin/ .
Hi @MilesQLi
Building from the source solved the issues.
Thanks
from kam1n0-community.
Related Issues (20)
- Hungging in searching
- Failed to log in HOT 1
- Is there a limit for number of binaries that can be indexed?
- Incorrect labeling of summary details
- How to compare a large number of binaries? HOT 2
- Get Functions Embedding HOT 2
- An error occurred during Maven build,and I solve it
- index error HOT 2
- INDEX Error: Failed to disasemble the given file. HOT 1
- Inline expansion questions
- Index Error: FileNotFoundException
- Fail to open the result file HOT 2
- Connection Failed
- Alert Message "Unsupported format"
- mistake in build-dependencies.sh
- run with a script
- Many typo error print()
- asm2vec for downstream tasks
- Does it support dynamically compiled binaries?
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 kam1n0-community.