Outils pour utilisateurs

Outils du site


apk-hacking-en

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
apk-hacking-en [2014/10/27 12:15] – [Cas pratique] sebsauvageapk-hacking-en [2014/10/27 12:16] – [Step 2 : Extract decompilated java sources] sebsauvage
Ligne 51: Ligne 51:
 Download the APK file of the application you want to alter, either by copy-pasting the GooglePlay URL in [[http://apps.evozi.com/apk-downloader/|this page]], either by using [[https://play.google.com/store/apps/details?id=mobi.infolife.appbackup|this application]] to backup the APK. Download the APK file of the application you want to alter, either by copy-pasting the GooglePlay URL in [[http://apps.evozi.com/apk-downloader/|this page]], either by using [[https://play.google.com/store/apps/details?id=mobi.infolife.appbackup|this application]] to backup the APK.
  
-As an example, we will remove the geolocation of the application [[https://play.google.com/store/apps/details?id=com.cavo.MonCAAlsace|Crédit Agricole Alsace Vosges]] (''com.cavo.MonCAAlsace.apk'', a French Bank application). Everytime you want to browse your accounts, the application tries to geolocate you. There is not option to disable this. I do not find this behaviour acceptable.+As an example, we will remove the geolocation of the application [[https://play.google.com/store/apps/details?id=com.cavo.MonCAAlsace|Crédit Agricole Alsace Vosges]] (''com.cavo.MonCAAlsace.apk'', a French Bank application). Every time you want to browse your accounts, the application tries to geolocate you. There is not option to disable this. I do not find this behaviour acceptable.
 ==== Step 1 : Convert APK into JAR ==== ==== Step 1 : Convert APK into JAR ====
  
Ligne 65: Ligne 65:
 Run JD-GUI, open the .jar file created in previous step, then go to menu "Files" > "Save all sources...". Run JD-GUI, open the .jar file created in previous step, then go to menu "Files" > "Save all sources...".
  
-Cela va créer le fichier **com.cavo.MonCAAlsace-dex2jar.src.zip** qui contient les sources Java décompilées de l'application.+This will create **com.cavo.MonCAAlsace-dex2jar.src.zip**. This files contains all decompiled java sources from the application.
  
 Notes: Notes:
 +
   * Pas de miracle: Ces sources java ne sont pas recompilables.   * Pas de miracle: Ces sources java ne sont pas recompilables.
   * Certaines classes ou méthodes ne seront pas décompilées (parce-que JAD n'y sera pas parvenu). Dans ce cas, JD-GUI affiche directement le code Dalvik.   * Certaines classes ou méthodes ne seront pas décompilées (parce-que JAD n'y sera pas parvenu). Dans ce cas, JD-GUI affiche directement le code Dalvik.