The Bytecode Club - Reverse Engineering Forum
[HELP] Bypass Security Check - Printable Version

+- The Bytecode Club - Reverse Engineering Forum (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Programming (https://the.bytecode.club/forumdisplay.php?fid=86)
+--- Thread: [HELP] Bypass Security Check (/showthread.php?tid=1818)



[HELP] Bypass Security Check - youbrey - 05-09-2016

Hi guys, i need your help to bypass security on this game. i tried to bypass before but still no luck. always get 'detect security error' when open the game.

on MainActivity.smali :

Code:
.method public DetectAppFalsification()V    .locals 2    .prologue    const/4 v1, 0x1    .line 1327    iget-boolean v0, p0, Lcom/netmarble/sknightsgb/MainActivity;->useSecureApp:Z    if-eqz v0, :cond_0    .line 1328    invoke-static {}, Lnmss/app/NmssSa;->getInstObj()Lnmss/app/NmssSa;    move-result-object v0    invoke-virtual {v0, v1, v1}, Lnmss/app/NmssSa;->detectApkIntgError(ZZ)V    .line 1331    :cond_0    return-void .end method

nmssa.smali :
Code:
.method public detectApkIntgError(ZZ)V    .locals 2    .param p1, "bShowMsgbox"    # Z    .param p2, "bExit"    # Z    .prologue    .line 105    invoke-direct {p0}, Lnmss/app/NmssSa;->nmssNativeSendLogApkIntgError()V    .line 107    if-eqz p1, :cond_0    .line 108    const/4 v0, 0x1    const-string v1, "Security Detection"    invoke-virtual {p0, v0, v1, p2}, Lnmss/app/NmssSa;->AlertMsg(ILjava/lang/String;Z)V    .line 109    :cond_0    return-void .end method

Target APK : https://play.google.com/store/apps/details?id=com.netmarble.sknightsgb&hl=en
On other game with this same security method i can simply bypass on lib files, but that method will not work on this game. i dunno why. i need your help.


RE: [HELP] Bypass Security Check - newbreedsoftware - 05-31-2016

did you try changing the if-eqz v0, :cond_0 to if-nez v0, :cond_0

in the MainActivity, change

if-eqz v0, :cond_0 to if-nez v0, :cond_0

in the nmssa, change

if-eqz p1, :cond_0 to if-nez p1, :cond_0