尝试学习Shodan的CLI,得到了一个新手问题。有没有办法使用Shodan的CLI向特定端口上的IP提交扫描?或者shodan只是一直随机地扫描互联网,直到选择要扫描的端口?我想要做的就是让shodan扫描端口23上的1.1.1.1,看看1.1.1.1会有什么响应。已尝试使用shodan scan protocols telnet <1.1.1.1>,但不起作用。
这个是可能的吗?
发布于 2021-08-15 20:51:37
不能,您当前不能使用CLI检查特定端口。您需要按照本文中的说明直接使用Shodan API:
https://help.shodan.io/the-basics/on-demand-scanning
from shodan import Shodan
# Setup the Shodan API object
api = Shodan(API_KEY)
# Check ports 503 using the "modbus" module and 2900 using the "ssh" module
scan = api.scan({
'198.20.69.74': [
(503, 'modbus'),
(2900, 'ssh'),
]
})https://stackoverflow.com/questions/68761788
复制相似问题