![]() |
Problem with referenced strings in Olly.
1 Attachment(s)
I think the problem actually has to do with the compiler I am using. I was looking at this http://www.mmdhaven.com/NoUse//howtocrack.html (It is old I know) and me and a friend were going through it, but each of us compiled the code. Well the code we used was below, a tiny bit different but nothing special.
Code:
#include <iostream>I have provided both binaries incase it will help you to help me. I have no idea why I don't see all the strings. Thanks |
mscvr80.dll and mscvp80.dll is needed to run v8.0 file (as I don't have VC 8.0).
But OllyDbg has no problem with v6.0 strings. Code:
Text strings referenced in MSVC_6_0:.text |
No, not a bug of OllyDbg. VC++ 8 optimize code by breaking the string "Hit any key to continue" to an array of dword, and move every dword to local buffer, work with this local buffer. It not directly access to the address of char done[100] in the readonly section (rdata).
Code:
.text:004012C0 |
Quote:
If you need those 2 files for running VC 8.0 files just say and I'll give them to you, Olly seems fine because it opens VC 6.0, just like yours did. But it couldn't find the strings with the 8.0 file. But the person below answers that. Quote:
I can find most of the strings by tracing into the program stopping the trace and then viewing all the referenced strings. But I think it would be good if I knew a way of finding strings like the one in this program as it may be useful sometime. Thanks. |
noramlly olly would only find string that are referanced if a string is not referanced directly olly will not list them if you are using rightclick ->search for referanced text string
because looking for strings of all types and all lengths including both ascii and unicode can be a very time consuming and slow task but if you know a string for example "hit" in tha above example you can use the alt+m ctrl+b type in "hit" on ascii and hit enter olly will find all strings that have hit on them Code:
0040D0C0 48 69 74 20 61 6E 79 20 6B 65 79 20 74 6F 20 63 Hit any key to cCode:
80887042 48 69 74 20 61 6E 79 20 6B 65 79 20 74 6F 20 63 Hit any key to cCode:
809D0A69 68 69 74 65 62 6F 61 72 64 2E 2E 2E 00 00 00 7E hiteboard......~Code:
80B42FFB 68 69 74 65 62 6F 61 72 64 2E 2E 2E 2E 2E 2E 7E hiteboard......~Code:
817477FC 68 69 74 81 68 69 74 81 hit�hit�noramlly i use sysinternals strings or bintext by foundstone for looking at all strings Code:
|
Thanks mate, I've used sysinternals strings program before it is very good, I have never tried bintext, though I have used some of foundstones other utilities.
|
| All times are GMT +8. The time now is 21:49. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX