GNU/Linux xterm-256color bash 169 views

  1. Shell code inserted into buffer.

  2. Buffer overflow triggers jump to shell code inside buffer (which resides on the stack).

  3. Shell code starts executing.

  4. Shell code kills itself by pushing to the stack.