Sinisterly
Linux: 'make'ing a program with an executable stack & another question - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Computers (https://sinister.ly/Forum-Computers)
+--- Forum: Operating Systems (https://sinister.ly/Forum-Operating-Systems)
+--- Thread: Linux: 'make'ing a program with an executable stack & another question (/Thread-Linux-make-ing-a-program-with-an-executable-stack-another-question)



Linux: 'make'ing a program with an executable stack & another question - superMAUS - 05-20-2014

I have the source for the program and I need to 'make' it without an executable stack for buffer overflow testing.

(also does a non executable stack not lead to a crash in the event of a buffer overflow)


RE: Linux: 'make'ing a program with an executable stack & another question - w00t - 05-20-2014

The crash is because it is trying to ret to an invalid address, having a NX stack shouldn't effect that.

Just execstack -s the finished executable.

Wait, without an executable stack? That should be default