- What do we need to access the Shodan Developer API?
Register at the Shodan website and use API_KEY, which gives you access to their services.
- Which method should be called in the Shodan API to obtain information about a given host and what data structure does that method return?
The method is the host() method, and it returns the dictionary data structure.
- Which module can be used to obtain the banner of a server?
We need to create a socket with the sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) instruction, send a GET request with the sock.sendall(http_get) instruction, and finally receive data with the data = sock.recvfrom(1024) instruction.
- Which method should be called and what parameters should be passed to obtain the IPv6 address records with the DNSPython module?
dns.resolver.query('domain&apos...