fix: add necessary parameters to listeners cat in profile
This commit is contained in:
+16
-12
@@ -1,15 +1,3 @@
|
||||
Listeners {
|
||||
Http {
|
||||
Host = "0.0.0.0"
|
||||
PortBind = 80
|
||||
PortConn = 443
|
||||
|
||||
Hosts = [
|
||||
"c2.example.com" # replace with your actual host
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Teamserver {
|
||||
Host = "0.0.0.0"
|
||||
Port = 40056
|
||||
@@ -41,6 +29,22 @@ Operators {
|
||||
}
|
||||
}
|
||||
|
||||
Listeners {
|
||||
Http {
|
||||
Name = "Cloudflare HTTP Listener"
|
||||
HostBind = "0.0.0.0"
|
||||
PortBind = 80
|
||||
PortConn = 443
|
||||
HostRotation = "round-robin"
|
||||
Secure = false
|
||||
UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
|
||||
|
||||
Hosts = [
|
||||
"c2.example.com" # replace with your actual host
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
# this is optional. if you dont use it you can remove it.
|
||||
Service {
|
||||
Endpoint = "service-endpoint"
|
||||
|
||||
Reference in New Issue
Block a user