Exploit database

GH-a398512ab3c46db40115255f0791592c

andrea-mattioli/apache-exploit-cve-2021-42013

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-42013

50 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.

lib/python3.8/site-packages/setuptools/command/upload.py

Python · 462 bytes
from distutils import log
from distutils.command import upload as orig

from setuptools.errors import RemovedCommandError


class upload(orig.upload):
    """Formerly used to upload packages to PyPI."""

    def run(self):
        msg = (
            "The upload command has been removed, use twine to upload "
            + "instead (https://pypi.org/p/twine)"
        )

        self.announce("ERROR: " + msg, log.ERROR)
        raise RemovedCommandError(msg)