This directory contains example scripts and usage patterns for the PDB2JSON scripting tools.
examples/
├── README.md # This file
├── basic-memory-scan.ps1 # Simple memory scanning example
├── process-analysis.ps1 # Analyze specific processes
├── symbol-lookup.sh # Symbol lookup examples
├── custom-hash-validation.py # Python hash validation example
└── sample-output/ # Sample output files
├── scan-results.txt # Example scan output
└── process-report.json # Example JSON report
# Run a simple memory scan on a remote host
.\examples\basic-memory-scan.ps1# Analyze browser processes only
.\examples\process-analysis.ps1 -ProcessFilter "chrome.exe","firefox.exe"# Look up common Windows structures
./examples/symbol-lookup.sh ntoskrnl.exe# Validate hashes from a memory dump
python examples/custom-hash-validation.py memory.rawThe sample-output/ directory contains example outputs from various tools:
- scan-results.txt: Example output from Test-AllVirtualMemory.ps1
- process-report.json: JSON-formatted scan results
- Modify for Your Environment: Update IP addresses, credentials, and file paths
- Start Simple: Begin with basic examples before complex scenarios
- Review Comments: Each example file contains detailed inline comments
- Security: Never commit real credentials or sensitive data
If you have useful examples to share:
- Create a new file in this directory
- Add clear comments explaining the use case
- Include sample output if helpful
- Update this README with your example
- Submit a pull request
See CONTRIBUTING.md for more details.