0x0 App - System

jeudi 21 décembre 2017, 17:53  #1
ELF x86 - Stack buffer overflow basic 5 - Illegal instruction
Constaintine
  • 10 posts

hi guys,
I have completed my payload to exploit chall Stack buffer overflow basic 5. I debug binary by gdb-peda, it spawn shell successfull, while running " Illegal instruction" occurs.

Have someone like me ?
Please give me some advices. Thanks !


mercredi 11 juillet 2018, 12:14  #2
ELF x86 - Stack buffer overflow basic 5 - Illegal instruction
Alkeryn
  • 2 posts

If you spawn the shell from gdb, you are running as regular user
gdb can’t run programs as a user u are not
so you use gdb to debug
but you should run the actual exploit from outside of it
Also idk if you give a correct argument to the program and maybe there is an issue with your exploit
idk didn’t read it yet