We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25ba18b commit add98b0Copy full SHA for add98b0
src/modules/smtp/userEnum.go
@@ -20,8 +20,9 @@ func PrepareSMTPConnections(optionsInterface *interface{}) {
20
if err != nil {
21
options.Log.Fatal("Not able to retrieve the MX for the domain " + options.Domain)
22
}
23
- options.Target = mxrecords[0].Host
+ options.Target = strings.TrimRight(mxrecords[0].Host, ".")
24
25
+ options.Log.Target = options.Target
26
27
var nbConnectionsRequired int
28
nbConnectionsRequired = options.Thread
0 commit comments