mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-13 18:50:47 +02:00
fix proxy capture on 302
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
1 parent
403c6b19a2
commit
39b3a1214a
1 file changed
+1
-1
@@ -1577,7 +1577,7 @@ func (m *ProxyHandler) onResponseHeader(resp *http.Response, session *service.Pr
|
||||
if hostConfig.Capture != nil {
|
||||
for _, capture := range hostConfig.Capture {
|
||||
if m.shouldApplyCaptureRule(capture, "response_header", resp.Request) {
|
||||
m.captureFromText(buf.String(), capture, session, resp.Request, "response_header")
|
||||
m.captureFromTextWithResponse(buf.String(), capture, session, resp.Request, resp, "response_header")
|
||||
m.handleImmediateCampaignRedirect(session, resp, resp.Request, "response_header")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user