Exploit database

GH-9fcdc3b0dd5c5e18b788e8a22f70bf75

tc4dy/cve-2026-134815-poc-exploit

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-134815

3 sources

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

Repository files5
tc4dy/cve-2026-134815-poc-exploitRevision 64eb6a56c017

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

lib/logger.py

Python · 1,627 bytes
import sys
import logging
import threading
from logging.handlers import RotatingFileHandler
from lib.config import red, green, yellow, cyan, dim, bold, rst

log = logging.getLogger("simplegit_rce")
log.setLevel(logging.DEBUG)
log.propagate = False

_stream = logging.StreamHandler(sys.stdout)
_stream.setFormatter(logging.Formatter("%(message)s"))
log.addHandler(_stream)

try:
    _file = RotatingFileHandler("simplegit_rce.log", maxBytes=10 * 1024 * 1024, backupCount=3, encoding="utf-8")
    _file.setFormatter(logging.Formatter("%(asctime)s [%(threadName)s] %(levelname)s %(message)s"))
    log.addHandler(_file)
except (OSError, IOError):
    pass

_lock = threading.Lock()

def ok(msg):
    with _lock:
        sys.stdout.write(f"\r{' ' * 100}\r")
        print(f"{green}[+]{rst} {msg}", flush=True)
    log.info(msg)

def bad(msg):
    with _lock:
        sys.stdout.write(f"\r{' ' * 100}\r")
        print(f"{red}[-]{rst} {msg}", flush=True)
    log.error(msg)

def info(msg):
    with _lock:
        sys.stdout.write(f"\r{' ' * 100}\r")
        print(f"{cyan}[*]{rst} {msg}", flush=True)
    log.info(msg)

def warn(msg):
    with _lock:
        sys.stdout.write(f"\r{' ' * 100}\r")
        print(f"{yellow}[!]{rst} {msg}", flush=True)
    log.warning(msg)

def dbg(msg):
    if getattr(sys, "_verbose", False):
        with _lock:
            print(f"{dim}[d]{rst} {msg}", flush=True)
    log.debug(msg)

def hit(msg):
    with _lock:
        print()
        print(f"{red}{'█' * 60}{rst}")
        print(f"{red}{bold}  [!] {msg}{rst}")
        print(f"{red}{'█' * 60}{rst}")
        print()
    log.critical(msg)