IPFinder

From Dark Signs Online
Revision as of 04:56, 18 March 2024 by Doridian (talk | contribs) (Created page with "This script searches all IPs and PINGs them to build a list of open or closed IPs (Currently in version 2) == Script == <pre>$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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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