Differences

This shows you the differences between two versions of the page.

Link to this comparison view

john:tutorials:add-codepage [2012/11/05 15:32]
magnum
john:tutorials:add-codepage [2012/11/05 16:14] (current)
magnum
Line 18: Line 18:
 =====Hint to search for prior CodePage additions===== =====Hint to search for prior CodePage additions=====
   * One '​key'​ item of help, to make sure you find where all changes are, is to search for this:  [cC][pP]1251 ​ in all files in the entire project tree of john (ignore any in the test suite at this time). ​ This shows all the files and edits which were used when linking that code page into john.  Now, some of those hits are just comments, and really do not matter. ​ But with a list of all of where that CP made changes, you should be sure that you have made all changes, once done (making sure you have your code page added the same '​way'​ at each location.   * One '​key'​ item of help, to make sure you find where all changes are, is to search for this:  [cC][pP]1251 ​ in all files in the entire project tree of john (ignore any in the test suite at this time). ​ This shows all the files and edits which were used when linking that code page into john.  Now, some of those hits are just comments, and really do not matter. ​ But with a list of all of where that CP made changes, you should be sure that you have made all changes, once done (making sure you have your code page added the same '​way'​ at each location.
 +
  
  
Line 23: Line 24:
   * a simple google search for CP866 is done.  Simply select one of the first pages (a wiki).   * a simple google search for CP866 is done.  Simply select one of the first pages (a wiki).
   * A visual view of the character data is found at http://​en.wikipedia.org/​wiki/​Code_page_866. ​ However, the perl script works from the Encode module within Perl.   * A visual view of the character data is found at http://​en.wikipedia.org/​wiki/​Code_page_866. ​ However, the perl script works from the Encode module within Perl.
-  * First, obtain and apply the UnicodeDevelFiles-02.diff.gz file from the [[john:​patches|patches]] page as these files are too large to be included with JtR.+  * First, obtain and apply the {{john:​jumbo:​devel:​UnicodeDevelFiles-03.diff.gz}} (or any newer version if available) ​file from the [[john:​patches|patches]] page as these files are too large to be included with JtR.
   * There is a Perl script in the Unicode directory (src/​Unicode,​ after applying the patch). ​ It is Unicode/​cmpt_cp.pl (Compute Code Page). It can produce all needed data from the Unicode Database (which is a flat text file).   * There is a Perl script in the Unicode directory (src/​Unicode,​ after applying the patch). ​ It is Unicode/​cmpt_cp.pl (Compute Code Page). It can produce all needed data from the Unicode Database (which is a flat text file).
   * With that in place, run the script. ​ Simply put the proper code page name on the command line.  To see a list of all code pages, run the script with no command line argument.   * With that in place, run the script. ​ Simply put the proper code page name on the command line.  To see a list of all code pages, run the script with no command line argument.
john/tutorials/add-codepage.txt ยท Last modified: 2012/11/05 16:14 by magnum
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate to DokuWiki Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Powered by OpenVZ Powered by Openwall GNU/*/Linux