diff --git a/misc/bytemancy_1/app.py b/misc/bytemancy_1/app.py new file mode 100644 index 0000000..c9ac154 --- /dev/null +++ b/misc/bytemancy_1/app.py @@ -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 diff --git a/misc/bytemancy_1/solve.sh b/misc/bytemancy_1/solve.sh new file mode 100755 index 0000000..1fbc802 --- /dev/null +++ b/misc/bytemancy_1/solve.sh @@ -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"