A re-write of npdf2john in ruby which has also been ported to python for JtR
Python Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.txt
README.md
npdf2john.py
npdf2john.rb

README.md

npdf2john_ruby

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

Current Issues:

  • 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

Test:

diff <(./npdf2john-master/npdf2john pdfs/*) <(ruby npdf2john.rb pdfs/*) | wc -l

License: