Guest User

Untitled

a guest
Mar 21st, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. ##HOW TO INITIATE BUFFER OVERFLOW
  2.  
  3. 1. Start up you VirtualBox
  4. 2. Open up Ubuntu
  5. 3. Login : student
  6. Password : student
  7. 4. Create a c code by doing :
  8. > sudo nano name.c
  9. 5. Create its executer by doing :
  10. > gcc -o name -fno-stack-protector
  11. 6. Enter debugging mode
  12. 7. Disassemble operation
  13. 8. Take note of the address before scanf and after
  14. 9. Disassemble secret
  15. 10. Take note the first address in the function
  16. 11. Exit the debugger
  17. 12. Create a payload with A 32 times and the address from secret
  18. 13. Enter debugging mode again
  19. 14. Run with payload
  20. 15. And yeah I meet an error
Add Comment
Please, Sign In to add comment