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
// Launch WinAFL with current function as hook location | |
//@author richinseattle | |
//@category _NEW_ | |
//@keybinding | |
//@menupath | |
//@toolbar | |
// Usage: | |
// Install DynamoRIO and WinAFL | |
// Add LaunchWinAFL to Ghidra scripts |
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
std::map<uint32_t, std::string> EntityTypeID = { | |
{-100000, "Ghost"}, | |
{-99999, "Knight"}, | |
{-99998, "Druid"}, | |
{-99997, "Demon"}, | |
{-99996, "SteelEmpireForce"}, | |
{-99995, "CultOfDoomAdherer"}, | |
{-99994, "UnholyPactFollower"}, | |
{-99993, "Bandit"}, | |
{-99992, "Assassin"}, |
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
ID | Creature | TamingItem | ||
---|---|---|---|---|
0 | ElfMale | Bait (0 AKA non-tameable) | ||
1 | ElfFemale | Bait (1 AKA non-tameable) | ||
2 | HumanMale | Bait (2 AKA non-tameable) | ||
3 | HumanFemale | Bait (3 AKA non-tameable) | ||
4 | GoblinMale | Bait (4 AKA non-tameable) | ||
5 | GoblinFemale | Bait (5 AKA non-tameable) | ||
6 | Bullterrier | Bait (6 AKA non-tameable) | ||
7 | LizardmanMale | Bait (7 AKA non-tameable) | ||
8 | LizardmanFemale | Bait (8 AKA non-tameable) |
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
enum EntityID : __int64 | |
{ | |
EntityID_Ghost = 0xFFFE7960, | |
EntityID_Knight = 0xFFFE7961, | |
EntityID_Druid = 0xFFFE7962, | |
EntityID_Demon = 0xFFFE7963, | |
EntityID_SteelEmpireForce = 0xFFFE7964, | |
EntityID_CultOfDoomAdherer = 0xFFFE7965, | |
EntityID_UnholyPactFollower = 0xFFFE7966, | |
EntityID_Bandit_0xFFFE7967 = 0xFFFE7967, |
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
Client Receive opcodes: | |
0x0 -- Invitation | |
uint32 opcode; | |
uint32 version; // 91005 for 0.9.1-5 | |
0x2 -- Server is closing connection. | |
uint32 opcode; | |
<No data> | |
0x3 -- Creature Update: |
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
import idautils | |
import idc | |
import ida_bytes | |
from pprint import pprint, pformat | |
def demangle_name(name): | |
return idc.Demangle(name, idc.GetLongPrm(idc.INF_SHORT_DN)) or name | |
def get_primary_vtables(): |
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
import idautils | |
import idc | |
import ida_bytes | |
from pprint import pprint, pformat | |
def demangle_name(name): | |
return idc.Demangle(name, idc.GetLongPrm(idc.INF_SHORT_DN)) or name | |
def get_primary_vtables(): |
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
import idautils | |
import idc | |
import ida_bytes | |
from pprint import pprint, pformat | |
def demangle_name(name): | |
return idc.Demangle(name, idc.GetLongPrm(idc.INF_SHORT_DN)) or name | |
def get_primary_vtables(): |
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
struct ISteamNetworking005 | |
{ | |
__int64 SendP2PPacket; | |
__int64 IsP2PPacketAvailable; | |
__int64 ReadP2PPacket; | |
__int64 AcceptP2PSessionWithUser; | |
__int64 CloseP2PSessionWithUser; | |
__int64 CloseP2PChannelWithUser; | |
__int64 GetP2PSessionState; | |
__int64 AllowP2PPacketRelay; |
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
import struct | |
import sys | |
with open('interface.plx', 'rb') as ifx: | |
version = struct.unpack('<I', ifx.read(4))[0] | |
if version != 1: | |
sys.exit(1) | |
ifx.read(4*3) # Read into the same variable and then ignored. |