Skip to content

Instantly share code, notes, and snippets.

@Inndy
Created August 17, 2014 18:22
Show Gist options
  • Select an option

  • Save Inndy/63a4db7514a0bedc1bd4 to your computer and use it in GitHub Desktop.

Select an option

Save Inndy/63a4db7514a0bedc1bd4 to your computer and use it in GitHub Desktop.
WTF_HelloWorld
// gcc -zexecstack ducky.c && ./a.out
char main<: :> = <% 0xeb, 0x1e, 0xb8, 0x04, 0x00, 0x00, 0x00, 0xbb, 0x01, 0x00, 0x00, 0x00, 0x59, 0xba, 0x0f, 0x00, 0x00, 0x00, 0xcd, 0x80, 0xb8, 0x01, 0x00, 0x00, 0x00, 0xbb, 0x00, 0x00, 0x00, 0x00, 0xcd, 0x80, 0xe8, 0xdd, 0xff, 0xff, 0xff, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x2c, 0x20, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x21, 0x0d, 0x0a %>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment