MCPcopy
hub / github.com/kgretzky/evilginx2 / combineHost

Function combineHost

core/shared.go:5–10  ·  view source on GitHub ↗
(sub string, domain string)

Source from the content-addressed store, hash-verified

3import "strings"
4
5func combineHost(sub string, domain string) string {
6 if sub == "" {
7 return domain
8 }
9 return sub + "." + domain
10}
11
12func obfuscateDots(s string) string {
13 return strings.Replace(s, ".", "[[d0t]]", -1)

Callers 13

GetPhishHostsMethod · 0.85
GetLureUrlMethod · 0.85
GetLandingPhishHostMethod · 0.85
VerifyPhishletsMethod · 0.85
NewHttpProxyFunction · 0.85
patchUrlsMethod · 0.85
getPhishletByOrigHostMethod · 0.85
getPhishDomainMethod · 0.85
getPhishSubMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected