Created
September 6, 2022 12:09
-
-
Save mgeeky/82d6abe0508ae81f107689864fb5dfc0 to your computer and use it in GitHub Desktop.
office-to-iso-with-motw.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pack macro-enabled doc to ISO | |
py PackMyPayload.py Resume1337.xlsm test11.iso | |
# Apply MOTW on that ISO | |
Set-Content -Path test11.iso -Stream Zone.Identifier -Value '[ZoneTransfer]','ZoneId=3' | |
# Mount it | |
Mount-DiskImage -ImagePath test11.iso | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment