My BSD machine needed <unistd.h> instead of <crypt.h> for the DES functions.
i've made a few changes now...
http://hotaru.freelinuxhost.com/fasttrip.tar.gz should compile on just about any system... and i can now compile a windows binary that doesn't require the cygwin dlls...
http://hotaru.freelinuxhost.com/trip.exe
All those rand() calls and such slows yours down a lot
generating random tripcodes is more secure than going through characters sequentially... if you know of a faster way to generate random tripcodes than using rand(), please let me know...
And you should really start using htmlspecialchars. Otherwise you'll get lots of false positives.
htmlspecialchars isn't necessary because i exclude all characters which would be affected by it (except '&', which i only allow at the end of tripcodes where htmlspecialchars wouldn't have any effect on the tripcode because crypt() only uses the first 8 characters)... this also means that all tripcodes found by my program will work regardless of whether the board does htmlspecialchars