diff --git a/02.md b/02.md index 4a2fa20..ccb30ba 100644 --- a/02.md +++ b/02.md @@ -28,7 +28,7 @@ **Formula:** Baud rate = 1 / bit duration -**Calculation:** Baud rate = 1 / (32 × 10⁻⁶)\ +**Calculation:** Baud rate = 1 / (32 × 10⁻⁶) Baud rate = 31,250 baud **Answer:** 31,250 baud diff --git a/02.md b/02.md index 4a2fa20..ccb30ba 100644 --- a/02.md +++ b/02.md @@ -28,7 +28,7 @@ **Formula:** Baud rate = 1 / bit duration -**Calculation:** Baud rate = 1 / (32 × 10⁻⁶)\ +**Calculation:** Baud rate = 1 / (32 × 10⁻⁶) Baud rate = 31,250 baud **Answer:** 31,250 baud diff --git a/10.md b/10.md index d1e72cc..4054731 100644 --- a/10.md +++ b/10.md @@ -17,9 +17,7 @@ ## Notes -This was very similar to the previous one. Minor tweaks to the glitch-o-bolt config: [glitch-o-bolt config](docs/10_GoB_config.py)\ -\ -\ +This was very similar to the previous one. Minor tweaks to the glitch-o-bolt config: [glitch-o-bolt config](docs/10_GoB_config.py) ![glitching solution](docs/10_GoB.png) \ No newline at end of file diff --git a/02.md b/02.md index 4a2fa20..ccb30ba 100644 --- a/02.md +++ b/02.md @@ -28,7 +28,7 @@ **Formula:** Baud rate = 1 / bit duration -**Calculation:** Baud rate = 1 / (32 × 10⁻⁶)\ +**Calculation:** Baud rate = 1 / (32 × 10⁻⁶) Baud rate = 31,250 baud **Answer:** 31,250 baud diff --git a/10.md b/10.md index d1e72cc..4054731 100644 --- a/10.md +++ b/10.md @@ -17,9 +17,7 @@ ## Notes -This was very similar to the previous one. Minor tweaks to the glitch-o-bolt config: [glitch-o-bolt config](docs/10_GoB_config.py)\ -\ -\ +This was very similar to the previous one. Minor tweaks to the glitch-o-bolt config: [glitch-o-bolt config](docs/10_GoB_config.py) ![glitching solution](docs/10_GoB.png) \ No newline at end of file diff --git a/11.md b/11.md index 15b5a25..a421696 100644 --- a/11.md +++ b/11.md @@ -24,9 +24,9 @@ ![get uart puilse width](docs/11_logic.png) -**Quick math:**\ -Baud rate = 1 / bit time\ -Bit time = 1 microsecond = 1 × 10⁻⁶ seconds\ +**Quick math:** +Baud rate = 1 / bit time +Bit time = 1 microsecond = 1 × 10⁻⁶ seconds Baud rate = 1 / (1 × 10⁻⁶) = 1 000 000 baud **Answer:** The UART baud rate is 1 000 000 baud (1 Mbps). @@ -36,11 +36,11 @@ ![reading uart data](docs/11_GoB.png) -It already has a hardcoded password.\ -It sets a variable to 1 (the correct password variable).\ -You input a string and it will read up until "\r".\ -For each letter of the hardcoded password it will check the corresponding letter of the input string, if it doesnt match then it sets the variable to 0 (password incorrect).\ -Once this has complete it checks the variable and either returns the flag or an error message.\ +It already has a hardcoded password. +It sets a variable to 1 (the correct password variable). +You input a string and it will read up until "\r". +For each letter of the hardcoded password it will check the corresponding letter of the input string, if it doesnt match then it sets the variable to 0 (password incorrect). +Once this has complete it checks the variable and either returns the flag or an error message. That looks as follows: ``` diff --git a/02.md b/02.md index 4a2fa20..ccb30ba 100644 --- a/02.md +++ b/02.md @@ -28,7 +28,7 @@ **Formula:** Baud rate = 1 / bit duration -**Calculation:** Baud rate = 1 / (32 × 10⁻⁶)\ +**Calculation:** Baud rate = 1 / (32 × 10⁻⁶) Baud rate = 31,250 baud **Answer:** 31,250 baud diff --git a/10.md b/10.md index d1e72cc..4054731 100644 --- a/10.md +++ b/10.md @@ -17,9 +17,7 @@ ## Notes -This was very similar to the previous one. Minor tweaks to the glitch-o-bolt config: [glitch-o-bolt config](docs/10_GoB_config.py)\ -\ -\ +This was very similar to the previous one. Minor tweaks to the glitch-o-bolt config: [glitch-o-bolt config](docs/10_GoB_config.py) ![glitching solution](docs/10_GoB.png) \ No newline at end of file diff --git a/11.md b/11.md index 15b5a25..a421696 100644 --- a/11.md +++ b/11.md @@ -24,9 +24,9 @@ ![get uart puilse width](docs/11_logic.png) -**Quick math:**\ -Baud rate = 1 / bit time\ -Bit time = 1 microsecond = 1 × 10⁻⁶ seconds\ +**Quick math:** +Baud rate = 1 / bit time +Bit time = 1 microsecond = 1 × 10⁻⁶ seconds Baud rate = 1 / (1 × 10⁻⁶) = 1 000 000 baud **Answer:** The UART baud rate is 1 000 000 baud (1 Mbps). @@ -36,11 +36,11 @@ ![reading uart data](docs/11_GoB.png) -It already has a hardcoded password.\ -It sets a variable to 1 (the correct password variable).\ -You input a string and it will read up until "\r".\ -For each letter of the hardcoded password it will check the corresponding letter of the input string, if it doesnt match then it sets the variable to 0 (password incorrect).\ -Once this has complete it checks the variable and either returns the flag or an error message.\ +It already has a hardcoded password. +It sets a variable to 1 (the correct password variable). +You input a string and it will read up until "\r". +For each letter of the hardcoded password it will check the corresponding letter of the input string, if it doesnt match then it sets the variable to 0 (password incorrect). +Once this has complete it checks the variable and either returns the flag or an error message. That looks as follows: ``` diff --git a/12.md b/12.md index 1bf3787..09ffce0 100644 --- a/12.md +++ b/12.md @@ -29,14 +29,14 @@ I then traced the chip pins to the header pins on the board and hooked up the board to look like the setup picture above. -Maths that pulse width:\ -Baud rate = 1 / bit time\ -Bit time = 833.75 microseconds = 833.75 × 10⁻⁶ seconds\ +Maths that pulse width: +Baud rate = 1 / bit time +Bit time = 833.75 microseconds = 833.75 × 10⁻⁶ seconds Baud rate = 1 / (833.75 × 10⁻⁶) = 1 199.1004 baud **Answer:** The UART baud rate is approximately 1 199 baud. -For this one I didnt use glitch-o-bolt, instead opting for a standalone python script: [12_solution.py](docs/12_solution.py)\ +For this one I didnt use glitch-o-bolt, instead opting for a standalone python script: [12_solution.py](docs/12_solution.py) The full solution output can be read here: [12_solution.txt](docs/12_solution.txt) But to summarize: diff --git a/02.md b/02.md index 4a2fa20..ccb30ba 100644 --- a/02.md +++ b/02.md @@ -28,7 +28,7 @@ **Formula:** Baud rate = 1 / bit duration -**Calculation:** Baud rate = 1 / (32 × 10⁻⁶)\ +**Calculation:** Baud rate = 1 / (32 × 10⁻⁶) Baud rate = 31,250 baud **Answer:** 31,250 baud diff --git a/10.md b/10.md index d1e72cc..4054731 100644 --- a/10.md +++ b/10.md @@ -17,9 +17,7 @@ ## Notes -This was very similar to the previous one. Minor tweaks to the glitch-o-bolt config: [glitch-o-bolt config](docs/10_GoB_config.py)\ -\ -\ +This was very similar to the previous one. Minor tweaks to the glitch-o-bolt config: [glitch-o-bolt config](docs/10_GoB_config.py) ![glitching solution](docs/10_GoB.png) \ No newline at end of file diff --git a/11.md b/11.md index 15b5a25..a421696 100644 --- a/11.md +++ b/11.md @@ -24,9 +24,9 @@ ![get uart puilse width](docs/11_logic.png) -**Quick math:**\ -Baud rate = 1 / bit time\ -Bit time = 1 microsecond = 1 × 10⁻⁶ seconds\ +**Quick math:** +Baud rate = 1 / bit time +Bit time = 1 microsecond = 1 × 10⁻⁶ seconds Baud rate = 1 / (1 × 10⁻⁶) = 1 000 000 baud **Answer:** The UART baud rate is 1 000 000 baud (1 Mbps). @@ -36,11 +36,11 @@ ![reading uart data](docs/11_GoB.png) -It already has a hardcoded password.\ -It sets a variable to 1 (the correct password variable).\ -You input a string and it will read up until "\r".\ -For each letter of the hardcoded password it will check the corresponding letter of the input string, if it doesnt match then it sets the variable to 0 (password incorrect).\ -Once this has complete it checks the variable and either returns the flag or an error message.\ +It already has a hardcoded password. +It sets a variable to 1 (the correct password variable). +You input a string and it will read up until "\r". +For each letter of the hardcoded password it will check the corresponding letter of the input string, if it doesnt match then it sets the variable to 0 (password incorrect). +Once this has complete it checks the variable and either returns the flag or an error message. That looks as follows: ``` diff --git a/12.md b/12.md index 1bf3787..09ffce0 100644 --- a/12.md +++ b/12.md @@ -29,14 +29,14 @@ I then traced the chip pins to the header pins on the board and hooked up the board to look like the setup picture above. -Maths that pulse width:\ -Baud rate = 1 / bit time\ -Bit time = 833.75 microseconds = 833.75 × 10⁻⁶ seconds\ +Maths that pulse width: +Baud rate = 1 / bit time +Bit time = 833.75 microseconds = 833.75 × 10⁻⁶ seconds Baud rate = 1 / (833.75 × 10⁻⁶) = 1 199.1004 baud **Answer:** The UART baud rate is approximately 1 199 baud. -For this one I didnt use glitch-o-bolt, instead opting for a standalone python script: [12_solution.py](docs/12_solution.py)\ +For this one I didnt use glitch-o-bolt, instead opting for a standalone python script: [12_solution.py](docs/12_solution.py) The full solution output can be read here: [12_solution.txt](docs/12_solution.txt) But to summarize: diff --git a/README.md b/README.md index 7c481e8..fca7fa3 100644 --- a/README.md +++ b/README.md @@ -31,12 +31,3 @@ ## The Board ![PwnPad main board](docs/pwnpad.png) - -testing newlines\ -new line? - -how about -now? - -or -now? \ No newline at end of file