Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Kristian Erik Hermansen (kristian.hermansengmail.com)
Date: Tue Sep 23 2008 - 16:36:47 CDT
On Tue, Sep 23, 2008 at 3:43 AM, Florencio Cano
> run it inside GDB. Does GDB alter the memory map of a process when
> executed inside it? In which way? Where I can read info about this?
Yes, your offsets will differ. Put a break at start of main(),
recompile, and use something like memfetch | hexdump -C to see...
You must also remember that newer Linux distros include many security
features that randomize offsets and protect against other hackery.
Not that you can't get around them given enough information (like a
memory peek), but you should know about them. All of this stuff is
well documented on places like milw0rm. Regards...
Kristian Erik Hermansen