Comments (12)
Hi @Choosue, actually, it is possible now to install androguard from pip. That means that there is no need to clone androguard in modules/ anymore. The imports should be changed in all modules. You are welcome to change them and submit a pull request.
from adagio.
from adagio.
Yes, it is possible now to install androguard from pip: python -m pip install androguard
But I still cannot change all the imports in adagio. Here is why:
There are two files import androguard:
from modules.androguard.androlyze import *
in adagio/core/graphs.py
and
from modules.androguard import * from modules.androguard.androguard.core.analysis import * from modules.androguard.androlyze import *
in adagio/core/apicalls.py
for you only imports * from androguard module, and I am not familiar with androguard
I got no idea how to replace them...
from adagio.
why ?
[*] NameError error loading /home/bingo/桌面/adagio-master/test/021d55c415ff951c8e7b1ce3f94399bb.apk.1
from adagio.
@bingoxia can you be more specific with the error?
from adagio.
@bingoxia did you solve this? Can it be a problem with the chinese characters in the file path?
from adagio.
@hgascon @bingoxia Hi guys, I have also involved the same problem and no FCG was generated:
Processing 3 APK files in dir APK_DATA/
[] Loading /home/nsclab/Desktop/adagio/APK_DATA/0a1f17846f67d57d357ec458e3ced59a.apk
[] NameError error loading /home/nsclab/Desktop/adagio/APK_DATA/0a1f17846f67d57d357ec458e3ced59a.apk
[] Loading /home/nsclab/Desktop/adagio/APK_DATA/000a067df9235aea987cd1e6b7768bcc1053e640b267c5b1f0deefc18be5dbe1.apk
[] NameError error loading /home/nsclab/Desktop/adagio/APK_DATA/000a067df9235aea987cd1e6b7768bcc1053e640b267c5b1f0deefc18be5dbe1.apk
[] Loading /home/nsclab/Desktop/adagio/APK_DATA/15640e3e6896f2222c299a3ad4ffe2b6e854eefd67264b76b93551831403410b.apk
[*] NameError error loading /home/nsclab/Desktop/adagio/APK_DATA/15640e3e6896f2222c299a3ad4ffe2b6e854eefd67264b76b93551831403410b.apk
Building graphs: 100% [#########################################] Time: 0:00:02
Done.
Could you please give me some advice, thanks
from adagio.
@JunTomyang that might be a problem with the handling of the file path (the underscore?)
from adagio.
@hgascon Hi hgascon , I have changed the file path without underscore but the error still cannot fix:
Processing 3 APK files in dir APK/
[] Loading /home/nsclab/Desktop/adagio/APK/0a1f17846f67d57d357ec458e3ced59a.apk
[] NameError error
[] Loading /home/nsclab/Desktop/adagio/APK/000a067df9235aea987cd1e6b7768bcc1053e640b267c5b1f0deefc18be5dbe1.apk
[] Loading /home/nsclab/Desktop/adagio/APK/15640e3e6896f2222c299a3ad4ffe2b6e854eefd67264b76b93551831403410b.apk
[*] NameError error
Building graphs: 100% [#########################################] Time: 0:00:02
Done.
from adagio.
@JunTomyang if you are giving "APK/" as parameter, can you try without the "/"?
from adagio.
I run the following command: ./adagio.py -f -d apks (with apks is the dir that contains apks). I got that error: NameError error loading /home/le/adagio//apks/hello.apk
Any help please!
from adagio.
I have updated the dependencies so it is not necessary to clone androguard in modules/ anymore. You can install androguard with pip and it will be directly imported. Let me know how it works.
from adagio.
Related Issues (10)
- Store ROC results in epg or pdf vectorial files instead of pngs
- How to use the adagio.py to process apk set? HOT 7
- Error starting the analysis HOT 2
- Have some problems HOT 6
- Improve documentation
- How to run this project ? HOT 2
- No FCGextractor.py HOT 1
- How to compute aggregated weight of each bin of the histogram? HOT 4
- What is FCGextractor? How to use? HOT 1
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 adagio.