IPFinder

From Dark Signs Online
Jump to navigationJump to search

This script searches all IPs and PINGs them to build a list of open or closed IPs

(Currently in version 2)

Script

$q=0
$w=0
$e=0
$r=0
$ip=$q.$w.$e.$r



@IPLOOP 

IF $r > 255
   $r=0
   $e=$e+1
   $ip=$q.$w.$e.$r
   SAY  $ip
ENDIF
IF $e > 255
   $e=0
   $w=$w+1
   $ip=$q.$w.$e.$r
   SAY  $ip
ENDIF
IF $w > 255
   $w=0
   $q=$q+1
   $ip=$q.$w.$e.$r
   SAY  $ip
ENDIF

$r=$r+1

$ip=$q.$w.$e.$r
IF PING($ip) = 1
  Say $IP OPEN
ENDIF 


IF $q < 256
   GOTO IPLOOP
ENDIF