mirror of
https://github.com/bettercap/bettercap
synced 2025-08-22 22:34:22 -07:00
Merge 31b3f04e60
into e71159fc82
This commit is contained in:
commit
06fc9c895f
1 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,9 @@ func (p *HTTPProxy) logRequestAction(req *http.Request, jsreq *JSRequest) {
|
|||
}
|
||||
|
||||
func (p *HTTPProxy) logResponseAction(req *http.Request, jsres *JSResponse) {
|
||||
if len(jsres.Body) == 0 {
|
||||
jsres.ReadBody()
|
||||
}
|
||||
p.sess.Events.Add(p.Name+".spoofed-response", struct {
|
||||
To string
|
||||
Method string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue