Skip to content

Commit bcf6914

Browse files
author
“onedays12”
committed
v1.2 fix post_srdi bug
1 parent 110135d commit bcf6914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Convert2Shellcode/Convert2Shellcode_post.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ func main() {
190190
finalShellcode := make([]uint8, finalsize)
191191
copy(finalShellcode, dllBytes)
192192
copy(finalShellcode, bootstrap)
193-
finalShellcode = append(finalShellcode, rdiShellcode64...)
193+
copy(finalShellcode[len(dllBytes):], rdiShellcode64)
194194

195195
// 确定输出路径
196196
outputPath := "shellcode_post.bin"

0 commit comments

Comments
 (0)