Created
October 26, 2017 06:39
-
-
Save sudhackar/4f6b72092b88d4b11996475c679486de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
typedef DWORD (__cdecl *_GetFlag)(); | |
_GetFlag GetFlag; | |
HMODULE hDll = NULL; | |
NTSTATUS main(int argc, char **argv) { | |
hDll = LoadLibrary("my_head_flew_away_patched.dll"); | |
GetFlag = (_GetFlag)GetProcAddress(hDll, "GetFlag"); | |
GetFlag(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FLAG : https://imgur.com/bpj1DDH