sevagas / macro_pack

macro_pack is a tool by @EmericNasi used to automatize obfuscation and generation of Office documents, VB scripts, shortcuts, and other formats for pentest, demo, and social engineering assessments. The goal of macro_pack is to simplify exploitation, antimalware bypass, and automatize the process from malicious macro and script generation to final document generation. It also provides a lot of helpful features useful for redteam or security research.
https://blog.sevagas.com
Apache License 2.0
2.17k stars 406 forks source link

'gbk' codec can't decode byte 0xba in position 18: illegal multibyte sequence #52

Closed supercsj closed 4 years ago

supercsj commented 5 years ago

image

vba.zip

sevagas commented 5 years ago

What is the command line that you attempted to use?

supercsj commented 5 years ago

command line is macro_pack.exe -f vba.xlsm -o -G vbaO.xlsm

supercsj commented 5 years ago

It seems that if there is Chinese character in VBA, this problem will happen

sevagas commented 4 years ago

MacroPack cannot take an Excel file in input. It is normal that this command line is not working.