Forum Discussion
ralyn1234
Bronze I
4 months agoLinux Stack Overflow Ep.6
I am having trouble figuring how this lab. I got the other questions, but can't get the token. This is the code I am running, but it just causing a segmentation fault. #include <assert.h> #inc...
- 4 months ago
hmm. it's been a long time but I found this lab in my notes.
your script is amost identical to mine.
except: I'm writing the exploit to a fileFILE *exploit_file = fopen("exploit_input", "wb"); .... close(exploit_file)
and then execut it and pass the larger input file.
then copy file, execute, get flag
steven
Silver II
4 months agohmm. it's been a long time but I found this lab in my notes.
your script is amost identical to mine.
except: I'm writing the exploit to a file
FILE *exploit_file = fopen("exploit_input", "wb");
....
close(exploit_file)
and then execut it and pass the larger input file.
then copy file, execute, get flag