diff options
| author | Louis Burda <quent.burda@gmail.com> | 2024-05-10 20:04:52 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2024-05-10 20:04:52 +0200 |
| commit | e63d07bbd413c7558784898e2d9c1be3851cd65a (patch) | |
| tree | e8792c0e1bb4f993475bf6857adc1ec95adb260d /solve/notes | |
| download | seccon2022-noiseccon-master.tar.gz seccon2022-noiseccon-master.zip | |
Diffstat (limited to 'solve/notes')
| -rw-r--r-- | solve/notes | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/solve/notes b/solve/notes new file mode 100644 index 0000000..946d533 --- /dev/null +++ b/solve/notes @@ -0,0 +1,5 @@ +reverse perlin noise generation to get offsetX and offsetY +set offsetX and offsetY so we can recover flag without padding (1 << 8, 1 << FLAGLEN-8) + +actually one request only reveals one byte since the grid repeats every 256.. +so using scaleX = (i + 1) << 8 and scaleY = (i + 2) << 8 |
