fix shellcode x86_64
This commit is contained in:
parent
f795e9b99d
commit
57b0ae26a7
@ -482,7 +482,7 @@ func (mc *MachoContext) ReworkForObjc() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
encode_movz((data_end - text_start) + (shellcode_size - len(shellcode_start)))
|
encode_movz((data_end - text_start) + (shellcode_size - len(shellcode_start))+3)
|
||||||
|
|
||||||
shellcode_offset = text_start - shellcode_size
|
shellcode_offset = text_start - shellcode_size
|
||||||
shellcode_bytes := append(shellcode_start, offset...)
|
shellcode_bytes := append(shellcode_start, offset...)
|
||||||
|
Loading…
Reference in New Issue
Block a user