0xHJK / dumpall

一款信息泄漏利用工具,适用于.git/.svn/.DS_Store泄漏和目录列出
https://github.com/0xHJK/dumpall
MIT License
1.39k stars 144 forks source link

RuntimeError: HTTPS TLS ERROR #13

Open mu0gua opened 2 years ago

mu0gua commented 2 years ago

Filepath: \dumpall-master\dumpall\dumper.py

async def fetch(self, url: str, times: int = 3) -> tuple:

        conn=aiohttp.TCPConnector(ssl=False)
        async with aiohttp.ClientSession(connector=conn) as session:

        ......    

don't aiohttp.TCPConnector(_verifyssl=False)

mu0gua commented 2 years ago

version: aiohttp-4.0.0a1

function: aiohttp.TCPConnector

class TCPConnector(BaseConnector):
    """TCP connector.

    verify_ssl - Set to True to check ssl certifications.
    fingerprint - Pass the binary sha256
        digest of the expected certificate in DER format to verify
        that the certificate the server presents matches. See also
        https://en.wikipedia.org/wiki/Transport_Layer_Security#Certificate_pinning
    resolver - Enable DNS lookups and use this
        resolver
    use_dns_cache - Use memory cache for DNS lookups.
    ttl_dns_cache - Max seconds having cached a DNS entry, None forever.
    family - socket address family
    local_addr - local tuple of (host, port) to bind socket to

    keepalive_timeout - (optional) Keep-alive timeout.
    force_close - Set to True to force close and do reconnect
        after each request (and between redirects).
    limit - The total number of simultaneous connections.
    limit_per_host - Number of simultaneous connections to one host.
    enable_cleanup_closed - Enables clean-up closed ssl transports.
                            Disabled by default.
    loop - Optional event loop.
    """

    def __init__(self, *,
                 use_dns_cache: bool=True, ttl_dns_cache: int=10,
                 family: int=0,
                 ssl: Union[None, bool, Fingerprint, SSLContext]=None,
                 local_addr: Optional[Tuple[str, int]]=None,
                 resolver: Optional[AbstractResolver]=None,
                 keepalive_timeout: Union[None, float, object]=sentinel,
                 force_close: bool=False,
                 limit: int=100, limit_per_host: int=0,
                 enable_cleanup_closed: bool=False) -> None: