
Shodanからカメラのインタラクティブマップを構築
https://github.com/woj-ciech/Kamerka-GUI
カメラ、プリンター、ツイート、写真のインタラクティブマップを構築します。
このスクリプトは、指定した座標に基づいてカメラ、プリンター、ツイート、写真のマップを作成します。すべてがアイコンとポップアップを備えたインタラクティブマップとして明確に表示されます。
RTSP(リアルタイムストリーミングプロトコル)を追加

MQTT(メッセージキューイングテレメトリトランスポート)

Elasticsearch 出力

追加機能:
任意の国の産業用制御システムを可視化します。 --country フラグを使用して、対象国のショートコードを渡してください。 ストリートビューを使用するには、109行目にAPIキーを追加してください。
root@kali:~/# python kamerka.py --country PL

root@kali:~/# python kamerka.py --country CH

pip install -r requirements.txt
コード内にAPIキーを設定してください
Instagramモジュールを使用するには、InstagramAPI.py ファイルに追加のメソッドを追加する必要があります。
def geosearchLocation(self, lat, lon):
return self.SendRequest('location_search/?latitude=' + str(lat)+'&longitude='+str(lon)+'&rank_token=' + self.rank_token)
https://github.com/LevPasha/Instagram-API-python/pull/492
(venv) root@kali:~/PycharmProjects/kamerka# python kamerka.py -h
usage: kamerka.py [-h] [--lat LAT] [--lon LON] [--radius RADIUS] [--dark]
[--twitter] [--camera] [--flickr] [--instagram] [--printer]
[--country COUNTRY] [--rtsp] [--mqtt] [--open]
[--first FIRST] [--last LAST] [--recursive]
[--elasticsearch] [--host HOST] [--port PORT]
o#######o
o###########o
o#############o
#################
###### \########o
#;^ _^,/---\#####!
,` /^_ .-~^~-.__\#
/ ^\/,,@@@,, ;|
| \!!@@@@@!! ^,
#. .\; '9@@@P' ^,
###./^ ----,_^^ /@-._
^--._,o@@@@@@
^;@@@@@@@@@
^-;@@@@
ꓘamerka 2.0 (FIST) - Build interactive map of cameras, tweets and photos
medium.com/@woj-ciech github.com/woj_ciech
python kamerka.py -h
Example: python kamerka.py --lat "37.235 --lon 115.811111" --dark --twitter --camera --printer
"python kamerka.py --country RU
optional arguments:
-h, --help show this help message and exit
--radius RADIUS Radius in km (Default 3)
--dark Dark Theme
--twitter Twitter module
--camera Camera module
--flickr Flickr module
--instagram Instagram module
--printer Printer module
--country COUNTRY Find Industrial Control Systems for country. Short code for country: US,IL,RU
--rtsp Real Time Streaming Protocol module
--mqtt Message Queuing Telemetry Transport module
--open Show only open devices
--first FIRST First page
--last LAST Last page
--recursive Recusrive mode
--elasticsearch Save to ElasticSearch (works only with recursive) mode
--host HOST Elasticsearch host
--port PORT Elasticsearch port
Required arguments:
--lat LAT Latitude
--lon LON Longitude
root@kali:~/#python kamerka.py --lat 37.8368723 --lon -122.2645793 --camera --flickr --instagram --twitter --printer --first 1 --last 1

ダークモード

自分が所有していないデバイスでテストしないでください。
謝辞: @xrxz - 座標についてはあなたの指摘が正しかったです。