mIRC Home    About    Download    Register    News    Help

Print Thread
Dealing with mibbit.com users host/ip #266649 10/01/20 07:43 PM
Joined: Dec 2019
Posts: 13
S
Stephen Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Dec 2019
Posts: 13
Has anyone found a good method of dealing with users on Mibbitt.com? with their ip/hostnames being the same and a different username@ each time the same person connects and the generic nicknames having a hard time dealing with scripts that look at ip/hostname such as $wildsite $address or even /auser and /guser based scripts all seem to have problems with this.

Trying to setup a clone connection and revolving door scripts and they keep giving false reports because of the ircip*.mibbit.com hostname or Ips.

I remember when AOL had the same type of issue this would cause even the server SOPS to just g-line *.aol.com rather than try to deal with trying to ban a single user. I think compuserv had the same thing with their cserve.com host names. I guess mibbit.com is now the new AOL.

Re: Dealing with mibbit.com users host/ip [Re: Stephen] #266650 10/01/20 11:30 PM
Joined: Jan 2004
Posts: 1,381
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,381
If the userid@ changes, then you want that part to be the wildcard. In $address(string,N), the N masks are shown in /help $mask

You probably want 2 or 4, depending on whether there needs to be a wildcard in the hostname too. If neither of them work, you may need a little bit of code to tweak the mibbit addresses into the wildmask you want.

Re: Dealing with mibbit.com users host/ip [Re: maroon] #266652 11/01/20 12:46 AM
Joined: Dec 2019
Posts: 13
S
Stephen Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Dec 2019
Posts: 13
Now one thing I have started to notice is that on the whois that it lists their hostname where the fullname should be.

The below are all mibbit.com addresses and you can see the host name listed where the Full name would be listed.

60ef4923@207.192.75.252 * pool-96-239-73-35.nycmny.fios.verizon.net
4f40fcb6@207.192.75.252 * 79-64-252-182.host.pobb.as13285.net
3252275b@ircip1.mibbit.com * 50-82-39-91.client.mchsi.com
a0037666@ircip1.mibbit.com * 160-3-118-102.cpe.sparklight.net

Is this something that could be used to create a real user@host?

Maybe using raw 311 would I be able to then replace the 207.192.75.252 or ircip1.mibbit.com and have that actually work with events for $address and $wildsite? not sure if /guser levels would work with this?

Thoughts/Comments?

Re: Dealing with mibbit.com users host/ip [Re: Stephen] #267160 11/04/20 11:07 AM
Joined: Jul 2008
Posts: 57
R
RiMaJoy Offline
Babel fish
Offline
Babel fish
R
Joined: Jul 2008
Posts: 57
i'm having the same problem with multiple clone scanners that i have tried.
i'm hoping that if you find a sollution u will post it here.
Raw 311 sounds like an option but i'm no pro.

i found this on hawkee but it has errors in it.
It uses raw 311.
perhaps the idea is something u can use.
Code
Raw 315:*:{
  haltdef
}

Raw 352:*:{
  tokenize 32 $3-
  .ialmark $4 $1 $+ @ $+ $2 $7-
  haltdef
}

Raw 375:*:{
  halt
}

Raw 376:*:{
  halt
}

On *:Join:*:{
  echo $chan 3,1[ $+ $asctime(hh:nn:ssTT) $+ ] * Address( $+ $nick $+ ): $address($nick,5)
  echo $chan 3,1[ $+ $asctime(hh:nn:ssTT) $+ ] * Options( $+ $nick $+ ): Please press F5 - Kick or F6 - Ban or F7 - KickBan  
  set %LastNick. [ $+ [ $Chan ] ] $nick
  set %GetNewInfo 1
  whois $nick
  If ( $nick == $me ) {
    .who $chan
  }
  clonescanuser $Nick
}

alias clonescanuser {
  var %Nick.Nick $$1
  tokenize 32 $IAL($$1).Mark
  var %Nick.RealName $2- 
  var %Nick.Address $1
  var %I 1
  var %Max $Nick($Chan,0)
  var %Result $false
  var %FirstFind $false
  While (%I <= %Max) {
    var %Nick2.Nick $Nick($Chan, [ %I ])
    tokenize 32 $IAL(%Nick2.Nick).Mark
    var %Nick2.RealName $2- 
    var %Nick2.Address $1
    If (%Nick2.Nick iswm %Nick.Nick) { var %Result $true }
    If (%Nick.Nick iswm %Nick2.Nick) { var %Result $true }
    If (%Nick2.RealName iswm %Nick.RealName) { var %Result $true }
    If (%Nick.RealName iswm %Nick2.RealName) { var %Result $true }
    If (%Nick.RealName == %Nick2.RealName) { var %Result $true }
    If (%Nick2.Address == %Nick.Address ) { var %Result $true }
    If (%Nick2.Address iswm %Nick.Address ) { var %Result $true }
    If (%Nick.Address iswm %Nick2.Address ) { var %Result $true }
    If (%Nick.Nick == %Nick2.Nick) { var %Result $false }  
    inc %I
    If (%Result == $true) {
      If (%FirstFind == $false) {
        aline 3 @CloneScan *
        aline 3 @CloneScan * 9Clone User:     0[11Nick: 0 $+ %Nick.Nick $+ ] 0[11Address: 0 $+ %Nick.Address $+ ] 0[11Real Name: 0 $+ %Nick.RealName $+ ]
        var %FirstFind == $true)
      }
      set %CheckedUsers %CheckedUsers %Nick.Nick %Nick2.Nick
      aline 3 @CloneScan * 4Clone detected: 0[11Nick: 0 $+ %Nick2.Nick $+ ] 0[11Address: 0 $+ %Nick2.Address $+ ] 0[11Real Name: 0 $+ %Nick2.RealName $+ ]
      var %Result $false
    }
  }
  If (%FirstFind != $false) {
    aline 3 @CloneScan *
  }
}

alias clonescan {
  var %I 1
  var %Max $Nick($Chan,0)
  set %CheckedUsers
  window -ak0xz @CloneScan
  clear @CloneScan
  While (%I <= %Max) {
    var %Nick $Nick($Chan, [ %I ])
    If (%Nick !isin %CheckedUsers) { 
      clonescanuser %Nick
    }
    inc %I
  }
  unset %CheckedUsers
}

raw 311:*: {
  If (%GetNewInfo == 1) {
    tokenize 32 $2-
    .ialmark $1 $2 $+ @ $+ $3 $5-
    unset %GetNewInfo 
    halt
  }
}

alias whois { If (%GetNewInfo != 1) { uwho $$1 } }

Last edited by RiMaJoy; 11/04/20 04:57 PM.