support custom user agent

This commit is contained in:
xenov
2022-01-26 05:41:08 -05:00
parent 29d605a334
commit 044abf8fd6
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ func GenerateComunication(stage, sleeptime, jitter, useragent, datajitter string
num_agent, _ := strconv.Atoi(Utils.GenerateNumer(51, 65))
Beacon_Com.Variables["useragent"] = Struct.Useragent_list[num_agent]
} else {
log.Fatal("Error: Please provide a Useragent option")
Beacon_Com.Variables["useragent"] = useragent
}
}
if useragent == "" {
+1
View File
@@ -152,6 +152,7 @@ Usage of ./SourcePoint:
[*] Win6.3
[*] Linux
[*] Mac
[*] Custom - Whatever string you specify will be used as the user agent
-Yaml string
Path to the Yaml config file
```