crack hash

This commit is contained in:
2024-11-22 15:42:22 +09:00
parent 09b70ebea1
commit cfbf398137
10 changed files with 17754 additions and 9 deletions

View File

@ -0,0 +1,22 @@
import socket
# Fill in the right target here
HOST = "localhost" # TODO
PORT = 20204 # TODO
def get_flag():
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))
sf = s.makefile("rw") # we use a file abstraction for the sockets
message1 = sf.readline().rstrip("\n")
# TODO
sf.close()
s.close()
if __name__ == "__main__":
get_flag()