From 1bd0883661a44c303eaec495505fab21f1703bb4 Mon Sep 17 00:00:00 2001 From: Layne Date: Sun, 30 Apr 2017 16:36:52 -0700 Subject: [PATCH] Fixed missing 'm' in example string --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 809114e..e037931 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ When working with this framework, and coding shellcode in general, you'll have t 1. You must declare all your variables on the stack. 2. Strings are no exception. This is how to create a char*, wchar_t* on the stack. Don't forget to null-terminate. ```C++ -unsigned char str[] = { 'E', 'x', 'a', 'p', 'l', 'e', 0 }; +unsigned char str[] = { 'E', 'x', 'a', 'm', 'p', 'l', 'e', 0 }; unsigned char w_str[] = { 'E', 0, 'x', 0, 'a', 0, 'm', 0, 'p', 0, 'l', 0, 'e', 0, 0 }; ``` 3. If you want to use an external function (i.e Windows API) you must first ensure the module containing the function is loaded into the current process.