Skip to content

Commit

Permalink
Fix incorrect array reference
Browse files Browse the repository at this point in the history
Array for GeneratePE function without beacon_PE arg specified incorrectly referenced the Post_EX_Process_Name array,

Corrected to Peclone_list
  • Loading branch information
Xenov-X authored Aug 11, 2021
1 parent 956bdc0 commit b14ded7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Loader/Loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func GeneratePE(beacon_PE string) map[string]string {
Beacon_Stage_p2.Variables = make(map[string]string)
if beacon_PE == "" {
PE_Num, _ := strconv.Atoi(Utils.GenerateNumer(0, 25))
Beacon_Stage_p2.Variables["pe"] = Struct.Post_EX_Process_Name[PE_Num]
Beacon_Stage_p2.Variables["pe"] = Struct.Peclone_list[PE_Num]
}
if beacon_PE != "" {
PE_Num, _ := strconv.Atoi(beacon_PE)
Expand Down

0 comments on commit b14ded7

Please # to comment.