Searching Shodan with Python (2024-04-17)
Recently, I have started writing a little pentesting tool in Python. Of course, I could easily just use existing tools like nmap, metasploit, etc, but what's the fun in that?
Enter: Shodan! Shodan is an IoT search engine. In essence, it searches things that are on the internet, but not the web. It is extremely powerful and those in-the-know can agree that it's a hacker's best friend.
I wanted to be able to search Shodan within the tool I'm writing, and it turns out, Shodan has an official API library for Python, which makes it very easy:
Cool, right? =D