e62a14dafc
Generate interlinked wiki from master inventory: 397 tool pages, 15 workflow pages, 27 recipe pages, 33 category pages, plus index. All pages use [[wiki-links]] for cross-navigation between tools, workflows, recipes, and categories (1782 links total). Install zk for interactive browsing with fzf search, tag filtering, and backlink discovery. Add 'fhelp wiki' command and Makefile target. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
20 lines
498 B
Markdown
20 lines
498 B
Markdown
# Clean Null Bytes from UTF-16 JavaScript
|
|
> Remove null byte padding from UTF-16 encoded JavaScript before analysis
|
|
|
|
**Tools:** [[tools/spidermonkey|spidermonkey]]
|
|
**FOR610 Lab:** 4.5
|
|
|
|
## Commands
|
|
```bash
|
|
# Check for null bytes (look for 00 in hex)
|
|
xxd <script.js> | head -2
|
|
# Remove null bytes
|
|
cat <script.js> | tr -d '\00' > clean.js
|
|
# Then deobfuscate
|
|
js -f /usr/share/remnux/objects.js -f clean.js > decoded.js
|
|
# Beautify the result
|
|
js-beautify decoded.js > final.js
|
|
```
|
|
|
|
#recipe #spidermonkey
|