Skip to content

Instantly share code, notes, and snippets.

@fgsahoward
Created June 11, 2018 15:37
Show Gist options
  • Select an option

  • Save fgsahoward/a2b14cb9fcf8ef7a499f70f6326074b2 to your computer and use it in GitHub Desktop.

Select an option

Save fgsahoward/a2b14cb9fcf8ef7a499f70f6326074b2 to your computer and use it in GitHub Desktop.
[howard@sterling shellcodes]$ env > shell.env
[howard@sterling shellcodes]$ gdb -q ../easy32
Reading symbols from ../easy32...done.
(gdb) r `env > gdb.env`
Starting program: /home/howard/repos/bof/easy32 `env > gdb.env`
[Inferior 1 (process 2920) exited with code 01]
(gdb) q
[howard@sterling shellcodes]$ wc -c shell.env
1004 shell.env
[howard@sterling shellcodes]$ wc -c gdb.env
995 gdb.env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment