This file contains 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
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.io.IOException; | |
public class Main { | |
/** | |
* The contents of 'file.txt' can be found here (https://pastebin.com/1hGW3mmM) | |
* @param args | |
*/ |
This file contains 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 "stdafx.h" | |
#include <detourxs.h> | |
#pragma comment(lib, "detourxs.lib") | |
typedef HANDLE (WINAPI *_FindFirstFileA)(LPCTSTR lpFileName, LPWIN32_FIND_DATA lpFindFileData); | |
_FindFirstFileA __FindFirstFileA; | |
HANDLE WINAPI Detour_FindFirstFileA(LPCTSTR lpFileName, LPWIN32_FIND_DATA lpFindFileData); |