Skip to content

Commit 458c694

Browse files
committed
Added comment explaining part of code
1 parent 570d173 commit 458c694

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

impacket/examples/ntlmrelayx/servers/httprelayserver.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@ def serve_image(self):
186186
self.wfile.write(imgFile_data)
187187

188188
def strip_blob(self, proxy):
189+
# Get the body of the request if any
190+
# Otherwise, successive requests will not beb handled properly
191+
# Was added in July 29, 2020 branch e59ff69 and removed during
192+
# restructuring March 30, 2022 branch a168273. Needed for
193+
# relaying the request during WSUS relay attacks
189194
if PY2:
190195
if proxy:
191196
proxyAuthHeader = self.headers.getheader('Proxy-Authorization')

0 commit comments

Comments
 (0)