python shodan1 파이썬을 통한 쇼단(shodan) 서비스 활용 호스트 정보 상세 페이지 가져오기 import shodan SHODAN_API_KEY = "" api = shodan.Shodan(SHODAN_API_KEY) host = api.host('31.13.82.36') print(""" IP: %s Organization: %s Operating System: %s """ %(host['ip_str'], host.get('org', 'n/a'), host.get('os', 'n/a'))) for item in host['data']: print(""" Port: %s Banner: %s """ %(item['port'], item['data'])) FTP 서비스 중 익명으로 연결되는 IP 정보 가져오기 import shodan import re site = .. 2022. 9. 5. 이전 1 다음