2021-12-27
[watevrCTF 2019]Crypto over the intrawebs
题目
import socket, select, signal, string
import sys, os, time, random
import threading
HOST = '198.51.100.0'
PORT = 1337
USERNAME = "Houdini"
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((socket.gethostname(), PORT))
key = int(s.recv(1240).decode("utf-8").split(" ")[1])
def encrypt(plaintext):
global USERNAME
global key
plaintext = USERNAME
2021-12-27最先出现在Python成神之路。
共有 0 条评论