Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

About Tripcodes...

Name: les aptt 2005-01-06 2:51

The FAQ here is a little vague on some points:
FAQ says short word.  Must it be a word or can it be a random string?
Max length?
Case sensitive?
Forbidden characters? (I assume # is one)
Link to more in depth info?

Thanks in advance
les

Name: hotaru !hoTarufiRE 2005-01-11 0:17

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

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List