正在查看: Share Any v2.1.7 应用的 P2pHotspotService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Share Any v2.1.7 应用的 P2pHotspotService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package net.shareany.app.service;
import a6.j;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.net.wifi.p2p.WifiP2pManager;
import android.os.IBinder;
import m5.h;
public class P2pHotspotService extends Service {
public static final int e = 0;
public j a = null;
public WifiP2pManager b = null;
public WifiP2pManager.Channel c = null;
public BroadcastReceiver d = null;
public class a implements WifiP2pManager.ActionListener {
public a(P2pHotspotService p2pHotspotService) {
}
@Override
public void onFailure(int i) {
h.a(new byte[]{-35, 71, -42}, new byte[]{-114, 6});
h.a(new byte[]{-109, 0, -84, 10, -73, 0, -31, 2, -77, 10, -76, 21, -31, 0, -77, 23, -82, 23, -31, 95, -31}, new byte[]{-63, 101});
}
@Override
public void onSuccess() {
h.a(new byte[]{39, Byte.MAX_VALUE, 44}, new byte[]{116, 62});
h.a(new byte[]{-91, 59, -102, 49, -127, 59, -41, 57, -123, 49, -126, 46, -41, 58, -104, 48, -110}, new byte[]{-9, 94});
}
}
public final void a(int i, int i2) {
sendBroadcast(new Intent(h.a(new byte[]{-6, 70, -12, 7, -2, 76, -9, 70, -9, 75, -4, 93, -8, 7, -51, 91, -4, 75, -11, 76, -54, 65, -10, 93, -73, 93, -21, 72, -9, 90, -8, 74, -19, 64, -10, 71, -73, 72, -6, 93, -16, 70, -9, 7, -47, 102, -51, 122, -55, 102, -51, 118, -54, 125, -40, 125, -52, 122}, new byte[]{-103, 41})).putExtra(h.a(new byte[]{64, 21, 81, 31, 68, 37, 74, 25, 86, 29, 74, 25, 96, 3, 68, 15, 73, 8, 65}, new byte[]{37, 109}), false).putExtra(h.a(new byte[]{-27, 3, -12, 9, -31, 51, -17, 15, -13, 11, -17, 15, -58, 26, -23, 23, -27, 31, -59, 9, -14, 20, -14}, new byte[]{Byte.MIN_VALUE, 123}), i).putExtra(h.a(new byte[]{-93, -48, -78, -38, -89, -32, -87, -36, -75, -40, -87, -36, Byte.MIN_VALUE, -55, -81, -60, -93, -52, -108, -51, -89, -37, -87, -58}, new byte[]{-58, -88}), i2));
}
@Override
public IBinder onBind(Intent intent) {
return null;
}
@Override
public void onCreate() {
throw new UnsupportedOperationException("Method not decompiled: net.shareany.app.service.P2pHotspotService.onCreate():void");
}
@Override
public void onDestroy() {
h.a(new byte[]{-58, -39, -51}, new byte[]{-107, -104});
h.a(new byte[]{-39, 87, -7, 45, -26, 17, -6, 21, -26, 17, -38, 0, -5, 19, -32, 6, -20, 69, -26, 11, -51, 0, -6, 17, -5, 10, -16, 77, -96}, new byte[]{-119, 101});
if (this.a.f()) {
this.a.a();
h.a(new byte[]{116, -127, Byte.MAX_VALUE}, new byte[]{39, -64});
h.a(new byte[]{41, 70, 9, 60, 22, 0, 10, 4, 22, 0, 42, 17, 11, 2, 16, 23, 28, 84, 22, 26, 61, 17, 10, 0, 11, 27, 0, 92, 80, 78, 89, 39, 13, 27, 9, 4, 16, 26, 30, 84, 17, 27, 13, 7, 9, 27, 13, 84, 81, 4, 11, 17, 15, 29, 22, 1, 10, 24, 0, 84, 10, 0, 24, 6, 13, 17, 29, 93}, new byte[]{121, 116});
}
BroadcastReceiver broadcastReceiver = this.d;
if (broadcastReceiver != null) {
unregisterReceiver(broadcastReceiver);
}
this.b.removeGroup(this.c, new a(this));
this.c.close();
super.onDestroy();
}
@Override
public int onStartCommand(Intent intent, int i, int i2) {
super.onStartCommand(intent, i, i2);
h.a(new byte[]{104, 82, 99}, new byte[]{59, 19});
h.a(new byte[]{-118, 73, -118, 17, -99, 95, -95, 69, -109, 67, -122, 114, -99, 92, -97, 80, -100, 85, -38, 24, -46}, new byte[]{-14, 49});
intent.getAction();
return 1;
}
}