mirror of
https://github.com/sumx86/AbuseIPDB.git
synced 2024-11-16 08:58:31 +01:00
-updated-
This commit is contained in:
parent
0d7a40a17a
commit
a7afbd31ea
1 changed files with 1 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue