Skip to content

Commit

Permalink
vault backup: 2024-06-24 22:48:26
Browse files Browse the repository at this point in the history
  • Loading branch information
atch2203 committed Jun 25, 2024
1 parent d2856f0 commit 4e46015
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/content/blog/jellyCTF writeups.md
Original file line number Diff line number Diff line change
Expand Up @@ -600,4 +600,28 @@ I didn't really attempt this as I didn't solve the prequel, but the solution can
flag: `jellyCTF{baba_is_cool_but_j3lly_i5_COOLER}`

##### forensics: oshi_mark
I noticed that there was a pattern
I noticed that there was a pattern in the hex of the text, with one character being 0 or -1, and the other being a number from 0-27:
```python
a = ""
with open("hex.txt", "r") as f:
    a = f.read()
    a = a.split()

u = "f3 a0 85 8e e2 80 8c".split()
u = [int(x, 16) for x in u]
s = len(u)
letters = []
diffs = []

chunks = int(len(a)/s)
for i in range(chunks):
    b = a[i*s: s*i+s]
    b = [int(x, 16) for x in b]
    diff = [b[i]-u[i] for i in range(s)]
    letters.append(chr(diff[3]+97))
    diffs.append(diff[2])

print(letters)
print(diffs)
```
However I didn't get anywhere after that.

0 comments on commit 4e46015

Please sign in to comment.