decaf-project / Droidscope

A dynamic analysis platform for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fail to unpack the apk using droidunpack

morangeous opened this issue · comments

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!

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?

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

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.