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
############################################################# | |
# # | |
# Generic Makefile for C++ projects # | |
# Author: Gabriel <software@kanedo.net> # | |
# Date: 2014-04-18 # | |
# Version: 1.0 # | |
# # | |
############################################################# | |
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 <stdio.h> | |
#include <sys/mman.h> | |
/* | |
simple function use with mmap and munmap | |
look the man from mmap,if you have questions... | |
*/ | |
// return size of bytes on file , same to unix cmd "du -b file" | |
long FileSize(const char *file) |
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
/* | |
Semi-Generic CRC Bypass for MapleStory | |
Other uncredited authors for ideas/methods/concepts etc. | |
*/ | |
#include <Windows.h> | |
static LPVOID lpvImgStart, lpvImgEnd, lpvMemBackup; |
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
/** | |
* \file | |
* Functions and types for CRC checks. | |
* | |
* Generated on Thu Dec 6 17:52:34 2018 | |
* by pycrc v0.9.1, https://pycrc.org | |
* using the configuration: | |
* - Width = 14 | |
* - Poly = 0x2757 | |
* - XorIn = Undefined |
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
/* | |
* crcheck.cpp | |
* | |
* Created on: Apr 1, 2017 | |
* Author: Parth Parikh | |
*/ | |
/* | |
MIT License | |
Copyright (c) 2017 Parth Parikh |
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
/* | |
* crcheck.cpp | |
* | |
* Created on: Apr 1, 2017 | |
* Author: Parth Parikh | |
*/ | |
/* | |
MIT License | |
Copyright (c) 2017 Parth Parikh |
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
/** | |
loader.c - Attemps fully port LoadLibrary() to a position-indepedent | |
vartion to facilitate the self-loading of a DLL and its | |
dependecies, as well as introduce evasive features to reduce | |
memory indicators. | |
Inspiration: | |
ZeroLoad - https://github.com/zerosum0x0/zeroload (zerosum0x0) | |
MemoryModule - https://github.com/fancycode/MemoryModule (fancycode) |
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
#define _GNU_SOURCE | |
#include <unistd.h> | |
#include <dlfcn.h> | |
#include <sys/mman.h> | |
#include <link.h> | |
#include <errno.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
void *begin; |
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
#pragma once | |
#ifdef VMPROTECT | |
#include <VMProtectSDK.h> | |
#define VMP_STRINGIFY_(x) #x | |
#define VMP_STRINGIFY(x) VMP_STRINGIFY_(x) | |
#define VMP_DEFAULT_LABEL __FILE__ ":" __FUNCTION__ "(" VMP_STRINGIFY(__LINE__) ")" | |
#define VMP_BEGIN() VMProtectBegin(VMP_DEFAULT_LABEL) |
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> | |
# include <iostream> | |
int main(int argc, char* argv[]) | |
{ | |
HANDLE lhShareMemory; | |
char* lpcBuffer; | |
lhShareMemory = OpenFileMapping(FILE_MAP_READ, false, "mySharedMemory"); | |
if (NULL == lhShareMemory) |
NewerOlder