Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: (Module Request) - Nickserv Registration.  (Read 6429 times)

0 Members and 1 Guest are viewing this topic.

ValeY

  • Guest
(Module Request) - Nickserv Registration.
« on: September 22, 2006, 08:53:24 AM »

I dont know if anonpe has this type of modules.. But i need a modules for nickserv registration.. it is like humantestonreg..
But it should be something like..

[08:49] -NickServ- Your passcode : j2wGB0XOb
-
[08:49] -NickServ- please type /msg NickServ confirm <PASSCODE>
-
[08:49] -NickServ- to complete registration

This will appear when user type /ns register pass email

Can anyone help :) I will be so thankful if i can get this modules.
Logged

Dave Robson

  • Team
  • *
  • Offline Offline
  • Posts: 357
(No subject)
« Reply #1 on: September 22, 2006, 09:11:02 AM »

That isnt a human test ( captcha ) its remarkably simple for a bot to pass that.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #2 on: September 22, 2006, 12:30:23 PM »

A better option for a human test would be to send a CAPTCHA image in an email instead of the /msg NickServ confirm code and you use the captcha images value for the confirm code.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

katsklaw

  • Guest
(No subject)
« Reply #3 on: September 22, 2006, 10:49:22 PM »

Logged

ValeY

  • Guest
(No subject)
« Reply #4 on: September 23, 2006, 12:18:05 AM »

Well.. The reason,, why i asked for this modules. is because send mail doesnt work well on my shell.. and i want something that will be confirmed online with a code.. like a explained earlier.. I hope someone can get me this module..

I have tried humantestonreg. but i think it doesnt make my services stable..
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #5 on: September 23, 2006, 12:36:49 AM »

a code send through irc has to be in text format, and for a bot that wouldn't make any difference anyways
a simple script to look for something like -NickServ- Your passcode : .. and message what s in ... back to nickserv wouldn't take more then a few lines of code and any newbie can do it... offers no real protection whatsover
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

ValeY

  • Guest
(No subject)
« Reply #6 on: September 23, 2006, 01:17:04 AM »

Yes.. you are right. a bot can get through it.. But the passcode will be dynamic.. it will change.. just like the one sent to emails.. but this will be sent through a text format on irc.. will it make any difference?

[Edited on 23-9-2006 by katsklaw]
Logged

katsklaw

  • Guest
(No subject)
« Reply #7 on: September 23, 2006, 01:41:27 AM »

Quote
Originally posted by ValeY
Yes.. you are right. a bot can get through it.. But the passcode will be dynamic.. it will change.. just like the one sent to emails.. but this will be sent through a text format on irc.. will it make any difference?

[Edited on 23-9-2006 by katsklaw]


What Viper is saying is that an irc bot can detect what the passcode is by filtering the notice. I'ts very simple to do in any scripting language. Once the bot has the passcode, it can wait a random number of seconds and send the passcode back.

Code: [Select]

on *:text:*your passcode*:*: %p = $4 || timer 1 $rand(1,5) nickserv confirm %p


The above is a simple mIRC script example on how to return the dynamic passcode by a bot. Code is based on your example.


PS: Sorry about editing your post. I hit the edit button instead of the quote button by mistake.
Logged

ValeY

  • Guest
(No subject)
« Reply #8 on: September 23, 2006, 02:10:39 AM »

Okay. thanks for the idea :)
Logged

katsklaw

  • Guest
(No subject)
« Reply #9 on: September 23, 2006, 02:15:08 PM »

What you _can_ do to help keep the registrations real is:

Use a nick registration delay, this makes it so a user has to be connected for X number of seconds before they can register.

Code: [Select]

# NickRegDelay <seconds> [OPTIONAL]
#     Prevents users from regging their nick if they are not
#     connected for at least X seconds.
NickRegDelay 30


And you make it required to give an email address during registration by using NSForceEmail. Use NSRegDelay to keep the flooding down as well as using NSMaxAliases to control the number of nicks in a group.

After all that you can restrict the number of registered nicks per email address by using:

Code: [Select]

# NSEmailMax [OPTIONAL]
# Module: ns_maxemail
#
# Limit the amount of registrations with the same email address to the
# amount given here. If set to 0 or left commented, there will be no limit
# enforced when registering new accounts or using /msg NickServ SET EMAIL.
#
NSEmailMax 1


After all that, it's still possible for someone to register alot of nicks pointlessly, but they would have to have a ton of email addresses as well have alot of free time on their hands to register them manually or write a script to do it.

As a side note, with NSEmailMax, I suggest setting it to 3 or 5 instead of 1. Many users register their bots nick and/or their away nick as well as their primary nick, so using 1 would make it harder for legitimate users ..
Logged
Pages: [1]   Go Up