mirror of https://github.com/gophish/gophish
Changed {{Tracker}} to be a full image tag, while {{TrackingURL}} is just the URL if needed.
parent
f51758f8c9
commit
9b597fea92
|
@ -64,9 +64,11 @@ func processCampaign(c *models.Campaign) {
|
||||||
models.Result
|
models.Result
|
||||||
URL string
|
URL string
|
||||||
Tracker string
|
Tracker string
|
||||||
|
TrackingURL
|
||||||
}{
|
}{
|
||||||
t,
|
t,
|
||||||
"http://" + ips[0].String() + "?rid=" + t.RId,
|
"http://" + ips[0].String() + "?rid=" + t.RId,
|
||||||
|
"<img src='http://" + ips[0].String() + "/track?rid=" + t.RId + "'/>",
|
||||||
"http://" + ips[0].String() + "/track?rid=" + t.RId,
|
"http://" + ips[0].String() + "/track?rid=" + t.RId,
|
||||||
}
|
}
|
||||||
// Parse the templates
|
// Parse the templates
|
||||||
|
|
Loading…
Reference in New Issue