From 8ced2a930da83d368211851665ac8de48f415925 Mon Sep 17 00:00:00 2001 From: ironbound Date: Sat, 5 Feb 2022 10:53:11 +0100 Subject: [PATCH] board and ctf files --- README.md | 39 +++++++++++++++++++++++++++++++++++++++ flag | 11 +++++++++++ hash | 11 +++++++++++ main.go | 15 +++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 README.md create mode 100644 flag create mode 100644 hash create mode 100644 main.go diff --git a/README.md b/README.md new file mode 100644 index 0000000..fb798b9 --- /dev/null +++ b/README.md @@ -0,0 +1,39 @@ +# Sober Bishop +\ the "bishop" came to our church today +\ he was a fucken impostor +\ never once moved diagonally + +Fingerprint visualization algorithm paper. +http://www.dirk-loss.de/sshvis/drunken_bishop.pdf + +### Draw the board +Lets use a 4x4 grid for the final paths + +```+----[THIS IS]----+ +| o 2333| +| + . 145E| +| B . . 224| +| = . . 13 | +| S | +| | +| | +| | +| | ++---[THE FLAG]----+ + +### Value of symbols + 0: ' ', + 1: '.', + 2: 'o', + 3: '+', + 4: '=', + 5: '*', + 6: 'B', + 7: 'O', + 8: 'X', + 9: '@', + 10: '%', + 11: '&', + 12: '#', + 13: '/', + 14: '^', \ No newline at end of file diff --git a/flag b/flag new file mode 100644 index 0000000..5d9e63d --- /dev/null +++ b/flag @@ -0,0 +1,11 @@ ++----[THIS IS]----+ +| o o+++| +| + . .=*E| +| B . . oo=| +| = . . .+ | +| S | +| | +| | +| | +| | ++---[THE FLAG]----+ diff --git a/hash b/hash new file mode 100644 index 0000000..d16e3fe --- /dev/null +++ b/hash @@ -0,0 +1,11 @@ ++----[THIS IS]----+ +| .E=. | +| o.. | +| o .. | +| o o. | +| O .S | +| o B | +| o o | +| ... B | +| +=.= . | ++---[md5(FLAG)]---+ diff --git a/main.go b/main.go new file mode 100644 index 0000000..b350930 --- /dev/null +++ b/main.go @@ -0,0 +1,15 @@ +package main + +var ( + // 4x4 board with node counts + board = map[int]int{ + 11: 2, 12: 3, 13: 3, 14: 3, + 21: 1, 22: 4, 23: 5, 24: 9, + 31: 0, 32: 2, 33: 2, 34: 4, + 41: 0, 42: 1, 43: 3, 44: 0, + } +) + +func main() { + +}