From 309f0ca92c5664f8c50806d0e0b886bd9f709ee0 Mon Sep 17 00:00:00 2001 From: tzrj Date: Wed, 19 Apr 2023 21:11:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E6=B1=A0=E5=B0=8FBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加httpraw缺少的real_host参数 --- HackRequests/HackRequests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HackRequests/HackRequests.py b/HackRequests/HackRequests.py index 8706098..ec21eca 100644 --- a/HackRequests/HackRequests.py +++ b/HackRequests/HackRequests.py @@ -496,10 +496,10 @@ def http(self, url, **kwargs): func = self.hack.http self.queue.put({"func": func, "url": url, "kw": kwargs}) - def httpraw(self, raw: str, ssl: bool = False, proxy=None, location=True): + def httpraw(self, raw: str, ssl: bool = False, proxy=None, location=True,real_host=None): func = self.hack.httpraw self.queue.put({"func": func, "raw": raw, "ssl": ssl, - "proxy": proxy, "location": location}) + "proxy": proxy, "location": location, "real_host":real_host}) def scan(self): while 1: