Skip to content

Commit

Permalink
Ensure beacon tries to connect the same as session
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgol committed Sep 28, 2022
1 parent 160486c commit 97ff802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implant/sliver/transports/beacon.go
Expand Up @@ -341,7 +341,7 @@ func dnsBeacon(uri *url.URL) *Beacon {
ActiveC2: uri.String(),
Init: func() error {
opts := dnsclient.ParseDNSOptions(uri)
client, err = dnsclient.DNSStartSession(uri.Host, opts)
client, err = dnsclient.DNSStartSession(uri.Hostname(), opts)
if err != nil {
// {{if .Config.Debug}}
log.Printf("[beacon] dns connection error %s", err)
Expand Down

0 comments on commit 97ff802

Please sign in to comment.