dex-oracle icon indicating copy to clipboard operation
dex-oracle copied to clipboard

Command failed

Open ddzobov opened this issue 5 years ago • 7 comments

Android 9 emulator with root:

Optimizing 10575 methods over 1303 Smali files.
**/dex-oracle/lib/dex-oracle/driver.rb:190:in `validate_output': Command failed with 255: shell "cd /data/local/tmp; export CLASSPATH=/data/local/tmp/od.zip; app_process /system/bin org.cf.oracle.Driver @/data/local/tmp/od-targets.json"; echo $? (RuntimeError)
Output: 255
	from **/dex-oracle/lib/dex-oracle/driver.rb:208:in `drive'
	from **/dex-oracle/lib/dex-oracle/driver.rb:96:in `run_batch'
	from **/dex-oracle/lib/dex-oracle/plugin.rb:49:in `apply_batch'
	from **/dex-oracle/lib/dex-oracle/plugins/string_decryptor.rb:38:in `process'
	from **/dex-oracle/lib/oracle.rb:33:in `block (2 levels) in process_plugins'
	from **/dex-oracle/lib/oracle.rb:31:in `each'
	from **/dex-oracle/lib/oracle.rb:31:in `block in process_plugins'
	from **/dex-oracle/lib/oracle.rb:29:in `loop'
	from **/dex-oracle/lib/oracle.rb:29:in `process_plugins'
	from **/dex-oracle/lib/oracle.rb:18:in `divine'
	from ./dex-oracle/bin/dex-oracle:98:in `<main>'

ddzobov avatar Nov 12 '18 06:11 ddzobov

Installed Android 5 emulator

**/dex-oracle/lib/dex-oracle/driver.rb:198:in `validate_output': app_process execution failure, output: '0' (RuntimeError)

ddzobov avatar Nov 12 '18 08:11 ddzobov

Could you share the sample and command line you're using?

CalebFenton avatar Nov 12 '18 22:11 CalebFenton

Sent to you yesterday by email

ddzobov avatar Nov 13 '18 03:11 ddzobov

Can you confirm that you received sample from me by email?

ddzobov avatar Nov 14 '18 19:11 ddzobov

I got it, but the tiny startup company I use for email doesn't know how to handle multiple users and I had to request access using another account.

CalebFenton avatar Nov 15 '18 00:11 CalebFenton

Hi! Are you received access to file?

ddzobov avatar Nov 21 '18 20:11 ddzobov

I haven't had time to look into it. You can help yourself by running with verbose mode on, watching exactly what dex-oracle does, and do it youself on the command line. All the code does is coordinate some stuff on the command line (and make it easy to reflect methods with the driver).

CalebFenton avatar Nov 21 '18 20:11 CalebFenton