Exploit database

GH-096d7d27b0deb294a13e782188e102be

aaidilz/cve-search

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-44228

465 sources

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

Repository files7
aaidilz/cve-searchRevision 3c97db58bfcc

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

module/exceptions.py

Python · 530 bytes
"""Custom exceptions for CVE Search application."""


class CVESearchError(Exception):
    """Base exception for CVE Search application."""
    pass


class InvalidCVEFormatError(CVESearchError):
    """Raised when CVE format is invalid."""
    pass


class CVENotFoundError(CVESearchError):
    """Raised when CVE is not found."""
    pass


class NetworkError(CVESearchError):
    """Raised when network request fails."""
    pass


class FileOperationError(CVESearchError):
    """Raised when file operation fails."""
    pass