App - Système

samedi 11 avril 2020, 17:36  #1
App - Système - ELF x86 - Stack buffer overflow basic 1
tleroy
  • 2 posts

Hi guys I managed to exploit the fgets function, problem is that when running it the shell open and close instantly and I can’t interact with it.
I tried to breakpoint at the system() address with gdb but I can’t interact with shell only gdb cmd line.
Any help would be appreciated.


SHELL TRACE ----------------------
app-systeme-ch13@challenge02 : $ cat /tmp/tleroy/exploit.txt | ./ch13

[buf] : **********************
[check] 0xdeadbeef
Yeah dude ! You win !
Opening your shell...
Shell closed ! Bye.

samedi 11 avril 2020, 17:40  #2
App - Système - ELF x86 - Stack buffer overflow basic 1
ElTouco72
  • 283 posts

read more on the forum, this issue has already been answered many times