scan-for-webcams: Automatically scan for publicly accessible webcams around the internet



The program will output a list of links with the format of ip_address:port

If your terminal supports links, click the link and open it in your browser, otherwise, copy the link and open it in your browser.


  1. clone&cd into the repo:git clone;cd scan-for-webcams
  2. install requirements:pip install -r requirements.txt
  3. set up shodan:
    1. go to, register/login and grab your API key
    2. Set environ SHODAN_API_KEY as your API key:export "SHODAN_API_KEY"="<your api key>"
  4. set up clarifai:
    1. go to, register/log in, create an application and grab your API key
    2. set environ CLARIFAI_API_KEY as your API keyexport "CLARIFAI_API_KEY"="<your api key>"

And then you can run the program!



August 24, 2020


Hakin9 TEAM
Hakin9 is a monthly magazine dedicated to hacking and cybersecurity. In every edition, we try to focus on different approaches to show various techniques - defensive and offensive. This knowledge will help you understand how most popular attacks are performed and how to protect your data from them. Our tutorials, case studies and online courses will prepare you for the upcoming, potential threats in the cyber security world. We collaborate with many individuals and universities and public institutions, but also with companies such as Xento Systems, CATO Networks, EY, CIPHER Intelligence LAB, redBorder, TSG, and others.
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments
© HAKIN9 MEDIA SP. Z O.O. SP. K. 2023