Comments (6)
-
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"
-
Even if you want to extract millions of apks to extract features by yourself, you can skip
api_dictionary.py
. -
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.
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.
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.
Oh,that's it.Thank you very much!
from libradar.
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.
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)
- LibRadar.rdb is not available anymore
- LibRadar isn't working HOT 4
- Redis integration HOT 3
- Online trail http://radar.pkuos.org/ not working. HOT 2
- Command "python setup.py egg_info" failed with error code 1 HOT 1
- Link rot "http://lxwiki.oss-cn-beijing.aliyuncs.com/lite_dataset_10.csv" HOT 1
- 'int' object has no attribute 'iteritems' HOT 3
- job_dispatching.py does not update the Redis Database HOT 1
- Python Script Not working HOT 1
- https://www.dropbox.com/s/ljtzw74twt8xgy6/d.tar.gz?dl=0 broken HOT 1
- could the tools be run locally? HOT 1
- any idea about the redis error when get data? HOT 1
- Multiple .dex files not considered
- Link not working HOT 1
- Is this project extensible? HOT 1
- website not found
- How to create lite_dataset_10.csv?
- Running into an error HOT 2
- download data issue
- runtime error
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 libradar.