Can't find what's wrong in my 'attack lab- phase3' assignment!

I’m noob of system programming.

I did following processes in the web, but the solution causes ‘segmentation fault’.

This assignment is due to 05.27 ;(

Help me please!!!