Is there a way to get a list of all classes from a .dex file?

后端 未结 5 696

I have a .dex file, call it classes.dex.

Is there a way to \"read\" the contents of that classes.dex and get a list of all class

5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-30 16:52

    dxshow mydexfile.dex

    dxshow:

    strings -a $1 | grep "^L.*/" | grep -v "Ljava" | grep -v "Landroid" | sed "s/^L\(.*\);/\1/" | sed "s:/:.:g"

    ezpz hack... didn't wanna spend a lifetime java coding

提交回复
热议问题