Register for your free account! | Forgot your password?

You last visited: Today at 13:30

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



OllyDbg newb

Discussion on OllyDbg newb within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2008
Posts: 3
Received Thanks: 0
OllyDbg newb

Hi, I wanted to give OllyDbg a try. I dont know much about assembler, but I wanted to try anyway.
I wrote a simple 'Hello World' program. Code:



It writes 'Hallo Welt' into Label1. What I wanted to do is change this into writing 'Hammo World', so just changing two letters.
I found this spot in OllyDbg:



As you see, I tried the most intuitive thing: Change the string to 'Hammo Welt'. But OllyDbg does not know this command. That's strange since it is already in the program. If I doubleclick the unaltered line and try to save it again, I cannot because OllyDbg does not know what it read itself.

So I tried something else:


Using binary edit, I wanted to change the text to 'Hammo Welt' by swapping 6C with 6D. Saving this produced the following:



Totally not what I wanted. It messed everything up.
So I wonder: Does OllyDbg suck or do I suck? I heard so much about this disassembler being to 'intuitive' but I don't see much of that.
theevilworm is offline  
Old 06/27/2012, 13:56   #2


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,909
Received Thanks: 25,409
It messes up, because you try to overwrite code with strings.
Olly doenst suck, but you It is intuitive, but you have to know what you are doing.

The analysis failed for that code section, otherwise you would see something like
push some_offset "Hallo Welt"

You have to go to that offset in the dumb window and change the string via binary edit.

You could try to reanalyse that code or rightclick -> some submenu -> treat section as code.
Or you could try the plugin AnalyzeThis, which improves Ollys analysis capabilities.

Btw. you should change the color theme, everything in black and white is not very easy to analyze (for your eyes).
MrSm!th is offline  
Old 06/28/2012, 19:24   #3
 
elite*gold: 0
Join Date: Jun 2012
Posts: 187
Received Thanks: 58
Code:
nanoex Project1.exe
size: 42,424 Byte
> strrplc
> 1
> "Hallo Welt"
> "Hello Worl"
"Hallo Welt" 1 occurance replaced.
^[
Linux.


Oh by the way since you're using Delphi, download and install the cnWizards pack for delphi. There is imho no code editor which compete with a delphi code editor with cnWizards.

Imagine this to just be black and white:
tnd0 is offline  
Old 06/29/2012, 02:37   #4
 
link's Avatar
 
elite*gold: 1
Join Date: Jul 2005
Posts: 553
Received Thanks: 454
Glatze! Glatze! MEINE AUGEN!!

Did you even execute it after modifying? Because it actually works and everything is correct. There's just a small analysis-problem after the modification. Simply try Ctrl+A again or use right-click, analysis, during next analysis treat as ascii text.

Can't even read the code in your pic, it's more like I was reading the colors
link is offline  
Reply


Similar Threads Similar Threads
Help a newb with a bot please
01/29/2011 - Lineage 2 - 3 Replies
hello everybody today i just got soo pissed off by a bot that was farming like hell...and i was wondering if there is any bot for freya client on epvpers....considering that i always found everything i need and more on epvpers you guys are my last hope..please give me a link or everything that can help me with a bot...thx alot once again i will translate this with google translator so the guys that dont understand english could help me:D german:Hallo allerseits Ich habe heute soo durch...
I'm newb out
05/09/2008 - Say Hello - 0 Replies
Yo! i'm new to the site .. got a lot to learn! escpecially German :)
newb hir @_@
05/01/2008 - RF Online - 3 Replies
can any1 help me on how to use hacks.. what i will download 1st?? what to do?? should i use CE?? all the hacks i need is damage/ASPD/1 hit hack(if there is a hack) i play in RFph so plzz any pinoys there.. i could really use ur help.. tytytyty:)
newb
03/02/2007 - Conquer Online 2 - 4 Replies
I was in the market and I saw a noob, he said "S> 130 War" so I asked him how much, he said 3.5mil. I asked him what the catch was, he just said "3.5mil!" "3.5mil!" "3.5mil!" Yea, three times. So I told him "isn't that alittle cheap for a 130 war?" he said : "no" "no"
newb in need
03/08/2006 - Conquer Online 2 - 4 Replies
Hello, im pretty new at hacking with all these marcro's and such but when i tryed 2 download something like...such as the auto miner something came up saying windows cannot open this file then it says windows needs to know what program created it is there a program i need to download to properly load files? can some one please help Thanks :cry:



All times are GMT +1. The time now is 13:30.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.