mirror of
https://github.com/Tylous/SourcePoint
synced 2026-06-06 16:54:33 +00:00
v2.3
This commit is contained in:
+2
-2
@@ -349,14 +349,14 @@ func GenerateProfile(Profile, CDN, CDN_Value, cert_password, custom_cert, Profil
|
||||
Beacon_GETPOST_Profile.Variables = make(map[string]string)
|
||||
Beacon_SSL.Variables = make(map[string]string)
|
||||
if Profile == "" {
|
||||
CNAME := "\rhttps-certificate {\rset CN \"" + hostname + "\"; #Common Name"
|
||||
CNAME := "\nhttps-certificate {\rset CN \"" + hostname + "\"; #Common Name"
|
||||
Beacon_SSL.Variables["Cert"] = CNAME + Struct.Cert[num_Profile-1]
|
||||
Beacon_GETPOST_Profile.Variables["Profile"] = Struct.HTTP_GET_POST_list[num_Profile-1]
|
||||
}
|
||||
if Profile != "" {
|
||||
num_Profile, _ = strconv.Atoi(Profile)
|
||||
if num_Profile <= 4 {
|
||||
CNAME := "\rhttps-certificate {\rset CN \"" + hostname + "\"; #Common Name"
|
||||
CNAME := "\nhttps-certificate {\rset CN \"" + hostname + "\"; #Common Name"
|
||||
Beacon_SSL.Variables["Cert"] = CNAME + Struct.Cert[num_Profile-1]
|
||||
Beacon_GETPOST_Profile.Variables["Profile"] = Struct.HTTP_GET_POST_list[(num_Profile - 1)]
|
||||
fmt.Println("[!] Self Signed SSL Cerificate Used")
|
||||
|
||||
@@ -24,3 +24,6 @@ Customuri:
|
||||
CustomuriGET:
|
||||
CustomuriPOST:
|
||||
Forwarder: False
|
||||
TasksMaxSize:
|
||||
TasksProxyMaxSize:
|
||||
TasksDnsProxyMaxSize:
|
||||
Reference in New Issue
Block a user