Skip to content

Commit

Permalink
v2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Tylous committed May 6, 2022
1 parent a51aa35 commit 356a18f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Loader/Loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
3 changes: 3 additions & 0 deletions Sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ Customuri:
CustomuriGET:
CustomuriPOST:
Forwarder: False
TasksMaxSize:
TasksProxyMaxSize:
TasksDnsProxyMaxSize:

0 comments on commit 356a18f

Please sign in to comment.