• 安卓玩机-----给app加注册码 app加弹窗 云注入弹窗


    在对接很多工作室业务中有些客户需要在他们自带的有些app中加注册码或者验证码的需求。其实操作起来也很简单。很多反编译软件有自带的注入功能。例如注入弹窗。这个是需要对应的注册码来启动应用。而且是随机id。重新安装app后需要重新注册才可以继续使用,原则上可以杜绝工作室外发定制app的滥用。

    加注册码效果如图

    上个博文解析了下app去广告  去弹窗,

    反编译apk 修改apk 去广告 去弹窗等操作中的一些常识

    结合上个博文我们基本可以了解到弹窗在什么位置。根据客户的需求。编译生成一个文件用于注册码的验证方式。然后在app中反编译加入弹窗即可.

    在app中我们要基本了解app相关文件的作用,这个是前提条件之一

    1. <?xml version="1.0" encoding="utf-8"?>
    2. <PreferenceScreen android:title="@string/app_and_notification_dashboard_title" android:key="apps_and_notification_screen" settings:initialExpandedChildrenCount="4"
    3. xmlns:android="http://schemas.android.com/apk/res/android" xmlns:settings="http://schemas.android.com/apk/res-auto">
    4. <com.android.settingslib.miuisettings.preference.Preference android:title="@string/applications_settings" android:key="all_app_info" android:order="-999" android:fragment="com.android.settings.applications.manageapplications.ManageApplications" settings:controller="com.android.settings.applications.AllAppsInfoPreferenceController" settings:keywords="@string/keywords_applications_settings" />
    5. <com.android.settingslib.widget.LayoutPreference android:layout="@layout/app_entities_header" android:title="@string/recent_app_category_title" android:selectable="false" android:key="recent_open_apps" android:order="-998" settings:allowDividerBelow="true" settings:controller="com.android.settings.applications.RecentAppsPreferenceController" />
    6. <PreferenceCategory android:layout="@layout/preference_category_no_label" android:key="recent_apps_divider" android:order="-997" />
    7. <PreferenceCategory android:key="dashboard_tile_placeholder" android:order="10" />
    8. <com.android.settingslib.miuisettings.preference.Preference android:title="@string/app_permissions" android:key="manage_perms" android:order="12" settings:controller="com.android.settings.applications.AppPermissionsPreferenceController" settings:keywords="@string/keywords_app_permissions">
    9. <intent android:action="android.intent.action.MANAGE_PERMISSIONS" />
    10. </com.android.settingslib.miuisettings.preference.Preference>
    11. <com.android.settingslib.RestrictedPreference android:title="@string/cell_broadcast_settings" android:key="app_and_notif_cell_broadcast_settings" android:order="15" settings:useAdminDisabledSummary="true">
    12. <intent android:targetPackage="com.android.cellbroadcastreceiver" android:action="android.intent.action.MAIN" android:targetClass="com.android.cellbroadcastreceiver.CellBroadcastSettings" />
    13. </com.android.settingslib.RestrictedPreference>
    14. <com.android.settingslib.miuisettings.preference.Preference android:title="@string/special_access" android:key="special_access" android:order="20" android:fragment="com.android.settings.applications.specialaccess.SpecialAccessSettings" settings:controller="com.android.settings.applications.SpecialAppAccessPreferenceController" />
    15. </PreferenceScreen>

    1. <?xml version="1.0" encoding="utf-8"?>
    2. <PreferenceScreen android:title="@string/battery_action_bluetooth"
    3. xmlns:android="http://schemas.android.com/apk/res/android" xmlns:settings="http://schemas.android.com/apk/res-auto">
    4. <PreferenceCategory android:title="@string/bluetooth_connect_settings" android:order="1">
    5. <com.android.settingslib.miuisettings.preference.SwitchPreference android:title="@string/bluetooth_mi_fast_connect" android:key="bluetooth_mi_fast_connect" android:summary="@string/bluetooth_mi_fast_connect_summary" />
    6. <com.android.settingslib.miuisettings.preference.Preference android:persistent="false" android:title="@string/app_bluetooth_device_blacklist" android:summary="@string/bluetooth_device_blacklist_summary" android:fragment="com.android.settings.bluetooth.BluetoothBlacklistFragment" settings:showRightArrow="true" />
    7. </PreferenceCategory>
    8. <PreferenceCategory android:title="@string/bluetooth_display_settings" android:key="bluetooth_show" android:order="2">
    9. <com.android.settingslib.miuisettings.preference.SwitchPreference android:title="@string/bluetooth_show_devices_without_names" android:key="bluetooth_show_devices_without_names" android:summary="@string/bluetooth_show_devices_without_names_summary" />
    10. <com.android.settingslib.miuisettings.preference.SwitchPreference android:title="@string/bt_show_notification_title" android:key="bluetooth_show_notification" android:summary="@string/bt_show_notification_summary" />
    11. </PreferenceCategory>
    12. <PreferenceCategory android:key="load_preferenceCategory_flag" android:order="3">
    13. <com.android.settingslib.miuisettings.preference.Preference android:persistent="false" android:title="@string/app_enable_bluetooth_record" android:fragment="com.android.settings.bluetooth.BluetoothEnableRecord" settings:showRightArrow="true" />
    14. </PreferenceCategory>
    15. </PreferenceScreen>

    在app源码中。


      xmlns:android="http://schemas.android.com/apk/res/android" xmlns:settings="http://schemas.android.com/apk/res-auto">
       
       
           
           
       

       
           
               
           

           
           
           
       

       
           
           
           
           
           
       

    show开头的源代码中就标示是弹窗对话框.去弹窗 加弹窗.修改app中的 AndroidManifest.xml文件.兴趣的友友可以使用反编译软件中的注入弹窗内容  然后对照原文件来参考弹窗的生成。

    还有很多云注入弹窗方式。

    去掉app云注入弹窗

    第一种方法:dex搜索代码:invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V 然后删除即可!

    第二种方法:搜索代码:invoke-direct {p0}, Lcom/cloudinject/feature/App;->̗̖̙̗̖̖()V  然后删除即可!

    第三种方法:搜索字符串:"无联网",找到当前方法,开头添加: return-void

    第四种完美去除法:找到入口,替换入口即可,删除云注入dex和assets目录下的云注入文件,找入口可参考搜索:.super Landroid/app/Application;一般第四行就是了.可以参考以上

     

  • 相关阅读:
    使用R语言进行Logistic回归分析(2)
    prometheus helm install 如何配置告警模版
    #龙迅视频转换IC LT7911D是一款高性能Type-C/DP/EDP 转MIPI®DSI/CSI/LVDS 芯片,适用于VR/显示应用。
    Optica数据库 (原OSA美国光学学会电子期刊)文献去哪里查找下载
    大一新生HTML期末作业,网页制作作业——海鲜餐饮网站登录页面(单页面)HTML+CSS+JavaScript
    Jmeter系列-阶梯加压线程组Stepping Thread Group详解(6)
    [Qt]窗口
    Linux基本命令之修改主机名、用户名、密码
    面试分享 | 护网蓝队面试经验
    基于51单片机音乐盒LCD1602显示( proteus仿真+程序+原理图+设计报告+讲解视频)
  • 原文地址:https://blog.csdn.net/u011283906/article/details/133420935