misc/bytemancy_1
This commit is contained in:
@@ -0,0 +1,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
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
result="$(yes $(echo "65" | xxd -r -p) | head -n 1751 | tr '\n' ' ' | sed 's/ //g')"
|
||||
echo "$result"
|
||||
|
||||
nc foggy-cliff.picoctf.net 55662 <<<"$result"
|
||||
Reference in New Issue
Block a user