Skip to content

Commit

Permalink
[Nyx] Fix prefs.js usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwartzentruber committed Jan 4, 2024
1 parent ffbdab0 commit 7cb885a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions services/nyx/sharedir/stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@ export AFL_IGNORE_PROBLEMS_COVERAGE=1
export AFL_DEBUG=1

echo "[!] Creating firefox profile" | ./hcat

./hget prefs.js prefs.js
LD_LIBRARY_PATH="/home/user/firefox/" \
/home/user/firefox/firefox-bin -CreateProfile test 2>&1 | ./hcat
mv prefs.js /home/user/.mozilla/firefox/*test/

echo "[!] starting firefox" | ./hcat

mv prefs.js /home/user/.mozilla/firefox/*test/

export MOZ_FUZZ_LOG_IPC=1
export NYX_FUZZER="${NYX_FUZZER}"
export NYX_AFL_PLUS_PLUS_MODE=ON
Expand Down

0 comments on commit 7cb885a

Please sign in to comment.