K-Studios Hub v1.0版本的 MD5 值为:27abedca3b2878e1cf06ac747d354792
以下内容为反编译后的 BackkerActivity.java 源代码,内容仅作参考
package com.KS.KStudiosHub;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.SparseBooleanArray;
import android.util.TypedValue;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import com.KS.KStudiosHub.RequestNetwork;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.FirebaseApp;
import com.google.firebase.auth.AuthResult;
import com.google.firebase.auth.FirebaseAuth;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Random;
public class BackkerActivity extends AppCompatActivity {
private RequestNetwork Sender;
private RequestNetwork.RequestListener _Sender_request_listener;
private OnCompleteListener<AuthResult> _fAuth_create_user_listener;
private OnCompleteListener<Void> _fAuth_reset_password_listener;
private OnCompleteListener<AuthResult> _fAuth_sign_in_listener;
private Button button1;
private SharedPreferences deleted_;
private FirebaseAuth fAuth;
private OnCompleteListener<Void> fAuth_deleteUserListener;
private OnCompleteListener<Void> fAuth_emailVerificationSentListener;
private OnCompleteListener<AuthResult> fAuth_googleSignInListener;
private OnCompleteListener<AuthResult> fAuth_phoneAuthListener;
private OnCompleteListener<Void> fAuth_updateEmailListener;
private OnCompleteListener<Void> fAuth_updatePasswordListener;
private OnCompleteListener<Void> fAuth_updateProfileListener;
private LinearLayout linear1;
private TextView textview1;
private TextView textview2;
private HashMap<String, Object> map = new HashMap<>();
private Intent TP = new Intent();
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(R.layout.backker);
initialize(bundle);
FirebaseApp.initializeApp(this);
initializeLogic();
}
private void initialize(Bundle bundle) {
this.linear1 = (LinearLayout) findViewById(R.id.linear1);
this.textview1 = (TextView) findViewById(R.id.textview1);
this.textview2 = (TextView) findViewById(R.id.textview2);
this.button1 = (Button) findViewById(R.id.button1);
this.Sender = new RequestNetwork(this);
this.fAuth = FirebaseAuth.getInstance();
this.deleted_ = getSharedPreferences("deleted_", 0);
this.button1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
BackkerActivity.this.map = new HashMap();
BackkerActivity.this.map.put("username", FirebaseAuth.getInstance().getCurrentUser().getEmail());
BackkerActivity.this.map.put("content", "***Deletion Progress Terminated***");
BackkerActivity.this.Sender.setParams(BackkerActivity.this.map, 0);
BackkerActivity.this.Sender.startRequestNetwork("POST", "https://discord.com/api/webhooks/1109596865982382110/IsBvMwLyhIot46YyR2__DUwOHaVvPIBHydgjMqC_ZgQ76bCTHzaUNxCfEaZs5cqJL-CN", "#".concat(String.valueOf(SketchwareUtil.getRandom(1000, 9999))), BackkerActivity.this._Sender_request_listener);
BackkerActivity.this.deleted_.edit().putString("a1b2c3", "0").commit();
BackkerActivity.this.TP.setClass(BackkerActivity.this.getApplicationContext(), RegLogActivity.class);
BackkerActivity.this.startActivity(BackkerActivity.this.TP);
BackkerActivity.this.finish();
}
});
this._Sender_request_listener = new RequestNetwork.RequestListener() {
@Override
public void onResponse(String str, String str2, HashMap<String, Object> hashMap) {
}
@Override
public void onErrorResponse(String str, String str2) {
}
};
this.fAuth_updateEmailListener = new OnCompleteListener<Void>() {
@Override
public void onComplete(Task<Void> task) {
task.isSuccessful();
if (task.getException() != null) {
task.getException().getMessage();
}
}
};
this.fAuth_updatePasswordListener = new OnCompleteListener<Void>() {
@Override
public void onComplete(Task<Void> task) {
task.isSuccessful();
if (task.getException() != null) {
task.getException().getMessage();
}
}
};
this.fAuth_emailVerificationSentListener = new OnCompleteListener<Void>() {
@Override
public void onComplete(Task<Void> task) {
task.isSuccessful();
if (task.getException() != null) {
task.getException().getMessage();
}
}
};
this.fAuth_deleteUserListener = new OnCompleteListener<Void>() {
@Override
public void onComplete(Task<Void> task) {
task.isSuccessful();
if (task.getException() != null) {
task.getException().getMessage();
}
}
};
this.fAuth_phoneAuthListener = new OnCompleteListener<AuthResult>() {
@Override
public void onComplete(Task<AuthResult> task) {
task.isSuccessful();
if (task.getException() != null) {
task.getException().getMessage();
}
}
};
this.fAuth_updateProfileListener = new OnCompleteListener<Void>() {
@Override
public void onComplete(Task<Void> task) {
task.isSuccessful();
if (task.getException() != null) {
task.getException().getMessage();
}
}
};
this.fAuth_googleSignInListener = new OnCompleteListener<AuthResult>() {
@Override
public void onComplete(Task<AuthResult> task) {
task.isSuccessful();
if (task.getException() != null) {
task.getException().getMessage();
}
}
};
this._fAuth_create_user_listener = new OnCompleteListener<AuthResult>() {
@Override
public void onComplete(Task<AuthResult> task) {
task.isSuccessful();
if (task.getException() != null) {
task.getException().getMessage();
}
}
};
this._fAuth_sign_in_listener = new OnCompleteListener<AuthResult>() {
@Override
public void onComplete(Task<AuthResult> task) {
task.isSuccessful();
if (task.getException() != null) {
task.getException().getMessage();
}
}
};
this._fAuth_reset_password_listener = new OnCompleteListener<Void>() {
@Override
public void onComplete(Task<Void> task) {
task.isSuccessful();
}
};
}
private void initializeLogic() {
}
@Override
public void onBackPressed() {
}
@Deprecated
public void showMessage(String str) {
Toast.makeText(getApplicationContext(), str, 0).show();
}
@Deprecated
public int getLocationX(View view) {
int[] iArr = new int[2];
view.getLocationInWindow(iArr);
return iArr[0];
}
@Deprecated
public int getLocationY(View view) {
int[] iArr = new int[2];
view.getLocationInWindow(iArr);
return iArr[1];
}
@Deprecated
public int getRandom(int i, int i2) {
return new Random().nextInt((i2 - i) + 1) + i;
}
@Deprecated
public ArrayList<Double> getCheckedItemPositionsToArray(ListView listView) {
ArrayList<Double> arrayList = new ArrayList<>();
SparseBooleanArray checkedItemPositions = listView.getCheckedItemPositions();
for (int i = 0; i < checkedItemPositions.size(); i++) {
if (checkedItemPositions.valueAt(i)) {
arrayList.add(Double.valueOf(checkedItemPositions.keyAt(i)));
}
}
return arrayList;
}
@Deprecated
public float getDip(int i) {
return TypedValue.applyDimension(1, i, getResources().getDisplayMetrics());
}
@Deprecated
public int getDisplayWidthPixels() {
return getResources().getDisplayMetrics().widthPixels;
}
@Deprecated
public int getDisplayHeightPixels() {
return getResources().getDisplayMetrics().heightPixels;
}
}