Saturday, 22 November 2008
Third party scripts
Sunday, 19 March 2006

MD5-identification

For secure authentication with NickServ, SorceryNet provides a method to authenticate using MD5. MD5 is a one-way encryption algorithm usually used for verifying data integrity. This authentication is done using the identify-md5 command and a typical sessions looks like this:

  1. First you request some random text called the cookie:
  2. /NickServ identify-md5

    The response will be something like:

    205 S/MD5 1.0 c2096ab:b2ed

    This means your cookie is "c2096ab:b2ed". This text is unique for this particular session, and it ensures that each of your responses is unique. Eavesdropping will be useless.

  3. The next step is to build the response. To be able to compare the final result, NickServ needs to duplicate these operations. As NickServ does not have your actual password, only a MD5 hash of it, you need to authenticate using the MD5 hash rather than the actual password. The response is made by joining your nickname in lowercase, the cookie and the (hexadecimal) MD5 hash of your password by colons. So in Perl for example: $response = join(':', lc($nick), $cookie, md5_hex($password))
  4. Now you can authenticate by sending the hexadecimal MD5 hash of this response back to NickServ, for example:
  5. /NickServ identify-md5 3cd7a0db76ff9dca48979e24c39b408c

SorceryNet users have already written MD5 authentication scripts for the following clients:

Irssi

You need to have an Irssi with Perl support and the Perl module Digest::MD5 for this script to work.
  1. Download identify-md5.pl and place it in your Irssi scripts autorun directory (usually ~/.irssi/scripts/autorun).
  2. Open it in your favourite editor and follow the instructions in the file for adding your nicknames and passwords.
  3. Fire up Irssi and identify using the new /identify-md5 command.

mIRC

In your remotes add:

on *:NOTICE:205 S/MD5 1.0*:?:{ set %MD5cookie $4 | md5 }
on *:NOTICE:This nick belongs to another user.*:?:{ msg Nickserv identify-md5 }
alias md5 {
{ set %hash $lower($me) $+ : $+ %MD5cookie $+ : $+ $md5(YourPasswordHere) }
{ msg nickserv identify-md5 $me $md5(%hash) }
}

This script was written by Tony Vroon.

Xchat2

Download and install this perl-script, written by Allan Preston. 

 


MemoServ notification

This script adds a little counter to your status bar and uses it to display the number of memos you have in your MemoServ inbox.

Irssi

Download it here: memoservbar.pl.

 

Last Updated ( Sunday, 10 September 2006 )
 

Newsflash

SorceryNet has presented the award for most akills set to Tagert. Good job keeping those bad guys away! Tagert has been an operator on SorceryNet for many years, and has recently applied to link his own server here: ironforge. Good luck with your server, and hope you keep serving us for many more years.

 
Quote
Do you have a funny quote to be displayed here? Send us a mail
 
New on Sorcery
Copyright © SorceryNet 1996-2008