8 Edit ht2crack2buildtable.c and set the DATAMAX, NUM_BUILD_THREADS and NUM_SORT_THREADS values.
9 These are important if you want it to run quickly. Ideally set DATAMAX to the largest value
10 that you can get away with and set NUM_BUILD_THREADS and NUM_SORT_THREADS to the number of
11 virtual cores you have available, which MUST be a power of 2. NUM_BUILD_THREADS MUST be >=
14 Calculate DATAMAX = free RAM available / 65536, and then round down to a power of 10.
16 The Makefile is configured for linux. To compile on Mac, edit it and swap the LIBS= lines.
23 Run ht2crack2buildtable
24 -----------------------
26 Make sure you are in a directory on a disk with at least 1.5TB of space.
32 Wait a very long time. Maybe a few days.
34 This will create a directory tree called table/ while it is working that will contain
35 files that will slowly build up in size to approx 20MB each. Once it has finished making
36 these unsorted files, it will sort them into the directory tree sorted/ and remove the
37 original files. It will then exit and you'll have your shiny table.
40 Test with ht2crack2gentests
41 ---------------------------
44 ./ht2crack2gentests NUMBER_OF_TESTS
47 to generate NUMBER_OF_TESTS test files. These will all be named
48 keystream.key-KEYVALUE.uid-UIDVALUE.nR-NRVALUE
50 Test a single test with
53 ./runtest.sh KEYSTREAMFILE
58 ./ht2crack2search KEYSTREAMFILE UIDVALUE NRVALUE
66 Feel free to edit the shell scripts to find your tools. You might want to create a
67 symbolic link to your sorted/ directory called 'sorted' to help ht2crack2seach find the
70 If the tests work, then the table is sound.
73 Search for key in real keystream
74 --------------------------------
76 Recover 2048 bits of keystream from the target RFID tag with the RFIDler. You will have had
77 to supply an NR value and you should know the tag's UID (you can get this using the RFIDler).
80 ./ht2crack2search KEYSTREAMFILE UIDVALUE NRVALUE