PDA

View Full Version : Running a program in olly with startup info?


asdf
October 5th, 2007, 19:26
I'm trying to debug a program that's supposed to be executed by a launcher. I've got the startup info it passes and can make it run directly through a shortcut with that info, but I need some way to pass the startup info when I'm running in olly. I can't attach because what I'm looking for happens pretty fast after being executed.

Kayaker
October 5th, 2007, 19:33
You mean this?

http://www.woodmann.com/forum/showthread.php?t=10394

asdf
October 5th, 2007, 20:57
Yup, exactly what I was looking for. Thanks.

JMI
October 5th, 2007, 22:03
And that's WHY we ask that you SEARCH before asking your question.

Regards,

asdf
October 5th, 2007, 22:08
I DID use the SEARCH button. It just didn't cross my mind it would be called "arguments". Search doesn't help much when you're looking for the wrong thing

JMI
October 5th, 2007, 22:33
Clearly that is true. That said, that does not mean that one is excused from independent research, just because it is "so much easier" just to ask someone else how or what needs to be done.

It's a good thought to consider that some basic knowledge of assembly language is more than "just a little" useful when approaching the subject of reverse code engineering. This is not generally sufficiently acquired by just reading tutorials and attempting to copy their steps. I conceed that it might be more ego gratifying to "crack" those early programs, but, without any "real" understanding of what the program and/or code is basically doing, you don't really "know" much of anything and certainly not much of real "practical" knowledge for general advancement of your skill set.

I'm simply attempting to encourage you to spend a significant amount of time, whatever that may be for you, acquiring some of the BASIC knowledge which will stand you in good stead as you wander down the paths through the "darkcode woods," as some of our earliest members were fond of saying. Don't be in that much of a hurry to "crack" when you are only following Setp No. 1; Step No.2, etc. without really having some strong "basic" understanding of what you and the code are actually doing. Believe me, it will save you a great deal of wasted effort in the long run, to spend the time sooner, rather than later. Patience is a hard trait to master, but it is a necessary one for reverse-code engineering.

Regards,

asdf
October 5th, 2007, 23:02
I've yet to follow any tuts, so I don't really know my way around olly. I've been doing 90% of my work in a memory editor and just using olly for getting function imports and stuff.
It was exiting directly after a call to GetStartupInfoA, so "startup info" was the only term I was thinking. I tried looking for a plugin for it, but why would there be one if it's right there in the debug menu? Hidden in plain sight, I guess.