diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0baa0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +Release/* \ No newline at end of file diff --git a/ShellcodeCompiler/DeclaredFunctions.cpp b/ShellcodeCompiler/DeclaredFunctions.cpp index c15e80e..a075c86 100644 --- a/ShellcodeCompiler/DeclaredFunctions.cpp +++ b/ShellcodeCompiler/DeclaredFunctions.cpp @@ -157,7 +157,7 @@ string DeclaredFunctions::GenerateLoadLibraryCall_x64(string p_sDLLName) sContent += Utils::CharToHexString(p_sDLLName[Len - 3]); sContent += "\r\n"; sContent += "push rax\r\n"; - sContent += "sub dword [rsp + 7], 0x23\r\n"; + sContent += "sub dword [rsp + 3], 0x23\r\n"; } else if (Len % 8 == 4) {