mIRC Home    About    Download    Register    News    Help

Print Thread
#83830 22/05/04 09:53 PM
R
rNd
rNd
R
Code:
on ^*:SNOTICE:*client connecting*: { 
  haltdef 
  if ( $window(@CLoneScan,1) != @CloneScan )  /window -nk +et @CloneScan verdana 10 

  if ( crnagora.net  isin $10 )  goto al 
  if ( guest isin $9 ) && ( guest !isin $10 )  goto al 
  if (195.66 isin $10) goto al 
  if (213.149 isin $10) goto al 
  if (213.244 isin $10) goto al 
  if (com.al isin $10) goto al 
  ; if  $9 isin $10 { /akill $9 no clones, pa-pa | .aline @CloneScan 8,1CloneWarning: $1-  | halt } 
  if  ( a !isin $9 ) && ( e !isin $9 ) && ( i !isin $9 ) && ( o !isin $9 ) && ( u !isin $9 ) && ($len($9) > 3) { /akill $9  mail  volna@cg.yu | .aline @CloneScan 8,1CloneWarning: $1-  | halt } 
  if ($right($9,3) isnum) && ($len($9) == 4) {  /akill $9 mail  volna@cg.yu | .aline @CloneScan 8,1CloneWarning: $1-  | halt } 
  if ($right($9,4) isnum) {  /akill $9  mail  volna@cg.yu  | .aline @CloneScan 8,1CloneWarning: $1- | halt } 
  ;  if ( $mid($10,2,1) isalpha ) && ( $mid($10,3,1) isnum ) && ( $mid($10,4,1) isnum )  && ( $mid($10,5,1) isnum )  && ( $mid($10,6,1) isnum ) { /akill $9 mail na volna@cg.yu | .aline @CloneScan 8,1CloneWarning: $1-  | halt } 

  :al 
  .aline @CloneScan connecting on $7- 

} 
on ^*:SNOTICE:*client exiting*: { 
  haltdef 
  if ( $window(@CLoneScan,1) != @CloneScan )  /window -nk @CloneScan 
  .aline @CloneScan 14 $+ exiting $6- 
  halt 
}   


So, I have this clone scanner which is working very good, but it is baning the clones with [email]IDENT@HOST[/email], and I need someone to help to modify it to ban with *@IP (it first must do the /dns of the clone host and then /kline only the IP) Anyone could help?

Tnx in advance.

#83831 22/05/04 10:23 PM
Joined: Dec 2002
Posts: 397
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
some times /dns doesnt allways work and also some one could be connecting w/ a proxie, depending on services you can get their true ip address/host

#83832 23/05/04 08:30 AM
R
rNd
rNd
R
Yes, but as a server admin you can see evefry IP so on...

lets say a clone comes with clone1@proxy.net, this scanner would ban it on the ident and the host...

The thing I need is to resolve the host (in this case proxy.net) into numeric IP and only Ban the *@IP without the ident.


Link Copied to Clipboard