Fix linting and formatting issues

This commit is contained in:
2025-01-04 13:03:35 +01:00
parent cc261d6aaa
commit 6fa9f7b09f
24 changed files with 152 additions and 150 deletions
@@ -48,13 +48,13 @@ The attachment contains one file: `chall.tar.gz`.
Extracting this file gives seven `csv` files of about 25MB:
- 1.csv
- 2.csv
- 3.csv
- 4.csv
- 5.csv
- 6.csv
- 7.csv
- 1.csv
- 2.csv
- 3.csv
- 4.csv
- 5.csv
- 6.csv
- 7.csv
They all contain 600255 lines.
@@ -314,8 +314,8 @@ This is still pretty bad, but at least I can see something.
From the image I made the following changes:
- The "g" should be a capital "G"
- The last question mark should be a "4"
- The "g" should be a capital "G"
- The last question mark should be a "4"
The other two were still unreadable, but from guessing I replaced the second question mark with a "c" and the other two that are left with an "r".
@@ -839,13 +839,13 @@ print(unary_code)
Then, let's follow the steps to convert brainfuck to Unary in reverse.
1. Remove the leading `1`
1. Remove the leading `1`
```py
unary_code = unary_code[1:]
```
2. Replace unary with brainfuck
2. Replace unary with brainfuck
```py
for i in range(0, len(unary_code), 3):
@@ -869,7 +869,7 @@ Then, let's follow the steps to convert brainfuck to Unary in reverse.
brainfuck_code += "]"
```
3. Print the result:
3. Print the result:
```py
print(brainfuck_code)
@@ -42,7 +42,7 @@ Congratulations, you successfully sneaked past the guards, and now you are insid
attachment.zip (_file too large_)
- [bzImage.elf](/files/writeups/google-ctf/2021/beginners-quest/9/bzImage.elf)
- [bzImage.elf](/files/writeups/google-ctf/2021/beginners-quest/9/bzImage.elf)
## Recon