I have a list of IP addresses and they are probably of the IOT devices. How can I figure out the OS of the device(I only have its IP address) using any script/tool/service ? Any help would be immensely appreciated. I am new to this. Thanks.
Find device information from IP address
2.6k views Asked by Akmal Alshamsi At
2
There are 2 answers
0
achillean
On
You can do this with Shodan. Shodan includes the operating system when possible and also gives you a lot of additional information to decide whether it's an IoT device or not. Here's some sample code in Python to get you started:
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'])
Related Questions in PORT
- Sniff data packages from application to serial port (/dev/ttyACM0)
- How to choose port number for various microservices? whatever port number I use is already used-blocked or I'm not able to use them
- Why is only the port version not printed in the output?
- Redirect outbound traffic to a different port
- on linux gitclone issue remote server error showing fatal error with proxy n port
- ERR_EMPTY_RESPONSE with docker container port bind
- Block MQTT port from windows firewall
- Localhost doesn't see my file; The requested URL was not found on this server
- Setting up HTML page on port 8083 in NGINX
- ERROR - Container xxx didn't respond to HTTP pings on port: xxx, failing site start
- Docker port exposure with IP resulted to slow postgres database connection
- I don't understand
- Troubleshooting Ineffective Port-Level Value Changes in Kernel Bond Code
- Getting "Jest did not exit one second after the test run has completed" error for test script which was originally passing
- Same IP, same port and nmap scan gives different result. Why?
Related Questions in TELNET
- Echo behaviour of Microsoft Windows Telnet Client
- First commands from TerraTerm to Arduino contain junk characters. How to remove them?
- Perl Net::Telnet waitfor Method Not Timing Out as Expected
- Socket Freeze Issue During High Data Volume in Node.js Application
- Can't Telnet into an AWS Public EC2 Instance (Linux) from Windows Command Prompt
- Design Pattern for Dependency-Injected TelnetInputListener implementation?
- Multi-Client server weird telnet behaviour
- What does a single CR mean ? (telnet)
- what is mean by " connection reset by peer"?
- What is the behaviour of GA without ECHO? (telnet)
- Ansible telnet module result checking
- ksh behaves differently for telnet command
- stty command hangs when one end of the console cable is not connected to the telnet console server
- Get only output from telnet command
- Python parallelization (multiprocessing) BrokenPipe with telnet
Related Questions in IOT
- thingsboard: reformat shared attribute JSON before publishing via MQTT
- Not able to recieve message sent from mobile to GSM SIM900 but other functionalities working
- Python: Cannot Run Linux Terminal Commands With Scripts
- How to run Zephyr Echo Client-Server sample using nrf52840dk & nrf52840dongle?
- Communication between the Neo6m GPS and the Esp32
- Turn phone with an IR blaster into wifi enabled IR hub
- Unable to start the Coap server in a Spring boot application
- How to create a photo gallery widget/database?
- AWS IoT Self-managed certificate signing with CreateCertificateFromCsr API
- Azure IOT central command/NodeRed
- PyFirmata servo control issue (Arduino with Python)
- How to connect bluetooth devices using flutter blue plus?
- Does CdiCenteroutput support in lipari-mid & kiska - mid (55ppm)
- "Blynk Connection Issue with Arduino and ESP8266 in IoT Project"
- How to control Tuya API device with an HTML request
Related Questions in PORT-SCANNING
- Same IP, same port and nmap scan gives different result. Why?
- Wazuh Not Detecting Nmap Port Scan Attack
- Why is Python-nmap is not listing all_protocols() when I specify a port rage?
- Python Scapy-based port scanner unable to scan localhost and VMs
- Should I create a new instance for every single port?
- Python Banner Grabber/port scanner provides uncompleted results
- Python port scanner has unexpected results
- nmap to scan a list of endpoints (ip:port)
- Java port scanner: How to print all consecutive closed ports as a range on one line?
- How to scan a partial /23 subnet with NMAP?
- Port scanning c++ TCP method, sometimes the function hangs on some IPs
- Stealth Port Scanner with Scapy and Python
- How to repair this nmap error when doing scan with sudo?
- Python port scanner exception problems
- Simple TCP scan with Go
Related Questions in SHODAN
- shodan.exception.APIError: Access denied (403 Forbidden)
- 500 Error using Shodan with PowerShell. Any ideas how to mitigate the issue?
- How to get Shodan API to return results?
- Error API Shodan Error: Access denied (403 Forbidden)
- Shodan scan results via API
- How to filter specific data on Shodan
- Receiving results from a different IP address than one input via url requests
- How to Install Shodan CLI into Google Cloud Shell?
- How to force shodan update scanning and port reports according to new values
- Why does my code not write the data it receives from the build_info function to the json file?
- Is it possible to filter HTTP Headers in Shodan?
- how to writing a script in shodan (python)
- how to make multiple port search on shodan
- Shodan scan submit specific protocol request
- Search for version range in Shodan
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Look at this (for an example):
you can try to write your own telnet script (open session, send some command and retrieve information that you need).