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,259
Rept. Given: 909
Rept. Rcvd 87 Times in 59 Posts
Thanks Given: 3,354
Thanks Rcvd at 465 Times in 329 Posts
niculaita Reputation: 87
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
Family
 
Join Date: Jun 2011
Posts: 331
Rept. Given: 19
Rept. Rcvd 268 Times in 83 Posts
Thanks Given: 13
Thanks Rcvd at 1,136 Times in 250 Posts
CodeCracker Reputation: 200-299 CodeCracker Reputation: 200-299 CodeCracker Reputation: 200-299
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: 452
Rept. Given: 479
Rept. Rcvd 439 Times in 180 Posts
Thanks Given: 492
Thanks Rcvd at 160 Times in 99 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: 12
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 23
Thanks Rcvd at 14 Times in 6 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: 35
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 29
Thanks Rcvd at 16 Times in 12 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: 228
Thanks Rcvd at 36 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 User Says Thank You to nimaarek For This Useful Post:
CRC32 (03-26-2021)
  #67  
Old 03-27-2021, 19:24
winndy winndy is offline
VIP
 
Join Date: Sep 2005
Posts: 232
Rept. Given: 105
Rept. Rcvd 25 Times in 11 Posts
Thanks Given: 23
Thanks Rcvd at 16 Times in 13 Posts
winndy Reputation: 25
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: 452
Rept. Given: 479
Rept. Rcvd 439 Times in 180 Posts
Thanks Given: 492
Thanks Rcvd at 160 Times in 99 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,259
Rept. Given: 909
Rept. Rcvd 87 Times in 59 Posts
Thanks Given: 3,354
Thanks Rcvd at 465 Times in 329 Posts
niculaita Reputation: 87
# 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 19:57.


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