From 486eccb4deb049f400f642d8be08c9a3b8b2892c Mon Sep 17 00:00:00 2001 From: "SECURED.ORG" Date: Fri, 24 Nov 2017 15:18:27 -0800 Subject: [PATCH 1/2] Update challenge5.md --- flareon4/challenge5.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/flareon4/challenge5.md b/flareon4/challenge5.md index e0c8d7c..dfd577f 100644 --- a/flareon4/challenge5.md +++ b/flareon4/challenge5.md @@ -167,7 +167,6 @@ You will begin to notice that $rax+0x8 is the coordinate you entered while $rbp- |0x20| A6 | |0x40| A7 | |0x80| A8 | - |0x100| B1 | |0x200| B2 | |0x400| B3 | @@ -176,7 +175,6 @@ You will begin to notice that $rax+0x8 is the coordinate you entered while $rbp- |0x2000| B6 | |0x4000| B7 | |0x8000| B8 | - |0x10000| C1 | |0x20000| C2 | |0x40000| C3 | @@ -185,7 +183,6 @@ You will begin to notice that $rax+0x8 is the coordinate you entered while $rbp- |0x200000| C6 | |0x400000| C7 | |0x800000| C8 | - |0x1000000| D1 | |0x2000000| D2 | |0x4000000| D3 | @@ -194,7 +191,6 @@ You will begin to notice that $rax+0x8 is the coordinate you entered while $rbp- |0x20000000| D6 | |0x40000000| D7 | |0x80000000| D8 | - |0x100000000| E1 | |0x200000000| E2 | |0x400000000| E3 | @@ -203,7 +199,6 @@ You will begin to notice that $rax+0x8 is the coordinate you entered while $rbp- |0x2000000000| E6 | |0x4000000000| E7 | |0x8000000000| E8 | - |0x10000000000| F1 | |0x20000000000| F2 | |0x40000000000| F3 | @@ -212,7 +207,6 @@ You will begin to notice that $rax+0x8 is the coordinate you entered while $rbp- |0x200000000000| F6 | |0x400000000000| F7 | |0x800000000000| F8 | - |0x1000000000000| G1 | |0x2000000000000| G2 | |0x4000000000000| G3 | @@ -221,7 +215,6 @@ You will begin to notice that $rax+0x8 is the coordinate you entered while $rbp- |0x20000000000000| G6 | |0x40000000000000| G7 | |0x80000000000000| G8 | - |0x100000000000000| H1 | |0x200000000000000| H2 | |0x400000000000000| H3 | @@ -252,7 +245,9 @@ PEWsea!PEWTHEPEWFINALPEWSECRETPEWCANPEWBEPEWFOUNDPEWWITHPEWONLYPEWTHEPEWUPPERPEW ``` You will need to shuffle around the letters and use ROT13 to decode them. +``` OHGJURERVFGUREHZ -> BUTWHEREISTHERUM +``` ![alt text](https://securedorg.github.io/flareon4/images/ch5_finale.png "finale") @@ -317,4 +312,4 @@ with open("referenced_data.bin", "rb") as fp: open("output.bin", "wb").write(dst) ``` -[Challenge 4 <- Back](https://securedorg.github.io/flareon4/challenge4) | [Next -> Challenge 6](https://securedorg.github.io/flareon4/challenge6) \ No newline at end of file +[Challenge 4 <- Back](https://securedorg.github.io/flareon4/challenge4) | [Next -> Challenge 6](https://securedorg.github.io/flareon4/challenge6) From bbbfa459c677c1c3214deb266d478475af1da0a2 Mon Sep 17 00:00:00 2001 From: "SECURED.ORG" Date: Fri, 24 Nov 2017 15:21:31 -0800 Subject: [PATCH 2/2] Update challenge5.md --- flareon4/challenge5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flareon4/challenge5.md b/flareon4/challenge5.md index dfd577f..eedef80 100644 --- a/flareon4/challenge5.md +++ b/flareon4/challenge5.md @@ -131,7 +131,7 @@ Patch the binary by changing 0x74 to 0x75 which will change JZ to JNZ: ## Breaking Down the Pewpew Map Data ## -The first 16 bytes are the coordinates for the battelships while the next 8 bytes is the initial seed. +The first 8 bytes are the coordinates for the battelships while the next 8 bytes is the initial seed. ![alt text](https://securedorg.github.io/flareon4/images/ch5_parsedmap.png "parsed map") ### Coordinates ###