zgrab2 icon indicating copy to clipboard operation
zgrab2 copied to clipboard

Fix ssh

Open espegro opened this issue 2 years ago • 0 comments

Fix issue 191 https://github.com/zmap/zgrab2/issues/191

Moved the setting of HostKeyAlgorithms, KexAlgorithms and Ciphers from the init() function to the Init() function.

Test using this file as multiple.ini

[ssh]
trigger="tag0"
name="ssh22"
port=22
[ssh]
trigger="tag1"
name="ssh2222"
port=2222

And this as targets

192.168.1.10,,tag0
192.168.1.11,,tag1

Run:

zgrab2 multiple -c multiple.ini --input-file=targets --output-file=out.json

espegro avatar Nov 19 '21 09:11 espegro