mIRC Home    About    Download    Register    News    Help

Print Thread
How to scan for up #134304 30/10/05 05:57 PM
Joined: Jan 2003
Posts: 73
K
kupotek Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Jan 2003
Posts: 73
If i get a warning notice in my antivirus/firewall which shows an IP, how can I scan a channel for that IP and return if there's a match IP <> nick ?

IAL is on at the moment.

Re: How to scan for up #134305 30/10/05 10:32 PM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Um have you tryed a loop script? with on DNS event?

USAGE:> type /scanip

NOTE: A box will pop up to enter IP so just enter the IP your wishing to scan 555.555.555.555 < you know the syntax if you dont , you shouldnt even be playing with ip's

like

Code:

alias scanip {
  %ipsearch = $?="What is the ip in question your wishing to scan?"
  %ipscan.calc = 1
  while (%ipscan.calc &lt;= $nick(#,0)) {
    dns $ial($nick(#,%ipscan.calc)).host
    inc %ipscan.calc
  }
}

on 1:DNS:{
  if ($raddress == %ipsearch) { echo -a 4,1F15,1OUND matching ip based on your request $raddress $+  }
  elseif (!$raddress) { echo -a No match on this person. }
  else { notice $me User has no records. }
}



Untested... should work only though if your on a network that dont automatically hostmask and or person is not on proxy or bnc which is unresolvable. Go aheead test it on yourself, go on your own server, get your own ip and scan.


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }