This commit is contained in:
Matthew Eidelberg
2023-12-05 12:30:46 -05:00
parent d0ebfe37e6
commit b58a411ba6
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -99,7 +99,7 @@ func GenerateOptions(stage, sleeptime, jitter, useragent, uri, customuri, custom
if ThreadSpoof == true {
fmt.Println("[!] ThreadSpooffing in enabled")
}
if syscall_method == "none" {
if syscall_method == "None" {
fmt.Println("[!] No Syscall method selected")
} else {
fmt.Println("[!] " + syscall_method + " syscall method selected")
@@ -334,11 +334,11 @@ func GeneratePE(beacon_PE string, syscall_method string) (map[string]string, map
}
if syscall_method != "" {
if syscall_method == "none" {
if syscall_method == "None" {
Beacon_Stage_p1.Variables["syscall_method"] = "None"
} else if syscall_method == "direct" {
} else if syscall_method == "Direct" {
Beacon_Stage_p1.Variables["syscall_method"] = "Direct"
} else if syscall_method == "indirect" {
} else if syscall_method == "Indirect" {
Beacon_Stage_p1.Variables["syscall_method"] = "Indirect"
} else {
log.Fatal("Error: Please provide a valid Syscall Method")
+1 -1
View File
@@ -91,7 +91,7 @@ func GenerateSingleValue(num int) string {
n := num
b := make([]byte, n)
for i := range b {
b[i] = alphanum[rand.Intn(len(alpha))]
b[i] = alphanum[rand.Intn(len(alphanum))]
}
return string(b)
}