Closed FeatherStark closed 2 years ago
我在goland里面运行,提示如下:
unable to create masscan scanner: masscan binary was not found
但在命令行模式下可以正常使用。(这里将masscan添加到了环境变量path里)
C:\Users>masscan 127.0.0.1/24 -p 80 --wait=0 --rate=10000 -oJ - Starting masscan 1.0.3 (http://bit.ly/14GZzcT) at 2021-12-16 12:27:17 GMT -- forced options: -sS -Pn -n --randomize-hosts -v --send-eth Initiating SYN Stealth Scan Scanning 256 hosts [1 port/host] { "ip": "127.0.0.1", "timestamp": "1639657638", "ports": [ {"port": 80, "proto": "tcp", "status": "open", "reason": "syn-ack", "ttl": 51} ] }, { "ip": "127.0.0.1", "timestamp": "1639657638", "ports": [ {"port": 80, "proto": "tcp", "status": "open", "reason": "syn-ack", "ttl": 52} ] }, { "ip": "127.0.0.1", "timestamp": "1639657638", "ports": [ {"port": 80, "proto": "tcp", "status": "open", "reason": "syn-ack", "ttl": 52} ] },
现在解决了吗?有时候windows环境变量需要重启IDEA或重启电脑才能生效。
解决了,配置环境变量后需要重启电脑。只重启goland貌似不行
我在goland里面运行,提示如下:
但在命令行模式下可以正常使用。(这里将masscan添加到了环境变量path里)