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
#!/bin/bash | |
############################################################## | |
# Set Your System and Wordpress Config Preferences | |
############################################################## | |
export SYSTEM_USER=username # User PHP-FPM runs under | |
# Database | |
export WP_DB_NAME=wordpress |
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
// IDC script for identifying functions and such | |
#include <idc.idc> | |
#define RenameFunction(a, b) Message("Found %s at %a\r\n", b, a); MakeName(a, b) | |
#define START_ADDR 0x00400000 | |
static main() { | |
auto addr = BADADDR; | |
auto onMovePacket = FindAoBAndRename("25 0C FE FF FF 05 E8 03", "?OnMovePacket@CMovePath@@QAEXAAVCInPacket@@H@Z"); |