Skip to content

Commit

Permalink
v3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Eidelberg committed Dec 5, 2023
1 parent d0ebfe3 commit b58a411
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Loader/Loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion Utils/Utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit b58a411

Please sign in to comment.