GithubHelp home page GithubHelp logo

Comments (12)

hgascon avatar hgascon commented on July 30, 2024

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.

chushu10 avatar chushu10 commented on July 30, 2024

from adagio.

chushu10 avatar chushu10 commented on July 30, 2024

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.

bingoxia avatar bingoxia commented on July 30, 2024

why ?
[*] NameError error loading /home/bingo/桌面/adagio-master/test/021d55c415ff951c8e7b1ce3f94399bb.apk.1

from adagio.

hgascon avatar hgascon commented on July 30, 2024

@bingoxia can you be more specific with the error?

from adagio.

hgascon avatar hgascon commented on July 30, 2024

@bingoxia did you solve this? Can it be a problem with the chinese characters in the file path?

from adagio.

JunTomyang avatar JunTomyang commented on July 30, 2024

@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.

hgascon avatar hgascon commented on July 30, 2024

@JunTomyang that might be a problem with the handling of the file path (the underscore?)

from adagio.

JunTomyang avatar JunTomyang commented on July 30, 2024

@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.

hgascon avatar hgascon commented on July 30, 2024

@JunTomyang if you are giving "APK/" as parameter, can you try without the "/"?

from adagio.

Asbatel avatar Asbatel commented on July 30, 2024

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.

hgascon avatar hgascon commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.