Jump to content

Reverse Engineering android apps -Part. 1

Recommended Posts

Tooluri necesare:

<Dex-2-Jar> https://github.com/pxb1988/dex2jar


<Apk Tool> http://java-decompiler.github.io/


In primul rand va trebuie o aplicatie apk: https://apkpure.com/login-and-register-application/com.utpalchoudhary.mytestapplication (am ales o aplicatie care are sistem de login).


Eu propun ca toate tool-urile si apk-ul de sus sa fie in acelasi fisier.


 Daca sunteti pe Windows trebuie sa deschideti CMD si sa dati cd in partitia D.



1. cd <fisierul>

2.cd dex2jar-2.0

Acum trebuie sa transformam aplicatia din .apk in .jar.

3.d2j-dexja2jar.bat -f  ./<aplicatie>.apk

Dupa ce aceasta comanda este pusa in functiune, in fisierul cu "dex2jar-2.0" o sa apara aplicatia dumneavoastra sub forma de .jar

Acum intram in JD-GUI si urcam aplicatia noastra cu .jar <https://imgur.com/xEWCIK4>  Acest pas a fost facut pentru a vizualiza codul sursa 

4. Iesim din directorul cu dex2jar  folosind comanda cd ..

5.apktool.jar d <aplicatie>.apk - aplicatia noastra va fi transformata intr-un fisier si va putea fi editata.


In partea a 2 a o sa fac cum sa refaceti apk-ul inapoi si ceva modificari.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...