Inline Asset Probe
Practical utility for quickly extracting inline assets from HTML or CSS and inspecting base64-encoded payloads.
What It Does
- Fetches a target URL using curl or wget
- Scans for inline
data:*;base64,assets and saves them as files - Optionally base64-decodes the entire response as a best-effort probe
Usage
PowerShell:
powershell -ExecutionPolicy Bypass -File run.ps1.txt -Url https://example.com
Save raw response and decode any content:
powershell -ExecutionPolicy Bypass -File run.ps1.txt -Url https://example.com -SaveResponse -DecodeResponse
Limit extracted assets and choose output directory:
powershell -ExecutionPolicy Bypass -File run.ps1.txt -Url https://example.com -OutDir probe_out -MaxAssets 20
Output
probe_out/response.binwhen-SaveResponseprobe_out/assets/asset_*.extfor extracted inline assetsprobe_out/decoded.binwhen-DecodeResponse
Notes
-DecodeResponseperforms a best-effort base64 decode of any content by stripping non-base64 characters and padding to a 4-byte boundary.- Works best for HTML/CSS pages with inline data URIs.