Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ssh #335

Merged
merged 6 commits into from
Jan 27, 2025
Merged

Fix ssh #335

merged 6 commits into from
Jan 27, 2025

Conversation

espegro
Copy link
Contributor

@espegro espegro commented Nov 19, 2021

Fix issue 191 #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

@zakird
Copy link
Member

zakird commented Jan 21, 2025

@phillip-stephens this looks pretty reasonable. can you help with formatting and merge?

@phillip-stephens phillip-stephens merged commit 5b2ec46 into zmap:master Jan 27, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants