CalebFenton / dex-oracle

A pattern based Dalvik deobfuscator which uses limited execution to improve semantic analysis
MIT License
490 stars 113 forks source link

Baksmali is not defined. #32

Open determinate opened 5 years ago

determinate commented 5 years ago

How to solve this problem? I set with export to path but its not working. Making aliases in .bashrc file. It doenst work. So what i need to do? Thanks Mike!

CalebFenton commented 5 years ago

Seems like you didn't set your PATH.

I'll need to see what you've tried to actually help. This is a 3 second prerequisite.

determinate commented 5 years ago

It must be to jar file or something like to alias?

determinate commented 5 years ago

i have next parameters

image

but running dex-oracle i have next error.

image

CalebFenton commented 5 years ago

Your problem is probably that baksmali is not on the root user's path. Don't run dex-oracle with sudo. If you absolutely must, and you probably don't need to, you'll have to set the PATH for root also.

This doesn't involve baksmali at all. Here's a simple test: does running baksmali work? Does running sudo baksmali work? If yes to both, then that's weird! Let me know.