Does the presence of an "unsafe" function in an object file pose a security risk

I’ve read that there are unsafe functions that we should try to avoid when writing C/C++ programs for example the gets() or strlen() functions.
Let’s say I compile a .cpp/.c file into an object file and then I run the following command (su… Continue reading Does the presence of an "unsafe" function in an object file pose a security risk

How do I prevent the random alignment of the instructions during debugging using gdb? Even tried turning off the optimization with -O0 in gcc

I have started with the book ‘Hacking: The art of exploitation!’. I know some of you might suggest that it’s pretty old… But I think great buildings withstand due to their strong foundational base. So, I have to get into what happened ba… Continue reading How do I prevent the random alignment of the instructions during debugging using gdb? Even tried turning off the optimization with -O0 in gcc

How do I prevent the random alignment of the instructions during debugging using gdb? Even tried turning off the optimization with -O0 in gcc

I have started with the book ‘Hacking: The art of exploitation!’. I know some of you might suggest that it’s pretty old… But I think great buildings withstand due to their strong foundational base. So, I have to get into what happened ba… Continue reading How do I prevent the random alignment of the instructions during debugging using gdb? Even tried turning off the optimization with -O0 in gcc