Bytemancy1

1 minute read

⚒️ Bytemancy 1

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-1 ]──────⊹')
    print("☍⟐☉⟊☽☈⟁⧋⟡☍⟐☉⟊☽☈⟁⧋⟡☍⟐☉⟊☽☈⟁⧋⟡☍⟐")
    print()
    print('Send me ASCII DECIMAL 101 1751 times, side-by-side, no space.')
    print()
    print("☍⟐☉⟊☽☈⟁⧋⟡☍⟐☉⟊☽☈⟁⧋⟡☍⟐☉⟊☽☈⟁⧋⟡☍⟐")
    print('⊹─────────────⟡─────────────⊹')
    user_input = input('==> ')
    if user_input == "\x65"*1751:
      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

This time we need to send the program 1,751 \x65 characters. Again remembering from Bytemancy0 we saw in CyberChef that \x65 is just e.
2026-03-10_19-57-54

We could type out the letter e 1,751 times and send that, but we will make it a little eaiser on ourselves and use python.

For our script we will use:

1
python3 -c "print('e' * 1751)" | xclip -selection clipboard

This will generate 1,751 e characters and copy it directly to our clipboard to paste.

We can then nc to the machine and paste our e characters into the box: 2026-03-21_13-22-40

When we do that, we are presented with the flag!

(back to top)