Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 19 May 2012 17:07:52 -0400
From:  <jfoug@....net>
To: john-dev@...ts.openwall.com
Subject: Additions to JtR rules, arbitrary characters

I have had need for a while to insert arbitrary characters into JtR rules.  I have made a couple of changes in rpp.c, which will now allow this.  The changes were surprising easy. This will be usable for all character and string functions:

Ax"str", $c ^c and all character class functions.  Also it will work in preprocessing [] rules where a character(s) is expected.

The syntax is \xhh   hh is 2 hex bytes (both are required).   I needed this to be able to insert some 'hard' to do characters, such as \r \n tab and back-space, (along with others).    However, it works properly for ANY characterr.  \x31 is handled exactly the same as a 1.

This new syntax will allow for some 8 bit data in rules, without having to actually put high bit characters into john.conf file.

Jim.

Patch against magnum-jumbo attached.
Download attachment "JtR-Arbitrary-Bytes-in-rules-01.diff" of type "application/octet-stream" (2933 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.