2017-12-05 17 views
-1

私はIPアドレスのリストを持っており、おそらくIOTデバイスのものです。どのようなスクリプト/ツール/サービスを使って、デバイスのOSを知ることができますか?どんな助けも非常に高く評価されます。私はこれに新しいです。ありがとう。 (例えば)この時IPアドレスからデバイス情報を検索

+0

問題をdownvotingする理由を説明してください。 –

答えて

0

ルック:

あなたは(、オープンセッション、いくつかのコマンドを送信し、必要な情報を取得する)、独自のtelnetスクリプトを書いてみることができます。

0

これはShodanで行うことができます。可能な限りShodanにはオペレーティングシステムが組み込まれており、IoTデバイスであるかどうかを判断するための多くの追加情報が提供されます。以下は、Pythonで始めるためのサンプルコードです。

from shodan import Shodan 

# Setup the API connection 
api = Shodan("YOUR API KEY") # Get it from https://account.shodan.io 

# Lookup the IP information 
host = api.host("66.96.212.7") 

# If Shodan was able to identify the operating system then it will have 
# an "os" property 
if 'os' in host and host['os']: 
    print(host['os']) 

# You can also look at the list of ports running on the IP to determine 
# whether it's an IoT device 
print(host['ports']) 

# Or you can look at the "tags" property as that sometimes includes an "iot" tag 
print(host['tags']) 
関連する問題