App - System
dimanche 13 mai 2018, 03:37 #1
ELF x86 - Stack buffer overflow basic 1
Is anyone having issues with the shell in this challenge ? I crafted the overflow, but system("/bin/dash") returns immediately with EAX=0. Or is this part of the challenge and I am missing something ? I’ve tried adding extra data to the input to be read by the shell, but that does not work. The shell should wait for input anyway. Also tried appending a newline due to line buffering, but this also did not help.
dimanche 13 mai 2018, 04:05 #2
ELF x86 - Stack buffer overflow basic 1
Nevermind. Hint : use strace to see what is really happening.