File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ A simple Python utility to check whether an IP address or hostname belongs to a
44
55` cloud_providers.json ` contains lists of domains and up-to-date CIDRs for each cloud provider (updated daily via CI/CD).
66
7- Used by [ Bighuge BLS OSINT Tool ( BBOT) ] ( https://github.com/blacklanternsecurity/bbot ) .
7+ Used by [ BBOT ] ( https://github.com/blacklanternsecurity/bbot ) and [ BBOT Server ] ( https://github.com/blacklanternsecurity/bbot-server ) .
88
99## Installation
1010~~~ bash
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ def check(ip):
99
1010async def update (cache_hrs = 168 + 24 , force = False ):
1111 time_since_last_update = datetime .now () - cloud_providers .last_updated
12- hours_since_last_update = time_since_last_update / 60 / 60
12+ hours_since_last_update = time_since_last_update . total_seconds () / 3600
1313 if force or hours_since_last_update >= cache_hrs :
1414 await cloud_providers .update ()
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " cloudcheck"
3- version = " 6.0 .0.0"
3+ version = " 7.1 .0.0"
44description = " Check whether an IP address belongs to a cloud provider"
55authors = [" TheTechromancer" ]
66license = " GPL-3.0"
@@ -39,4 +39,4 @@ build-backend = "poetry_dynamic_versioning.backend"
3939[tool .poetry-dynamic-versioning ]
4040enable = true
4141metadata = false
42- format-jinja = ' v7.0 .{{ distance }}'
42+ format-jinja = ' v7.1 .{{ distance }}'
You can’t perform that action at this time.
0 commit comments