Date: 2024-15-22
Time: 6pm-8pm
Location: GH224
Host: Zack Sargent
Voting has now closed.
Click "See previous responses" for form results.
Thanks!
After voting, this was the most popular option:
Here are the two challenges we worked on during this meeting:
Other options are available below, for reference:
https://play.picoctf.org/practice?difficulty=1&originalEvent=69&page=1
https://play.picoctf.org/practice?difficulty=1&originalEvent=73&page=2
https://tryhackme.com/r/room/pythonbasics
https://tryhackme.com/r/room/howwebsiteswork
from pwn import *
def to_little_endian(word: str) -> str:
little_endian = ""
for c in word[::-1]:
little_endian += str("%02x" % ord(c))
return little_endian[2:];
def to_big_endian(word: str) -> str:
big_endian = ""
for c in word:
big_endian += str("%02x" % ord(c))
return big_endian[:-2]
# with process("./flag") as p:
with remote("titan.picoctf.net", 51156) as p:
print(p.readline())
print(p.readline())
print(p.readline())
wordline = p.readline().decode('utf-8')
_, word = wordline.split(": ")
print(f"The word is: {word.strip()}")
print(f"The type is: {type(word)}")
print('little =', to_little_endian(word))
print('big =', to_big_endian(word))
p.sendline(to_little_endian(word))
p.recvline()
p.sendline(to_big_endian(word))
p.recvline()
p.interactive()