Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   java cracking (https://forum.exetools.com/showthread.php?t=13074)

niculaita 02-08-2019 01:16

public onClick and added move-object v0, v1 see at line 67 also compareTo and key near.png
Link:
https://www101.zippyshare.com/v/9wgyFTaQ/file.html

so, question is: how to make android program pop up the v0 value after line
move-object v0, v1
????

CodeCracker 02-08-2019 02:33

This is more like Android reversing...

Android boolean examples:
A boolean method changed to return false:
1200 const/4 v0 0
0F00 return v0

A boolean method changed to return true:
1210 const/4 v0 1
0F00 return v0

In your example niculaita:
move-result v1
; this set v1 with 1/0

ifnez v1, : cond1
; check v1

https://www.tutorialspoint.com/java/java_string_compareto.htm
https://www.javatpoint.com/java-string-compareto
Java String compareTo() Method returns 0 if strings are equal!

wilson bibe 02-18-2021 17:55

JDGui version 1.6.6
Download and changelog

http://java-decompiler.github.io/

DominicCummings 03-24-2021 02:47

I've also had good experiences with jad -- http://www.kpdus.com/jad.html -- in the past.

mcr4ck 03-26-2021 04:24

How to debug Java applications like OllyDBG
Debugging is available for Java applications?

nimaarek 03-26-2021 06:49

Quote:

Originally Posted by mcr4ck (Post 122785)
How to debug Java applications like OllyDBG
Debugging is available for Java applications?

Have you read this article?


Quote:

Native Java Bytecode Debugging without Source Code
Code:

https://www.crowdstrike.com/blog/native-java-bytecode-debugging-without-source-code

winndy 03-27-2021 19:24

As far as I know, there is no real jvm byte code debugger.

wilson bibe 03-27-2021 19:37

You can use to decompile java codes the RECAF too, https://www.coley.software/Recaf/

niculaita 03-28-2021 09:04

# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
.locals 1

.line 1
iget-object p1, p0, Lcom/bakopoulos/common/StartActivity$h;->c:Landroid/widget/EditText;

invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

move-result-object p1

invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

move-result-object p1

.line 2
sget-object p2, Lcom/bakopoulos/common/m;->c:Ljava/lang/String;

move-object p1, p2

invoke-virtual {p1, p2}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I


Please tell me how it can be saved or showed up on screen of my android phone value of p1 after line code
move-object p1, p2
??? this is smali code Thanks anyway!


All times are GMT +8. The time now is 03:21.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX