This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Code injection checklist | |
------------------------ | |
1) Decompilare il codice da iniettare da un Apk | |
2) Decompilare il codice della app da modificare | |
3) Copiare il codice dalla sorgente (DirDecompilato/smali/path_classe_java) alla app da modificare | |
4) Modiicare il manifest delle app destinazione per aggiungere l'activity e eventuali assets | |
5) Ricompilare la app modificata | |
6) Rifirmare la app modificata | |
7) ZipAlign della app modificata (passo necessario solo alla publicazione su play store) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class KimStart extends Activity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
mock_loginok_paid(); | |
} | |
private void mock_loginok_paid(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import urllib | |
from xml.dom import minidom | |
host = 'localhost' | |
source_type = ['movie', 'show'] # Valid values: artist (for music), movie, show (for tv) | |
base_url = 'http://%s:32400/library/sections' % host | |
refresh_url = '%s/%%s/refresh?force=1' % base_url | |
try: |