My exploits and journey to learning buffer and stack overflows using protostar image
Check it out on - http://exploit-exercises.lains.space/protostar/
copy all python code into /tmp/stack#.py
Some of the code expects an input as argument, and some expects user input.
-
stack0:
python /tmp/stack0.py | ./stack0
-
stack1:
./stack1 'python /tmp/stack1.py'
-
stack2:
export GREENIE=python /tmp/stack2.py
-
stack3:
python /tmp/stack3.py | ./stack3
-
stack4:
python /tmp/stack4.py | ./stack4
-
stack5:
(python /tmp/stack5.py ; cat) | ./stack5
-
stack6:
(python /tmp/stack6.py ; cat) | ./stack6
-
stack7:
(python /tmp/stack7.py ; cat) | ./stack7
python 2.6.6 (supplied in protostar image)