Skip to content

Instantly share code, notes, and snippets.

@stoyky
stoyky / gist:86a8afd85b6b925fbab5f6e104cd452a
Created April 10, 2026 18:08
Cleanly deobfuscate Adobe 0-day PDF JS payload
Extract base64 blob:
pdf-parser <file.pdf> -o 7 -w
Decode with Cyberchef:
Find_/_Replace({'option':'Regex','string':'#2'},'',true,false,true,false)
From_Base64('A-Za-z0-9+/=',true,false)
Find_/_Replace({'option':'Regex','string':'\u001f'},'?',true,false,true,false)