Package: a-pandas-ex-adb-activities2df
Converts AndroidManifest.xml into a Pandas DataFrame (with all activities, queries, permissions ...)$pipinstalla-pandas-ex-adb-activities2df# Install androguard# git clone https://github.com/androguard/androguard.git# pip install -r requirements.txt# or pip: https://androguard.readthedocs.io/en/latest/intro/installation.htmlfroma_pandas_ex_adb_activities2dfimportconnect_to_adb,list_all_packages,get_package_infos_dfimportpandasaspdadb_path="C:\\Users\\Gamer\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe"deviceserial="localhost:5895"connect_to_adb(adb_path,deviceserial)dfp_all_packages=list_all_packages(adb_path,deviceserial,)# returns a DataFrame with path and package namedfp=dfp_all_packages.loc[dfp_all_packages.package_name.str.contains("roblox")]# filter here the packages you want to analyzedf,dfo=get_package_infos_df(dframe=dfp,# Will analyze all packages in the DataFrame dfpadb_path=adb_path,deviceserial=deviceserial,tmp_folder_hdd="f:\\testdebugadb",# Temp folder for apk files, folder will be created if it does not existandroguard_cli_py=r"C:\Users\Gamer\anaconda3\envs\dfdir\androguard\cli.py",# https://github.com/androguard/androguardexplode_name_columns=False,# if True: might make it easier to find what you want, but the DataFrame will contain duplicated data)df1,dfo1=get_package_infos_df(dframe=None,# Will analyze all packagesadb_path=adb_path,deviceserial=deviceserial,tmp_folder_hdd="f:\\testdebugadb",# Temp folder for apk files, folder will be created if it does not existandroguard_cli_py=r"C:\Users\Gamer\anaconda3\envs\dfdir\androguard\cli.py",# https://github.com/androguard/androguardexplode_name_columns=False,# if True: might make it easier to find what you want, but the DataFrame will contain duplicated data)package_pathpackage_name7/data/app/com.roblox.client-1/base.apkcom.roblox.clientdfp_all_packagesOut[6]:package_pathpackage_name0/data/priv-downloads/com.google.android.ext.se...com.google.android.ext.services1/data/downloads/com.location.provider/com.loca...com.location.provider2/system/priv-app/TelephonyProvider/TelephonyPr...com.android.providers.telephony3/system/priv-app/CalendarProvider/CalendarProv...com.android.providers.calendar4/system/priv-app/MediaProvider/MediaProvider.apkcom.android.providers.media........65/data/downloads/com.google.android.play.games/...com.google.android.play.games66/data/downloads/gg.now.accounts/gg.now.account...gg.now.accounts67/system/app/WallpaperPicker/WallpaperPicker.apkcom.android.wallpaperpicker68/system/priv-app/ContactsProvider/ContactsProv...com.android.providers.contacts69/system/app/CaptivePortalLogin/CaptivePortalLo...com.android.captiveportallogin[70rowsx2columns]dfOut[13]:aa_name_0...windowSoftInputMode_00android.intent.action.VIEW...NaN1com.roblox.client.landing.ActivityStartMVP...322android.intent.action.MAIN...NaN3com.roblox.client.ActivityNativeMain...164com.roblox.client.game.ActivityGame...165com.roblox.client.game.GameLaunchActivity...NaN6com.roblox.client.RobloxWebActivity...NaN7com.roblox.client.NotificationStreamActivity...NaN8com.roblox.client.signup.ActivitySignUp...329com.roblox.client.login.mvp.ActivityLoginMVP...NaN10com.roblox.client.resetpassword.ResetPasswordA......NaN11com.roblox.client.contacts.ActivityContacts...NaN12com.roblox.client.friends.ActivityUniversalFri......NaN13com.roblox.client.ActivitySearch...NaN14com.roblox.client.captcha.ActivityFunCaptcha...NaN15com.roblox.client.signup.multiscreen.ActivityV......3216com.roblox.client.signup.multiscreen.ActivityW......NaN17com.roblox.client.landing.AboutActivity...NaN18com.google.android.gms.auth.api.signin.interna......NaN19com.google.android.gms.common.api.GoogleApiAct......NaN20com.android.billingclient.api.ProxyBillingActi......NaN[21rowsx31columns]dfoOut[14]:level_0...aa_package_name0application...com.roblox.client1application...com.roblox.client2application...com.roblox.client3application...com.roblox.client4application...com.roblox.client...........164uses-sdk...com.roblox.client165{http://schemas.android.com/apk/res/android}co......com.roblox.client166{http://schemas.android.com/apk/res/android}co......com.roblox.client167{http://schemas.android.com/apk/res/android}ve......com.roblox.client168{http://schemas.android.com/apk/res/android}ve......com.roblox.client[169rowsx12columns]df1Out[11]:aa_name_0...windowSoftInputMode_00android.intent.action.MAIN...NaN1com.location.provider.EnterLocation...NaN2com.location.provider.ShowMapsActivity...NaN3com.location.provider.BasicMapActivity...NaN4com.google.android.gms.common.api.GoogleApiAct......NaN.........1397android.net.conn.CAPTIVE_PORTAL...NaN1398NaN...NaN1399NaN...NaN1400com.android.captiveportallogin.CaptivePortalLo......NaN1401NaN...NaN[1402rowsx227columns]dfo1Out[15]:level_0...level_70application...NaN1application...NaN2application...NaN3application...NaN4application...NaN.........12107uses-permission...NaN12108uses-sdk...NaN12109uses-sdk...NaN12110{http://schemas.android.com/apk/res/android}ve......NaN12111{http://schemas.android.com/apk/res/android}ve......NaN[12112rowsx12columns]