Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
security:memory-corruption:exploitation:nop-sled [2018/04/16 18:08] nufan |
security:memory-corruption:exploitation:nop-sled [2023/04/19 01:09] (aktuell) nufan |
||
|---|---|---|---|
| Zeile 62: | Zeile 62: | ||
| <code c nop/execve.c> | <code c nop/execve.c> | ||
| - | // gcc -g -O0 -m32 -no-pie -fno-pie -mpreferred-stack-boundary=2 execve.c | + | // gcc -g -O0 -m32 -no-pie -fno-pie -mpreferred-stack-boundary=2 -fno-stack-protector -z execstack execve.c |
| #include <stdio.h> | #include <stdio.h> | ||
| #include <string.h> | #include <string.h> | ||