-updated-

This commit is contained in:
scVnner 2018-12-07 16:26:04 +02:00
parent 0d7a40a17a
commit a7afbd31ea
1 changed files with 1 additions and 2 deletions

View File

@ -187,8 +187,7 @@ function get_recently_reported( string $url ) : void
$resp = explode( "\n", curl_exec( $req ) );
curl_close( $req );
for( $i = 0 ; $i < sizeof( $resp ); $i++ )
{
for( $i = 0 ; $i < sizeof( $resp ); $i++ ){
if( preg_match( ( $GLOBALS['REGEX'] )[1], $resp[$i] ) ){
$ip = substr( $resp[$i], strpos( $resp[$i], ">" ) + 1 );
echo " ".RED."[*]".NONE." ".BLUE."-".NONE." " . substr( $ip, 0, strpos( $ip, "</" ) ) . "\n";