decaf-project / Droidscope

A dynamic analysis platform for Android
41 stars 12 forks source link

Fail to unpack the apk using droidunpack #6

Open morangeous opened 4 years ago

morangeous commented 4 years ago

Sorry to bother you, but I have no idea that what goes wrong. I successfully load the plugin droidunpack, but in the next step, the whole system crashes down. my input is: (qemu) do_hookapitests com.example.hellojni the output is: terminate called after throwing an instance of 'std::invalid_argument' what(): parse error - unexpected end of input ./startDroidScope.sh: line 1: 129 Aborted (core dumped) sudo ./objs/emulator -no-audio -partition-size 1000 -sysdir /home/developer/images -kernel /home/developer/images/zImage -memory 4000 -qemu -monitor stdio

By the way, I find the file stats.json in the folder /home/developer/android_source/external/droidscope/DECAF_plugins/DroidUnpack/out

Any help will be appreciate! Forward to your reply!

101142TS commented 4 years ago

Sorry to bother you, but I have no idea that what goes wrong. I successfully load the plugin droidunpack, but in the next step, the whole system crashes down. my input is: (qemu) do_hookapitests com.example.hellojni the output is: terminate called after throwing an instance of 'std::invalid_argument' what(): parse error - unexpected end of input ./startDroidScope.sh: line 1: 129 Aborted (core dumped) sudo ./objs/emulator -no-audio -partition-size 1000 -sysdir /home/developer/images -kernel /home/developer/images/zImage -memory 4000 -qemu -monitor stdio

By the way, I find the file stats.json in the folder /home/developer/android_source/external/droidscope/DECAF_plugins/DroidUnpack/out

Any help will be appreciate! Forward to your reply!

Do you know how to unpack apps using DroidUnpack?

Luluno01 commented 4 years ago

I ran into the same issue now. Did you find out how to deal with it?

Luluno01 commented 4 years ago

Oh I finally figured out that you should put a valid empty stats.json under /home/developer/android_source/external/droidscope/DECAF_plugins/old_dex_extarctor.