Archive for the ‘Random’ Category.

/etc/passwd Fun

Several years ago I put up a /etc/passwd script that generates a passwd file full of random usernames with hashes of random floating point numbers for the password. You can see the script in action at http://tolchz.net/etc/passwd . Hit reload a few times to get the full effect.

I’ve recently found several forums that have “users” asking how to crack the passwd file found on my site….

American Site (The user seems to think it is a Windows password file)
German Site
Czech Site
Russian Site

[Digg] [Reddit] [DZone]

links for 2006-12-07

links for 2006-12-06

[Digg] [Reddit] [DZone]

Plagiarism Detection

Test a document (MS Word or TXT) at http://www.tolchz.net/plag/

[Digg] [Reddit] [DZone]

mod_auth_mysql Fun

Spent all morning fighting with mod_auth_mysql

At some point the mysql_connect call was removed from the mysql client libraries and replaced with mysql_real_connect. The version of mod_auth_mysql that I had didn’t apparently didn’t receive that email.

  • Download new version from SourceForge
  • Compile
  • Install
  • httpd configtest

Can’t locate API module structure `auth_mysql_module’ in file /usr/local/libexec/apache/mod_auth_mysql.so: Undefined symbol “auth_mysql_module”

Huh ?

The old module used “auth_mysql_module” in the LoadModule line and the new one does not.
So change the line:
LoadModule auth_module libexec/mod_auth_mysql.so

LoadModule mysql_auth_module libexec/mod_auth_mysql.so

[Digg] [Reddit] [DZone]