Exploit databaseDownload repository ZIP
GH-22594ad0852c160d7cacb63860cab7c0
2932796375github/cve-2026-43499_oppo-mt6835
Sources for CVE-2026-43499
165 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files11
2932796375github/cve-2026-43499_oppo-mt6835Revision ebae4c33975b
- ↑..Parent directory
- __pycache__/
- caches/
- __init__.py
- _cmd.py
- adapter.py
- cache.py
- controller.py
- filewrapper.py
- heuristics.py
- serialize.py
- wrapper.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
work_ota/venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/wrapper.py
Python · 1,417 bytes# SPDX-FileCopyrightText: 2015 Eric Larson
#
# SPDX-License-Identifier: Apache-2.0
from __future__ import annotations
from typing import TYPE_CHECKING, Collection
from pip._vendor.cachecontrol.adapter import CacheControlAdapter
from pip._vendor.cachecontrol.cache import DictCache
if TYPE_CHECKING:
from pip._vendor import requests
from pip._vendor.cachecontrol.cache import BaseCache
from pip._vendor.cachecontrol.controller import CacheController
from pip._vendor.cachecontrol.heuristics import BaseHeuristic
from pip._vendor.cachecontrol.serialize import Serializer
def CacheControl(
sess: requests.Session,
cache: BaseCache | None = None,
cache_etags: bool = True,
serializer: Serializer | None = None,
heuristic: BaseHeuristic | None = None,
controller_class: type[CacheController] | None = None,
adapter_class: type[CacheControlAdapter] | None = None,
cacheable_methods: Collection[str] | None = None,
) -> requests.Session:
cache = DictCache() if cache is None else cache
adapter_class = adapter_class or CacheControlAdapter
adapter = adapter_class(
cache,
cache_etags=cache_etags,
serializer=serializer,
heuristic=heuristic,
controller_class=controller_class,
cacheable_methods=cacheable_methods,
)
sess.mount("http://", adapter)
sess.mount("https://", adapter)
return sess