Bytemancy0
⚒️ Bytemancy 0
| Category | Author |
|---|---|
| ⚒️ Binary Exploitation | LT ‘syreal’ Jones |
Challenge Prompt
Can you conjure the right bytes? The program’s source code can be downloaded here.
Additional details will be available after launching your challenge instance.
Problem Type
- Python
Solve
We are given the program source code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
while(True):
try:
print('⊹──────[ BYTEMANCY-0 ]──────⊹')
print("☍⟐☉⟊☽☈⟁⧋⟡☍⟐☉⟊☽☈⟁⧋⟡☍⟐☉⟊☽☈⟁⧋⟡☍⟐")
print()
print('Send me ASCII DECIMAL 101, 101, 101, side-by-side, no space.')
print()
print("☍⟐☉⟊☽☈⟁⧋⟡☍⟐☉⟊☽☈⟁⧋⟡☍⟐☉⟊☽☈⟁⧋⟡☍⟐")
print('⊹─────────────⟡─────────────⊹')
user_input = input('==> ')
if user_input == "\x65\x65\x65":
print(open("./flag.txt", "r").read())
break
else:
print("That wasn't it. I got: " + str(user_input))
print()
print()
print()
except Exception as e:
print(e)
break
So all we need to do is send this program \x65\x65\x65.
In CyberChef we can see that is just eee.
So we can connect to the machine using nc and then send the box the 3 e characters in a row.
When we do that, we are presented with the flag!