⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.147
Server IP:
97.74.87.16
Server:
Linux 16.87.74.97.host.secureserver.net 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
opt
/
nydus
/
ops
/
primordial
/
requests
/
View File Name :
adapters.py
# -*- coding: utf-8 -*- from requests.adapters import HTTPAdapter class CustomHostnameHTTPSAdapter(HTTPAdapter): """Allow for setting a custom hostname on an adapter.""" def __init__(self, custom_hostname: str) -> None: self.custom_hostname = custom_hostname super().__init__() def cert_verify(self, conn, url, verify, cert): conn.assert_hostname = self.custom_hostname return super().cert_verify(conn, url, verify, cert)