Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-20-2015, 15:40
foosaa foosaa is offline
Friend
 
Join Date: Dec 2005
Posts: 106
Rept. Given: 36
Rept. Rcvd 13 Times in 11 Posts
Thanks Given: 163
Thanks Rcvd at 84 Times in 32 Posts
foosaa Reputation: 14
Post Guidance required

Dear All,

I need some help in developing the following. If you could guide or throw some pointers from where I can get more information, it would be great. Have been part of this great community for long. Got a requirement to develop a program (POC) on the following lines to check the feasibility.

Aim is to capture information from defined application window. Though the current POC requires only Windows Applications, it might be required to do the same on Linux and Mac (Solutions like xev, F-Script do existing on these platforms). Please do not bother to look into other operating systems for now.

On Windows platform, I need to capture information from Thick client and Thin clients (Browsers). If an application is defined to be hooked / monitored (I do not require modification or any other control to be exhibited on the monitored application), then I need to capture information from a set of defined controls (say like a text box).

I believe I could do Thick Client monitoring using API Hooking approach (either by using Microsoft Detours or similar API Hooking library) and log it to a file when the window gets into Focus. I have started coding the necessary flow (though have not progressed much) to define the hook target configuration, window handle identification, etc., I was really puzzled how to get the information from Thin clients aka browsers.

That's the reason for this request.

I need to capture HTML Control content from multiple browsers (IE, Chrome, Firefox, Opera) seamlessly. Are there any libraries / approaches that could be used to capture that? I researched cross browser testing tools like selenium (and it requires the script to be created and which website to visit and which web page to load), but then the user might be browsing anything on his will. Even in this instance, I have configure the program to capture the information from the webpage, only if the URL matches a certain defined list and I might have to record the text from a defined control from the loaded web page.

As I have researched (limited research), there are not methods of hooking the browser content and get the DOM for parsing and to extract the values. To an extent it is possible in IE with COM Hooking, but an universal solution which could even work across different versions of IE itself is a problem.

I have thought about the following approaches (for which there are references and might be possible), but I feel it might be a long shot.
  • 1. Sniffing the wire (Again, encryption will cause issues) and get the data and reverse map it to the target using Handles and open / connected port information
  • 2. Capturing keyboard and performing a reverse mapping with the process id / handle information and recording the relevant data. Even here again, I could skip any window which is not configured to be monitored and filter it out. Getting the respective controls might be possible using the window hooking approach.

Could anyone point some information / approach on the above.

I am really sorry to have created such a long post and consuming your valuable time, but I trust the minds here than any where else.

I thank each and every one who have read the post.


If any help could be provided I would be really grateful.

Thanks again friends!
Reply With Quote
  #2  
Old 11-20-2015, 19:39
dion dion is offline
game tech
 
Join Date: Jan 2002
Posts: 173
Rept. Given: 16
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 8
Thanks Rcvd at 13 Times in 8 Posts
dion Reputation: 2
you mean scraping? autoit good enough.
Reply With Quote
The Following User Says Thank You to dion For This Useful Post:
foosaa (11-21-2015)
  #3  
Old 11-21-2015, 14:27
foosaa foosaa is offline
Friend
 
Join Date: Dec 2005
Posts: 106
Rept. Given: 36
Rept. Rcvd 13 Times in 11 Posts
Thanks Given: 163
Thanks Rcvd at 84 Times in 32 Posts
foosaa Reputation: 14
Thumbs up

Thanks dion.

I will consider that as well.

A quick question. Can it read from web pages?

I know it can read text from Thick client applications since it functions on the window handle / window message functionality and mimics keyboard / mouse interactions.

I will look into it though. Thanks again!
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
Guidance is needed for unpacking winlicence protected app Turkuaz General Discussion 5 11-29-2018 04:32
# Miracle Box v2.37 Cracked not box Required # RDGMax General Discussion 5 06-29-2017 21:14
JMI is Required to Read This chessgod101 General Discussion 38 03-01-2013 21:32
Request: guidance on vb nag screen Wirestealth General Discussion 5 02-01-2010 22:25
Ollydbg Help Required. :-/ ISquishWorms General Discussion 4 02-18-2005 01:08


All times are GMT +8. The time now is 16:52.


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