Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #61  
Old 02-08-2019, 01:16
niculaita's Avatar
niculaita niculaita is offline
Family
 
Join Date: Jun 2011
Location: here
Posts: 1,358
Rept. Given: 955
Rept. Rcvd 89 Times in 61 Posts
Thanks Given: 4,558
Thanks Rcvd at 482 Times in 341 Posts
niculaita Reputation: 89
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
????
__________________
Decode and Conquer
Reply With Quote
The Following User Says Thank You to niculaita For This Useful Post:
Indigo (07-19-2019)
  #62  
Old 02-08-2019, 02:33
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 514
Rept. Given: 28
Rept. Rcvd 459 Times in 161 Posts
Thanks Given: 22
Thanks Rcvd at 2,229 Times in 403 Posts
CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499
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!
Reply With Quote
The Following 2 Users Say Thank You to CodeCracker For This Useful Post:
Indigo (07-19-2019), nimaarek (02-09-2019)
  #63  
Old 02-18-2021, 17:55
wilson bibe wilson bibe is offline
VIP
 
Join Date: Nov 2012
Posts: 499
Rept. Given: 491
Rept. Rcvd 439 Times in 180 Posts
Thanks Given: 920
Thanks Rcvd at 178 Times in 113 Posts
wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499
JDGui version 1.6.6
Download and changelog

http://java-decompiler.github.io/
Reply With Quote
The Following 2 Users Say Thank You to wilson bibe For This Useful Post:
ian (03-04-2021), niculaita (02-19-2021)
  #64  
Old 03-24-2021, 02:47
DominicCummings DominicCummings is offline
Friend
 
Join Date: Mar 2021
Posts: 14
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 28
Thanks Rcvd at 17 Times in 8 Posts
DominicCummings Reputation: 0
I've also had good experiences with jad -- http://www.kpdus.com/jad.html -- in the past.
Reply With Quote
  #65  
Old 03-26-2021, 04:24
mcr4ck mcr4ck is offline
Friend
 
Join Date: Nov 2019
Location: iran
Posts: 50
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 38
Thanks Rcvd at 30 Times in 16 Posts
mcr4ck Reputation: 1
How to debug Java applications like OllyDBG
Debugging is available for Java applications?
Reply With Quote
  #66  
Old 03-26-2021, 06:49
nimaarek nimaarek is offline
Friend
 
Join Date: Sep 2017
Location: Rivendell
Posts: 24
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 235
Thanks Rcvd at 37 Times in 17 Posts
nimaarek Reputation: 2
Quote:
Originally Posted by mcr4ck View Post
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
Reply With Quote
The Following 2 Users Say Thank You to nimaarek For This Useful Post:
Artic (07-25-2022), CRC32 (03-26-2021)
  #67  
Old 03-27-2021, 19:24
winndy winndy is offline
VIP
 
Join Date: Sep 2005
Posts: 236
Rept. Given: 104
Rept. Rcvd 26 Times in 12 Posts
Thanks Given: 27
Thanks Rcvd at 16 Times in 13 Posts
winndy Reputation: 26
As far as I know, there is no real jvm byte code debugger.
Reply With Quote
  #68  
Old 03-27-2021, 19:37
wilson bibe wilson bibe is offline
VIP
 
Join Date: Nov 2012
Posts: 499
Rept. Given: 491
Rept. Rcvd 439 Times in 180 Posts
Thanks Given: 920
Thanks Rcvd at 178 Times in 113 Posts
wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499 wilson bibe Reputation: 400-499
You can use to decompile java codes the RECAF too, https://www.coley.software/Recaf/
Reply With Quote
  #69  
Old 03-28-2021, 09:04
niculaita's Avatar
niculaita niculaita is offline
Family
 
Join Date: Jun 2011
Location: here
Posts: 1,358
Rept. Given: 955
Rept. Rcvd 89 Times in 61 Posts
Thanks Given: 4,558
Thanks Rcvd at 482 Times in 341 Posts
niculaita Reputation: 89
# 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/StringI


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!
__________________
Decode and Conquer
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Cracking... deephousederek General Discussion 5 05-17-2005 07:55


All times are GMT +8. The time now is 20:48.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )