Page 1 of 1

About Hidding Ident

Posted: Wed Jan 25, 2006 7:03 pm
by katilpence
Hi to Friends

i want to ask you this question that my idents [email protected] . When this ident enter the host for example we say it will get a counterfeit ident [email protected] like that, my intention i banned normal idents only 6-7 pieces idents opened but some intelligent friends change idents according to them and come here. Now i want to form counterfeit ident. Is this possible to do by i or is there any alternative?

Posted: Thu Jan 26, 2006 4:42 am
by JIVXor
1- By modifying the sources (you'll be losing support)
2- Write a BOT, make it IRCop and configure the ON:SNOTICE with the pattern

Code: Select all

 server ! Client connecting on port 6667: blah (ident@localhost) [c-clients]

then use a /chgident blah New_Counterfeit_Random_Ident

Hope that helps.

Posted: Thu Jan 26, 2006 5:33 pm
by katilpence
All right can you write me this source or sources or is there like this tcl?

Posted: Fri Jan 27, 2006 8:22 pm
by JIVXor
Modify the sources? No, I didn't want to do that. Isn't supported.

Write a BOT? Well, as far as I know, Numeric answers (RPL_.*) don't help us to obtain the client's nick that is connecting(correct me if I'm wrong), so what I told about ON:SNOTICE, please forget it. So, you have to write a module(I'm not capable to do that). Take a look at your send.c file, a void function called sendto_connectnotice and look the order that the variables are passed by parameters. Something like this :

Code: Select all

 (...) (connectd,"*** Notice -- Client connecting on port %d: %s (%s@%s) [%s] %s%s%s", sptr->listener->port, nick, user->username, user->realhost, (...)
Hope that helps.

PD : If is on a remote server, I was looking for the file, but didn't find it, so ask for an unrealIRCd coder/supporter for that.

Posted: Sat Jan 28, 2006 4:51 am
by Grunt
Nah... a simple eggdrop/psybnc can do the job, no need to change the source, re-compile, lose support. You'll find some scripting examples and the documentation needed on their websites. Here's an example for psyBNC:

Code: Select all

server NOTICE *!*@host.com * "*Client connecting*" echo "CHGHOST $P12 new_ident"
This was made to use the "F" snomask.

And btw, numeric answers can be handled by mIRC in the following way:

raw 473:*:{ echo -a I tried to join $2 but its invite only! | halt }
(This would change the text displayed when receiving a 473 numeric, when trying to enter an invite-only channel.)


In a simple server notice like this one:

Code: Select all

[06:18] -irc.random.servber.net- *** Notice -- Client connecting on port 6667: Guest ([email protected]) [clients]
, the nickname can be accessed as $8, like this:

Code: Select all

on *:SNOTICE:*Client connecting*:{ set %x $read(idents.txt) | chgident $8 %x | echo -a Ident for $8 changed to %x | unset %x }
This would change the users's ident from a random read from the file "idents.txt" assuming it already exists and is readable.

Of course, the bot that you use, no matter if it's a scripted psyBNC, eggdrop, mIRC or whatever, you need to make him oper and his snomask to +F.

Posted: Sun Jan 29, 2006 8:43 pm
by JIVXor
Wow, so many thanks Grunt. I was looking for that ;)

Posted: Mon Jan 30, 2006 4:37 am
by Grunt
np ;)

Posted: Thu Feb 02, 2006 12:16 pm
by katilpence
This bot matter dont wrap me up Grunt, we do that in unreal isnt it be? we cant see the it entrance no problem that is, but the ident part we can show its alright...

Posted: Thu Feb 02, 2006 6:23 pm
by Grunt
katilpence wrote:This bot matter dont wrap me up Grunt, we do that in unreal isnt it be? we cant see the it entrance no problem that is, but the ident part we can show its alright...
Sorry, I can't understand what you're saying.

Visit http://www.egghelp.org for info on how to set up an eggdrop, maybe even learn some basic tcl and in an hour your bot should be done.

Posted: Thu Feb 02, 2006 6:44 pm
by JIVXor
I guess I can understand "something"

katilpence : That code runs on behalf of the client. You do that in your mIRC->Tools->Scripts Editor->Remotes. There, you have to write Grunt's code, later you should test it to be sure. Or you can learn how-to eggbots, is the better solution.

Posted: Thu Feb 02, 2006 6:58 pm
by Grunt
The EASIEST way to do it is like this:

1. set up a paybnc. (visit http://www.psybnc.info for details)
2. connect it, oper it
3. add this script (visit http://www.psybnc.info for more info about psybnc scripting):

Code: Select all

server NOTICE *!*@* * "*Client connecting*" echo "CHGIDENT $P12 new_ident"
It may look difficult, but it shouldn't take more than 10 minutes. This also includes configuring and compiling. :|

Posted: Sat Feb 04, 2006 8:16 pm
by Suchiara
It works!
yeah, realy..

Posted: Sat Feb 04, 2006 8:43 pm
by JIVXor
lol

Try searching with google, it seems that http://www.psybnc.info doesn't want us :D or they're restructuring the site.

http://www.google.com.cu/search?hl=es&q=psybnc&meta=

Posted: Sun Feb 05, 2006 2:09 am
by aquanight
Eggdrop script (just for your amusement if you already have something working):

Code: Select all

bind raw * NOTICE raw_notice

proc raw_notice {from msg text} {
    if {[string first $from .] == -1} {
        return 0
    }
    set msglist [split $text { }]
    set target [lindex $text 0]
    set notice [lrange $text 1 end]
    #:*** Notice -- Client connecting on port ...: <nick>
    if {[lrange $notice 0 6] == ":*** Notice -- Client connecting on port"} {
        # Nick is at 7
        set nick [lindex $notice 7]
        putserv "CHGIDENT $nick :newident"
    } elseif {[lrange $notice 0 5] == ":*** Notice -- Client connecting at"} {
        # Nick is still 7
        set nick [lindex $notice 7]
        putserv "CHGIDENT $nick :newident"
    }
    return 0
}
Not sure how well it works though :P