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

Chance of success #5

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Chance of success #5

wants to merge 10 commits into from

Conversation

slehee
Copy link

@slehee slehee commented Feb 14, 2025

Changes Introduced

New Configuration Option: wildcard_success_rate

  • Added wildcard_success_rate in config.ini.TEMPLATE.
  • Allows setting a probability for wildcard (*) logins.
  • Default value: 30% success rate (0.3).

Updated validate_password() in ssh_server.py

  • Users with * as their password will no longer always succeed.
  • Instead, login success is randomly determined by wildcard_success_rate.

Documentation Enhancements

  • Updated config.ini.TEMPLATE to explain wildcard password behaviour.

@slehee slehee marked this pull request as ready for review February 14, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant