lushun2014/lushibo-skills / lushibo-memory
lushibo-memory
VerifiedCross-platform process memory, dump, runtime, heap, pointer-chain, signature, structure, and memory-forensics analysis for Windows, Linux, Android, Unity IL2CPP, Unreal, native applications, crash dumps, and raw memory images. Use when Codex receives a PID, process name, memory dump, module offset, AOB pattern, pointer chain, runtime address, crash dump, Volatility artifact, Frida target, or needs ReadProcessMemory/process_vm_readv code, map/module discovery, structure reconstruction, memory diffing, hooks, watchpoints, dump analysis, or rollback-safe patch tooling.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.0 KB |
| agents/openai.yaml | config | 236 B |
| references/dump-structures.md | markdown | 1.0 KB |
| references/linux-android.md | markdown | 768 B |
| references/windows.md | markdown | 895 B |
| scripts/aob_scan.py | script | 1.5 KB |
| scripts/dump_strings.py | script | 1.0 KB |
scripts/aob_scan.py
View on GitHub#!/usr/bin/env python3
"""Scan a file or dump for AOB patterns such as '48 8B ?? ?? 89'."""
from __future__ import annotations
import argparse, mmap
from pathlib import Path
def parse_pattern(text: str) -> tuple[bytes, bytes]:
values=[]; masks=[]
for token in text.replace(',', ' ').split():
if token in ('?', '??', '**'): values.append(0); masks.append(0)
else:
if len(token) != 2: raise ValueError(f"invalid token: {token}")
values.append(int(token, 16)); masks.append(0xFF)
if not values: raise ValueError('empty pattern')
return bytes(values), bytes(masks)
def match_at(buf, offset: int, values: bytes, masks: bytes) -> bool:
return all(not masks[i] or buf[offset+i] == values[i] for i in range(len(values)))
def main() -> None:
ap=argparse.ArgumentParser();ap.add_argument('path',type=Path);ap.add_argument('pattern');ap.add_argument('--base',type=lambda x:int(x,0),default=0);ap.add_argument('--max',type=int,default=100)
args=ap.parse_args(); values,masks=parse_pattern(args.pattern); hits=[]
with args.path.open('rb') as f:
if f.seek(0,2)==0: return
f.seek(0)
with mmap.mmap(f.fileno(),0,access=mmap.ACCESS_READ) as mm:
limit=len(mm)-len(values)+1
for off in range(max(0,limit)):
if match_at(mm,off,values,masks):
hits.append(off)
if len(hits)>=args.max:break
for off in hits: print(f"file=0x{off:x} virtual=0x{args.base+off:x}")
print(f"hits={len(hits)}")
if __name__=='__main__':main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |