mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-02-12 16:12:44 +00:00
fix proxy capture on 302
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -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