Testing John the Ripper in Mac OS X as a RAR password recovery solution, but xargs gives me an error:
john --incremental:all --stdout | xargs -I jtr unrar e -pjtr -inul test2.rar | grep 100%
xargs: unterminated quote
But when I add '-0' to xargs to deal with the quote, I get another xargs error:
john --incremental:all --stdout | xargs -0 -I jtr unrar e -pjtr -inul test2.rar | grep 100%
xargs: insufficient space for argument
Which I suppose is because the '-0' is preventing xargs from using newlines as delimiters, which is creating the space issue?
Any ideas on how to make xargs happy? Is there a way to solve the quotes issue while keeping the newline delimiter intact?