Go Back   BWHacks > BWHacks > User Downloads > System & Utilities

Reply
 
LinkBack Thread Tools

Old 05-16-2008, 12:06 AM   #1 (permalink)
hypn
inactive
Gold Member

Disciple
 
hypn's Avatar
 
Join Date: Sep 2005
Location: South Africa
Posts: 512
hypn has disabled reputation
Default Hypn's OllyDbg Debug Logger v0.1

This program logs OllyDbg's "debug" window (or at least that's what most people call it - it's the little window below the assembler code, and above the memory dump) where there is a break-point set which gets hit multiple times. In short, it copies that panel's values to a file, presses "F9" (to continue running the program), and waits until that break-point is hit again, and continues to repeat doing that.


Example:
(assuming you have Starcraft 1.15.2 open, and Ollydbg attached):

1) You have a break point on:
PHP Code:
004E4F06   8902             MOV DWORD PTR DS:[EDX],EAX 
2) The first time the break point is triggered, the "debug" values are:
PHP Code:
EAX=00000033
DS
:[0068C218]=00000032 
3) You want to keep looping through each break until EAX is equal to 00000055

4) Run "Hypn's OllyDbg Debug Logger v0.1.exe"

5) You get prompted for "String to stop on?"

6) Enter "EAX=00000055"

7) Watch as OllyDbg automatically "break"s and "continue"s

8) It stops at your break-point once your condition is met

9) Open "log.txt" (in the same directory as <program>) for a log of all the debug values


Steps 1-6:
Name:  01.gif
Views: 82
Size:  41.4 KB

Step 9:
Name:  02.gif
Views: 81
Size:  12.4 KB


Download:
Hypn's OllyDbg Debug Logger v0.1.zip


Notes and general info:
* it was coded in AutoHotkey 3 (I've only started using it, and I figured this would be an interesting challenge)
* it over-writes your "log.txt" each time
* if you don't give it a "String to stop on", it doesn't run (I should probably change this
* it doesn't save to file until it's done running
* if you want to stop it from running, right click on the icon in your system tray and choose exit
* no you may not decompile my code (hope fully you wont be able to, but I hardly went to great lengths to protect it) - message me if you want the source
* I will not be held responsible if it blows up your computer or whatever
* I'll probably add more features, and fix bugs and whatever - so I guess you can post ideas/complaints here - though it's likely I'll re-code it in assembler or c
* for those of you who don't see any use for this - think map hacks, or break-pointing a "build" or "issue command" function or something
* shout-outs: all you guys on bwhacks that contribute stuff, and Perma, Antivoid, and GoblynCatchR

See original thread here: 2 OllyDbg questions
__________________
http://www.hypn.za.net
hypn 15 0FF11|\|3   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:24 PM.


vBulletin style developed by Transverse Styles

Powered by vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
Copyright © 2004-2008 BWHacksAd Management by RedTyger