macro_pack
macro_pack copied to clipboard
Cannot Embed Dll
When doing
echo test | macro_pack.exe --template=EMBED_DLL --embed=payload.dll --obfuscate -G payload.hta
compiles fun, but when running HTA., geting an error "Expected End of Statement"
when looking at the particular line in the HTA, it reads:
Private Declare Sub test Lib "Document1.asd" ()
is this right ? (the name of the DLL Function in question is test).
It seems you have the VBA code instead of VBS that is in your HTA Are you having the same error with echo DllMain | macro_pack.exe --template=EMBED_DLL --embed=payload.dll --obfuscate -G payload.vbs ?
yep when running
d:\>cscript payload.vbs
D:\pentesting\tools\macropac\payload.vbs(3, 17) Microsoft VBScript compilation error: Expected end of statement
This bug appears in version 2.2.0. Use 1.5 solved the problem @russokiwi