Skip to content

Instantly share code, notes, and snippets.

@pwnfoo
Created February 15, 2016 01:34
Show Gist options
  • Select an option

  • Save pwnfoo/d073dd5c0675c58cfe3d to your computer and use it in GitHub Desktop.

Select an option

Save pwnfoo/d073dd5c0675c58cfe3d to your computer and use it in GitHub Desktop.
/*
* Decompiled with CFR 0_110.
*
* Could not load the following classes:
* org.eclipse.swt.events.SelectionAdapter
* org.eclipse.swt.events.SelectionEvent
* org.eclipse.swt.widgets.Label
*/
package com.code.anokha;
import com.code.anokha.CryptName;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.widgets.Label;
class productKey
extends SelectionAdapter {
private final /* synthetic */ Label val$StatusBar;
productKey(Label label) {
this.val$StatusBar = label;
}
public void widgetSelected(SelectionEvent e) {
if (productKey.this.cryptname.getKey() != null || productKey.this.cryptname.getKey() != null) {
boolean KeyPass = productKey.this.cryptname.isTrueKey(productKey.this.cryptname.getKey(), productKey.this.cryptname.getName());
if (KeyPass) {
this.val$StatusBar.setText("Verified Successfully !!");
} else {
this.val$StatusBar.setText("Incorrect Product Key! Try Again.");
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment