Skip to content

Commit

Permalink
Update solution for More Than Meets The Eye to be more blind
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyqiu committed Apr 11, 2015
1 parent 46d6e61 commit d49a9a3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions More-Than-Meets-The-Eye_60/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,8 @@
flagchars = ""

for i in range(0, 100):
received = repr(sock.recv(1024))
received = sock.recv(1024)
flagchars += received

flag = ""
for i in range(0 , len(flagchars)):
if i % 28 == 1:
flag += flagchars[i]
if flagchars[i] == "}":
break;

print flag
print ''.join([flagchar[0] for flagchar in flagchars.split('\n')[:-1]])
# flag: stuyctf{why_backspace_no_werk}

0 comments on commit d49a9a3

Please sign in to comment.