Skip to content

Instantly share code, notes, and snippets.

@bradtheappguy
Created April 3, 2013 05:39
Show Gist options
  • Save bradtheappguy/5298700 to your computer and use it in GitHub Desktop.
Save bradtheappguy/5298700 to your computer and use it in GitHub Desktop.
GDB script to get drunk
break *0x10000e2a9
commands
set {int}0x10000e2a9=0x55
set {int}0x10000e2aa=0x48
set {int}0x10000e2ab=0x89
set {int}0x10000e2ac=0xe5
set {int}0x10000e2ad=0xb0
set {int}0x10000e2ae=0x01
set {int}0x10000e2af=0x48
set {int}0x10000e2b0=0x89
set {int}0x10000e2b1=0x7d
set {int}0x10000e2b2=0xf8
set {int}0x10000e2b3=0x48
set {int}0x10000e2b4=0x89
set {int}0x10000e2b5=0x75
set {int}0x10000e2b6=0xf0
set {int}0x10000e2b7=0x0f
set {int}0x10000e2b8=0xbe
set {int}0x10000e2b9=0xc0
set {int}0x10000e2ba=0x5d
set {int}0x10000e2bb=0xc3
disable
c
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment