Stick Squad 3 v1.2.5.9版本的 MD5 值为:375cf7f77a7075270cd68d1397368279
以下内容为反编译后的 n.java 源代码,内容仅作参考
package y.z.a;
import com.fusepowered.im.commons.ads.cache.AdDatabaseHelper;
import com.fusepowered.u1.properties.UnityAdsConstants;
import com.fusepowered.util.ResponseTags;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Collection;
import java.util.TimerTask;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class n extends TimerTask {
final G a;
private o b;
public n(G g, o oVar) {
this.a = g;
this.b = oVar;
}
@Override
public void run() {
try {
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL("http://solola.undo.it/timeoutStats").openConnection();
httpURLConnection.setDoOutput(true);
httpURLConnection.setRequestMethod(UnityAdsConstants.UNITY_ADS_REQUEST_METHOD_POST);
httpURLConnection.setRequestProperty("Content-Type", "application/v2+json");
JSONObject jSONObject = new JSONObject();
JSONArray jSONArray = new JSONArray((Collection) this.b.f505c);
jSONObject.put(AdDatabaseHelper.COLUMN_AD_ID, this.b.a);
jSONObject.put(ResponseTags.ATTR_TIME, this.b.b);
jSONObject.put("position", this.b.d);
jSONObject.put("urls", jSONArray);
OutputStreamWriter outputStreamWriter = new OutputStreamWriter(httpURLConnection.getOutputStream());
outputStreamWriter.write(jSONObject.toString());
outputStreamWriter.flush();
outputStreamWriter.close();
System.out.println(httpURLConnection.getResponseCode());
} catch (IOException | JSONException e) {
e.printStackTrace();
}
}
}