03-30-2016, 11:25 PM
Your problem is ''-username''. Since you only have one dash before the word 'username,' getopt is interpreting that as "-u sername" and telling you that 'sername' is not a valid value. Long options always have two dashes, not one. But regardless you shouldn't need the --username switch if you are using office2hashcat, or are editing the output from office2john in the appropriate manner.
Also, mask attack against -m 9500 is a bit... uneducated. That algorithm is way too slow to brute force.
Also, mask attack against -m 9500 is a bit... uneducated. That algorithm is way too slow to brute force.