mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-07-15 00:07:24 +02:00
add remote browser message emit to debug in live mode
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -638,8 +638,12 @@ func (m *RemoteBrowserController) ServeVictim(g *gin.Context) {
|
||||
default:
|
||||
}
|
||||
}
|
||||
// Skip log, capture (saved server-side), and keep_alive (handled above); forward everything else
|
||||
if evt.Type == "log" || evt.Type == "capture" || evt.Type == "keep_alive" {
|
||||
if evt.Type == "log" {
|
||||
m.Logger.Debugw(evt.Message, "campaign_id", campaignID, "recipient_id", recipientID)
|
||||
continue
|
||||
}
|
||||
// Skip capture (saved server-side) and keep_alive (handled above); forward everything else
|
||||
if evt.Type == "capture" || evt.Type == "keep_alive" {
|
||||
continue
|
||||
}
|
||||
payload, err := json.Marshal(map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user