This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Pervert Scanner

Old posts that have not been replied to for several years.
Locked
l
laugh23
Voice
Posts: 2
Joined: Tue Aug 30, 2005 6:25 pm

Pervert Scanner

Post by laugh23 »

can anyone help me make a egg script that when a person parts a channel it runs a whois on them like 2 or 3 times with intervals of like 30seconds to 1 minute, to check what channels they enter, and if the channel is on a list then a ban is added for that user.

I dont know any tcl, and have tried many many times to figure it out, i am not an elite scripter, so if anyone would help me, i would greatly appreciate it.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

find a script which does that on join, it's basically the same; you should search for "bad channel" or something like that
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

demond wrote:find a script which does that on join, it's basically the same; you should search for "bad channel" or something like that
Tried that idea on DALnet with him demond and it's not what he wants. LOL

PS: There was also mention of the FBI :P
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

but what's the rationale in assuming someone (or something - drone, spambot, whatever) is much more likely to join a sh*tlisted channel after having joined that guy's channel than before joining it? I don't quite get that logic, maybe I'm missing something here, but it sounds pointless to me
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

From what he told me on DALnet, the idea is to get a list of channels after they (cyclers?) leave his and ban their hosts if found in any sex/warez channels.

The idea (apparently) is to stop them returning and getting another list of channel users. It's a kids channel and the average age of their users is 14. I also believe a banned channel script is already in use (that scans all on joining).

Personally, I reckon just using a channel key would be more appropriate.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
C
CrazyEgg
Halfop
Posts: 47
Joined: Thu Jul 28, 2005 4:02 pm

Post by CrazyEgg »

then i think that the conception is to save a list of parting users and not sing out users.and with a delay to make whois to each one for time of 3 minites.after 3 minites remove user from list.
if we talking about a big channel i thing that one bot must do only that.If the channel is flooded with join/part the bot still make whois.If the bot take the answer "no such user" cannot understant it and still whois.
not so easy i think and i dont know how helpfull can be.
Also the drones make quit and reconnect with other address or proxy or zombie.More details and some examples would be helpfully to understand the problem.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

I doubt such script would be too useful, simply because most spambots/drones usually change their nicks on each cycle, therefore you can't really track those once they've parted your channel
C
CrazyEgg
Halfop
Posts: 47
Joined: Thu Jul 28, 2005 4:02 pm

Post by CrazyEgg »

some details?
how long time stay drone on chan?
most of them join/part in intrerval of 10 sec or quit after 1 sec.That is solved with fly detect.
some whois of drones? have something common like 5 char ident/5 char fullname? randomly something? finger reply(what mail giving)?
ctcp ping/version/time exist and if yes what? something special or normal user reply?
what message give drones?(site after 2 lines? or something else?)
also....most of drones finding channels and joining after /list and nr of users in it.
think the +s(secret) solution.If the drones keep joining meaning that someone from "inside" pushing to join 90%.
solutions like key is last solution.

another one solution if the drone stay inside ask him to identify himself
example:join drone.bot mark the join and send a prvmsg to drone after 5 sec:"say i am not drone on channel in the next 30 sec".if say something on channel then is user and voice else ban.After channel sync (bot on split/quit).The bot check out only the unvoices users.
l
laugh23
Voice
Posts: 2
Joined: Tue Aug 30, 2005 6:25 pm

Post by laugh23 »

It is not a matter of flybys or drones. Certain individuals come on the channel, just to get the nicklist, sometimes stay on the channel for 1 whole minute of not talking, then exit, and a minute later you find them in a bad channel. This is just an example, they are users, not drones, hence the reason a whois after they part.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

hmm you said you need help with making that script, and you also said you don't know any Tcl... are you going to learn Tcl if someone is willing to help you with the script? Anyway, here's a snippet that you may wish to complete:

Code: Select all

set sc {#xxx #sex}
bind raw - 319 foo
bind part - * bar
proc foo {f k t} {
   set n [lindex [split $t] 1]
   set ch [lrange [split $t] 2 e]
   foreach c [string tol $::sc] {
      if {[lsearch [string tol $ch] *$c] != -1} {
         # ban $n with uhost $::uh($n)
      }
   }
}
proc bar {n u h c m} {
   set ::uh($n) $u
   timer 1 [list puthelp "whois $n"]
}
Locked