Third party software for DNS installation of linker Android

Keywords: Mobile DNS Android network

Third party software for DNS installation of linker Android

Originally, someone on the Internet has set up the corresponding DNS, which is also very convenient to use. Unfortunately, they have to pay dozens of dollars. They have no money to touch their pockets and have to build one locally. Record the building process and save the time for peers to find the domain name and file structure.

Domain name acquisition method

I didn't want to write this at first, because my way without proper tools is very troublesome. But after all, it's been a long time_

  1. The first thing I think of is to check the router's records directly. Unfortunately, the junk router used doesn't have this function
  2. Then I want to use Fiddler, Charles and other software to open an agent to capture requests. Unfortunately, only Macbook can't plug in the network cable. Use Bluetooth to connect the mobile phone and share the network with Bluetooth, and then turn on the hot spot. But Bluetooth mode can't set the proxy and can't capture.
  3. The mobile wifi connects to the computer agent, and then uses the wlan signal bridge to share. Unfortunately, only the mobile phone's own request can be captured in this way, and the car machine request to share cannot be connected. The proxy mode should only be used for the local machine. It's abandoned.
  4. Let's use DNS. The computer is equipped with a dnsmasq. The router and mobile phone are set with DNS. The mobile phone opens a signal bridge (it seems that only the router can be changed). The car and machine operate. Check the logs. Try to find the domain names one by one. Replace them with the local server address (a web server must be set up locally). Look at the server logs and get the request URL. Then go to the original external network to get the corresponding protocol format

Domain name format

Domain name: api.xchanger.cn

Key interface

  1. /The field is missing, resulting in no return of later excuses
  2. /api/v1/banner/index get the banner of the application market homepage, the format is unknown
  3. /api/v1/product/special get the home page recommendation list, format unknown
  4. /api/v1/product/catalog get application classification
{
    "products":[
        {
            "alias":"",
            "categoryId":"100",    //Classification ID
            "description":"",
            "image":"",
            "metaDescription":"",
            "metaKeyword":"",
            "metaTitle":"",
            "name":"Third party applications",   //Display name
            "parentId":"0",
            "sortOrder":"0",
            "specs":"",
            "status":"1",
            "top":"0",
            "typeid":"2"
        }
    ]
}
  1. /api/v1/product?categoryId=100 to obtain the application list of the corresponding classification, 44 is the categoryId in 3
{
    "products":[
        {
            "name":"QQ Music",   //Display name
            "wishlist":0,
            "productId":1000,
            "typeId":"2",
            "manufacturer":"Independent development of application providers",
            "model":"APP-IHU-XMLY",
            "reward":null,
            "points":"0",
            "description":"",
            "specs":"",
            "infoKeyword":"",
            "infoDescription":"QQ Music official car version",
            "metaTitle":"",
            "metaDescription":"",
            "metaKeyword":"",
            "stock":"1",
            "image":"",
            "images":[
                {
                    "popup":"https://y.gtimg.cn/mediastyle/app/download/img/pc_v17/new_face.png"
                }
            ],
            "price":"¥0.00",
            "priceNum":"0.0000",
            "special":"",
            "tax":"",
            "discounts":[

            ],
            "options":[

            ],
            "minimum":"1",
            "reviewStatus":"1",
            "reviewGuest":0,
            "customerName":"",
            "reviews":"0 comment",
            "rating":0,
            "attributeGroups":{
                "AppPackageName":"com.tencent.qqmusiccar",   //Package name
                "AppSrc":"http://Dldir1.qq.com/music/android/qqmusiccar_1.9.5.18_android_release. APK ", / / download address
                "AppVersionCode":"1090518",
                "AppVersionName":"1.9.5.18",
                "AppSize":"10.8M",
                "AppDeveloper":"",
                "AppUptime":"19-02-25",
                "AppUpdetail":"",
                "AppPath":"http://Dldir1.qq.com/music/android/qqmusiccar_1.9.5.18_android_release. APK ", / / download address
                "AppDownnums":"0",
                "AppStar":"",
                "AppSystem":"0",
                "platformVersion":"",
                "isFree":"1",
                "isGray":null
            },
            "products":[

            ],
            "recurrings":[

            ]
        }
    ],
    "search":"",
    "typeId":"1,3",
    "description":"",
    "category_id":"100",
    "sub_category":"",
    "sort":"p.sort_order",
    "order":"ASC"
}
Published 11 original articles, won praise 5, visited 20000+
Private letter follow

Posted by adrian28uk on Fri, 31 Jan 2020 11:46:51 -0800