Code Monkey home page Code Monkey logo

Comments (6)

pkumza avatar pkumza commented on May 28, 2024
  1. API dict and Job_dispatching is just for professional use(That means you want to extract features from large data set of APKs by yourself.) If you just want to exam several apks' libraries, just use one python script: "libradar.py"

  2. Even if you want to extract millions of apks to extract features by yourself, you can skip api_dictionary.py.

  3. My Operating System is Mac OS X. Any Unix-like OS can use LibRadar. I haven't check this tool on Windows. I guess it could works the same, until you move out "rm" & "eject" because they are instructions for Linux shell. Just remove the code line and try again.

from libradar.

daydayup1 avatar daydayup1 commented on May 28, 2024

I moved out "rm" & "eject" and ran job_dispatching.py again, the results are as follows:

C:\Users\Administrator>python d:\LibRadar\LibRadar\job_dispatching.py
2017-05-23 10:01:45,394: INFO     Pool created
2017-05-23 10:01:45,403: INFO     Waiting for all sub-processes done.
2017-05-23 10:01:45,608: INFO     Process 00 is running
2017-05-23 10:01:45,627: INFO     Process 01 is running
2017-05-23 10:01:45,645: INFO     Process 02 is running
2017-05-23 10:01:45,671: INFO     Process 03 is running
2017-05-23 10:05:35,523: INFO     Process 00 returns
2017-05-23 10:05:35,707: INFO     Process 04 is running
2017-05-23 10:05:36,079: INFO     Process 03 returns
2017-05-23 10:05:36,250: INFO     Process 05 is running
2017-05-23 10:05:49,125: INFO     Process 01 returns
2017-05-23 10:05:49,341: INFO     Process 06 is running
2017-05-23 10:05:53,923: INFO     Process 02 returns
2017-05-23 10:05:54,101: INFO     Process 07 is running
2017-05-23 10:06:05,709: INFO     Process 04 returns
2017-05-23 10:06:06,252: INFO     Process 05 returns
2017-05-23 10:06:19,342: INFO     Process 06 returns
2017-05-23 10:06:24,102: INFO     Process 07 returns
2017-05-23 10:06:24,213: CRITICAL All sub-processes done.

I still don‘t know which folder the analysis results are put in.(I really want to analyse about 200 thousand apks.I tied to just use libradar.py for 100 apks,it takes about 7 seconds per apk, so it will spend too much time to analyse all apks).Thanks for your help.

from libradar.

pkumza avatar pkumza commented on May 28, 2024

job_dispatching.py is not used for boosting libradar.py. It is used for feature training.

If you want to use libradar fastly, you can write a script to execute libradar.py on several processes.

from libradar.

daydayup1 avatar daydayup1 commented on May 28, 2024

Oh,that's it.Thank you very much!

from libradar.

IzzySoft avatar IzzySoft commented on May 28, 2024

until you move out "rm" & "eject" because they are instructions for Linux shell

I don't know what LibRadar used eject (which is to eject compact-disks/dvds and the like) – but instead of rm, there are the platform independent os.unlink (to remove a file) or os.rmdir / os.removedirs (to remove a directory / recursively). But I guess there's a reason you didn't use any of those, @pkumza (didn't check thoroughly; it's the loop cleaning up the smali stuff I guess).

from libradar.

pkumza avatar pkumza commented on May 28, 2024

Eject is just a trick for notice you works have been done (It eject your cd-rom).

Use os module instead of rm is a good practice for compatibility. Yes. But I don't want to waste much time for it as just few people will use job_dispatching.py for training stage. To clear that, I'd like just rm -rf harshly.

from libradar.

Related Issues (20)

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.