An open API service indexing awesome lists of open source software.

https://github.com/gomjellie/sp_attacklab

buffer overflow
https://github.com/gomjellie/sp_attacklab

Last synced: 3 months ago
JSON representation

buffer overflow

Awesome Lists containing this project

README

        

## Try to run ctarget
./ctarget /ookie: 0x47db4e3a
Touch2!: You called touch2(0x47db4e3a)
Valid solution for level 2 with target ctarget
PASS: Would have posted the following:

./ctarget -q // This will work.

##########################
## solve the problem 1. ##
##########################
vi ans1.txt
./hex2raw < ans1.txt > ans1.raw
./ctarget -q -i ans1.raw

You will see the following message if you succeed.

Cookie: 0x47db4e3a
Touch1!: You called touch1()
Valid solution for level 1 with target ctarget
PASS: Would have posted the following:

##########################
## solve the problem 2. ##
##########################
vi ans2.txt
./hex2raw < ans2.txt > ans2.raw
./ctarget -q -i ans2.raw

You will see the following message if you succeed.

ejlee@j200:~/lecture/sp19f/attacklab/targets/target2$ ./ctarget -q -i ans2.raw
Cookie: 0x47db4e3a
Touch2!: You called touch2(0x47db4e3a)
Valid solution for level 2 with target ctarget
PASS: Would have posted the following: