Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-01-2016, 16:55
_Servil_ _Servil_ is offline
VIP
 
Join Date: Jan 2002
Posts: 171
Rept. Given: 57
Rept. Rcvd 12 Times in 2 Posts
Thanks Given: 78
Thanks Rcvd at 27 Times in 13 Posts
_Servil_ Reputation: 12
[HELP] Preparing IDA Pro to remotely debug Android package

Hi, it seems I got stuck in IDA's setup for remotely starting Android package.
What I have is decompiled smali source obtained from package's classes.dex with set breakpoints.
Invoking the app from remote device seems IDA is able to attach to it, but if I want start the app in IDA by F9 I get warning
"No package has been specified.
Please go to Debugger Options and set specific options."
then ADB failed error: listener: 'tcp23915'' not found.

I debug options for dalvik
Application: <apkpath>
Input file: <apkpath>
Port: 23915

What are the exact string I should put in App and Inputfile? Help says
Quote:
Application

Host application to launch. For executable files, this field is
equal to the 'input file'.
If this field is wrong, IDA will not be able to launch the program.
For remoting debugging, this field denotes a remote file.

Input file
The input file used to create the database.
For remoting debugging, this field denotes a remote file.
setting both to PackageId doesnot help.
A good tute for Android debugging app in IDA would come helpful.
__________________
_Servil_
SemtekSoft Corporation, Inc.
Reply With Quote
  #2  
Old 10-04-2016, 03:42
Mahmoudnia's Avatar
Mahmoudnia Mahmoudnia is offline
Family
 
Join Date: Nov 2012
Location: Iran
Posts: 192
Rept. Given: 58
Rept. Rcvd 137 Times in 45 Posts
Thanks Given: 92
Thanks Rcvd at 151 Times in 75 Posts
Mahmoudnia Reputation: 100-199 Mahmoudnia Reputation: 100-199
Hi _Servil_
My friend Sh4DoVV , create a little tut for debugging apk files
Code:
https://www.mediafire.com/?j1i7l90ufcqzaox
Good Luck
Reply With Quote
The Following 2 Users Say Thank You to Mahmoudnia For This Useful Post:
h8er (11-15-2016), _Servil_ (10-05-2016)
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
Extracting file from MSI package new_profile General Discussion 20 12-09-2013 15:06


All times are GMT +8. The time now is 05:32.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX