khr0x40sh / MacroShop

Collection of scripts to aid in delivering payloads via Office Macros. Most are python. See http://khr0x40sh.wordpress.com for details.
MIT License
404 stars 116 forks source link

list index out of range #17

Open iToXiC-Devex opened 6 years ago

iToXiC-Devex commented 6 years ago

I'm getting this error (when i run macro_safe.py) :

Traceback (most recent call last): File "macro_safe.py", line 54, in cut[0] = cut[0].split('%==x86')[1] IndexError: list index out of range

khr0x40sh commented 6 years ago

Can you paste the batch file you are using to generate this? Also, I believe Veil actually includes a module based off of this project natively, so that might be a better option.

On Tue, Feb 6, 2018 at 6:24 AM, iToXiC-Devex notifications@github.com wrote:

I'm getting this error (when i run macro_safe.py) :

Traceback (most recent call last): File "macro_safe.py", line 54, in cut[0] = cut[0].split('%==x86')[1] IndexError: list index out of range

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/khr0x40sh/MacroShop/issues/17, or mute the thread https://github.com/notifications/unsubscribe-auth/AGWSu4yH-4jRSOOm0w3eBd6K6HUlt8Otks5tSDZ6gaJpZM4R65UL .

hdawg12 commented 5 years ago

where would that be located in veil

khr0x40sh commented 5 years ago

https://raw.githubusercontent.com/Veil-Framework/Veil/master/tools/evasion/payloads/auxiliary/macro_converter.py

hdawg12 commented 5 years ago

https://raw.githubusercontent.com/Veil-Framework/Veil/master/tools/evasion/payloads/auxiliary/macro_converter.py

how would you implement this? Would I use git clone?

khr0x40sh commented 5 years ago

I would use the Veil framework module as this script has been deprecated due to their incorporation into their framework:

https://github.com/Veil-Framework