mirror of
https://github.com/sumx86/AbuseIPDB.git
synced 2024-11-16 17:08:32 +01:00
-updated-
This commit is contained in:
parent
993dc18004
commit
64a81a9d3b
1 changed files with 2 additions and 4 deletions
|
@ -255,8 +255,7 @@ function main( int $argc, array $argv ) : void
|
||||||
if( !go_back() ) { exit; }
|
if( !go_back() ) { exit; }
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
foreach( ( $resp[0] ) as $k => $v )
|
foreach( ( $resp[0] ) as $k => $v ){
|
||||||
{
|
|
||||||
$tab = ( $k == "id" ) ? "\t\t" : "\t" ;
|
$tab = ( $k == "id" ) ? "\t\t" : "\t" ;
|
||||||
if ( $k == "links" ) echo "\n" . GREEN . "[".RED."*".NONE.GREEN."] ".NONE. strtoupper( $k ) ."$tab- ".RED. $v->about;
|
if ( $k == "links" ) echo "\n" . GREEN . "[".RED."*".NONE.GREEN."] ".NONE. strtoupper( $k ) ."$tab- ".RED. $v->about;
|
||||||
else if ( $k == "source" ) echo "\n" . GREEN . "[".RED."*".NONE.GREEN."] ".NONE. strtoupper( $k ) ."$tab- ".RED. $v->parameter;
|
else if ( $k == "source" ) echo "\n" . GREEN . "[".RED."*".NONE.GREEN."] ".NONE. strtoupper( $k ) ."$tab- ".RED. $v->parameter;
|
||||||
|
@ -309,8 +308,7 @@ function main( int $argc, array $argv ) : void
|
||||||
if( !go_back() ) { exit; }
|
if( !go_back() ) { exit; }
|
||||||
}
|
}
|
||||||
|
|
||||||
else if( $action == 3 )
|
else if( $action == 3 ){
|
||||||
{
|
|
||||||
$network = get_network( );
|
$network = get_network( );
|
||||||
$days = get_days( );
|
$days = get_days( );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue