Git Product home page Git Product logo

kamerka's Introduction

ꓘamerka 2.0 aka FIST (Flickr, Instagram, Shodan, Twitter)

Build interactive map of cameras, printers, tweets and photos.

The script creates a map of cameras, printers, tweets and photos based on your coordinates. Everything is clearly presented in form of interactive map with icons and popups.

Detailed write-up https://medium.com/@woj_ciech/hunting-with-%EA%93%98amerka-2-0-aka-fist-flickr-instagram-shodan-twitter-ca363f12562a

Previous version https://medium.com/@woj_ciech/%EA%93%98amerka-build-interactive-map-of-cameras-from-shodan-a0267849ec0a

v4 update

Added RTSP (Real-Time Streaming Protocol)

MQTT (Message Queue Telemetry Transport).

Elasticsearch output

Additional:

  • recursive mode (check each host for open ports and more information)
  • "Check ownership" link on map which redirects to bgp.he.net for detailed information about IP
  • "Lookup on Shodan" takes you to Shodan details about host

v3 update

Visualize Industrial Control Systems of any country.
Use --country flag and pass short code for your country.
To use Street View add your API key in line 109

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

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

Requirements

  • Written with 💗 in Python 3
  • Shodan + paid subscription
  • Geopy
  • Foilum
  • Colorama
  • InstagramAPI (https://github.com/LevPasha/Instagram-API-python) - Credentials instead of api keys
  • Twitter
  • flickrapi
  • Branca
  • Google Street View API
  • Elasticsearch

pip install -r requirements.txt

Put your API keys in code

To use Instagram module, you have to add additional method to InstagramAPI.py file.

def geosearchLocation(self, lat, lon):
        return self.SendRequest('location_search/?latitude=' + str(lat)+'&longitude='+str(lon)+'&rank_token=' + self.rank_token)

More details here --> https://github.com/LevPasha/Instagram-API-python/pull/492/commits/ed74ee45fb3e3abe6df7f767d3353de6fd897401

https://github.com/LevPasha/Instagram-API-python/pull/492

Usage

(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

Dark mode

Other

Do not test on devices you don't own.

Thanks to @xrxz - you were right with coordinates

@42B and @paoloo

kamerka's People

Contributors

neutrinoguy avatar jwharrie avatar tchaguitos avatar cryptid11 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.