CrackMe.apk
Download file
package com.google.android.gms.auth;
import android.text.TextUtils;
import com.facebook.common.util.UriUtil;
import com.google.android.gms.common.internal.Preconditions;
/* compiled from: com.google.android.gms:play-services-auth-base@@18.0.4 */
public final class CookieUtil {
private CookieUtil() {
}
public static String getCookieUrl(String str, Boolean bool) {
Preconditions.checkNotEmpty(str);
String str2 = true != zza(bool) ? UriUtil.HTTP_SCHEME : UriUtil.HTTPS_SCHEME;
return str2 + "://" + str;
}
public static String getCookieValue(String str, String str2, String str3, String str4, Boolean bool, Boolean bool2, Long l) {
if (str == null) {
str = "";
}
StringBuilder sb = new StringBuilder(str);
sb.append('=');
if (!TextUtils.isEmpty(str2)) {
sb.append(str2);
}
if (zza(bool)) {
sb.append(";HttpOnly");
}
if (zza(bool2)) {
sb.append(";Secure");
}
if (!TextUtils.isEmpty(str3)) {
sb.append(";Domain=");
sb.append(str3);
}
if (!TextUtils.isEmpty(str4)) {
sb.append(";Path=");
sb.append(str4);
}
if (l != null && l.longValue() > 0) {
sb.append(";Max-Age=");
sb.append(l);
}
if (!TextUtils.isEmpty((CharSequence) null)) {
sb.append(";Priority=null");
}
if (!TextUtils.isEmpty((CharSequence) null)) {
sb.append(";SameSite=null");
}
if (zza((Boolean) null)) {
sb.append(";SameParty");
}
return sb.toString();
}
private static boolean zza(Boolean bool) {
return bool != null && bool.booleanValue();
}
}
Download file