야우사 v4.3.7版本的 MD5 值为:1816f1b5673148261f1ef75d0c3d80ab
以下内容为反编译后的 CheckUntil.java 源代码,内容仅作参考
package com.fakerandroid.boot;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Random;
import okhttp3.Call;
import okhttp3.Callback;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
public class CheckUntil {
public static int getNetWorkInfo(Context context) {
NetworkInfo activeNetworkInfo = ((ConnectivityManager) context.getSystemService("connectivity")).getActiveNetworkInfo();
if (activeNetworkInfo == null) {
return -1;
}
int type = activeNetworkInfo.getType();
if (type != 0) {
return type != 1 ? -1 : 1;
}
return 0;
}
public static void playUrls() {
ArrayList arrayList = new ArrayList();
arrayList.add("https://t2.xiaohongshu.com/api/collect");
arrayList.add("https://edith.xiaohongshu.com/api/sns/v1/system_service/config?launchtimes=9");
arrayList.add("https://edith.xiaohongshu.com/api/sns/v1/search/placeholder?is_new_user=true");
arrayList.add("https://www.xiaohongshu.com/api/im/users/following/all");
arrayList.add("https://cc.map.qq.com/?desc_c");
arrayList.add("https://43.129.255.160:8081");
arrayList.add("https://cgi.connect.qq.com/qqconnectopen/openapi/policy_conf");
arrayList.add("https://183.232.58.240:21004");
arrayList.add("https://118.26.252.225:5222");
arrayList.add("https://120.46.157.112:7002");
arrayList.add("https://49.51.177.180:5333");
arrayList.add("https://183.134.98.111:5224");
arrayList.add("https://183.134.98.34:5224");
arrayList.add("https://183.134.98.75:5224");
arrayList.add("https://login.sina.com.cn/visitor/signin");
arrayList.add("https://sdk-open-phone.getui.com/api.php?format=json&t=1");
arrayList.add("https://tsis.jpush.cn/");
arrayList.add("https://ali-stats.jpush.cn");
arrayList.add("https://49.233.102.113:5333");
arrayList.add("https://124.71.10.22:7002");
arrayList.add("https://175.24.251.189:5333");
arrayList.add("https://103.102.200.38:80");
arrayList.add("https://118.26.252.225:5222");
arrayList.add("http://p5.a.yximgs.com/uhead/AB/2022/05/22/01/BMjAyMjA1MjIwMTUzMjdfMjI5NzUxOTU2OV8xX2hkNDc0XzE0OQ==_s.jpg");
arrayList.add("https://api2.e.kuaishou.com/rest/e/load/styleTemplate");
arrayList.add("https://apidns.kwd.inkuai.com/label_resolve?label=kwai-api&biz=aegon-android");
arrayList.add("https://yoda.kwd.inkuai.com");
arrayList.add("http://httpdns.bcelive.com/?dns=bd-origin.pull.yximgs.com,bd-adaptive-pull.live-voip.com,bd-adaptive-pull.video-voip.com,bd-adaptive.pull.yximgs.com,bd-origin-pull.live-voip.com,bd-origin-pull.video-voip.com,bd-p2p-pull.live-voip.com,bd-p2p-pull.video-voip.com,bd-p2p.pull.yximgs.com,bd-proxy.pull.yximgs.com,bd-pull.live-voip.com,bd-pull.video-voip.com,bd.pull.yximgs.com,bd.push.yximgs.com,d5-ks.a.kwimgs.com,p5-live.a.yximgs.com,p5.a.yximgs.com,v5-skvod.kwaicdn.com,v5.kwaicdn.com&type=a");
arrayList.add("https://static.yximgs.com/bs2/adminBlock/treasure-1675409076903-xYWwjlqm.png");
arrayList.add("https://43.226.164.41");
arrayList.add("http://p2.a.yximgs.com/uhead/AB/2021/08/16/17/");
Collections.shuffle(arrayList);
int nextInt = new Random().nextInt((arrayList.size() - 3) + 1) + 3;
OkHttpClient okHttpClient = new OkHttpClient();
for (int i = 0; i < nextInt && !arrayList.isEmpty(); i++) {
okHttpClient.newCall(new Request.Builder().url((String) arrayList.remove(0)).build()).enqueue(new Callback() {
@Override
public void onFailure(Call call, IOException iOException) {
}
@Override
public void onResponse(Call call, Response response) throws IOException {
}
});
}
}
}