A re-write of npdf2john in ruby which has also been ported to python for JtR
Works for all test pdfs available in john's sample non-hashes
- Need a better way of dealing with escaped chars
- Currently using a hash map to replace them bugs will occur if char not in the map
diff <(./npdf2john-master/npdf2john pdfs/*) <(ruby npdf2john.rb pdfs/*) | wc -l
This software is MIT licensed see link for details
If you want to add npdf2john.rb to john itself please feel free to disregard the license.