mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
Move auth_none and auth_keyboard_interactive_enabled to [ssh] config section (#1153)
This commit is contained in:
@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
* 2019-06-20 Move `auth_none` and `auth_keyboard_interactive_enabled` to [ssh] config section
|
||||||
|
|
||||||
Release 1.6.0
|
Release 1.6.0
|
||||||
=============
|
=============
|
||||||
|
|
||||||
|
|||||||
@ -183,17 +183,6 @@ auth_class = UserDB
|
|||||||
#auth_class_parameters = 2, 5, 10
|
#auth_class_parameters = 2, 5, 10
|
||||||
|
|
||||||
|
|
||||||
# No authentication checking at all
|
|
||||||
# enabling 'auth_none' will enable the ssh2 'auth_none' authentication method
|
|
||||||
# this allows the requested user in without any verification at all
|
|
||||||
#
|
|
||||||
# (default: false)
|
|
||||||
#auth_none_enabled = false
|
|
||||||
|
|
||||||
# Configure keyboard-interactive login
|
|
||||||
auth_keyboard_interactive_enabled = false
|
|
||||||
|
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
# Historical SSH Specific Options
|
# Historical SSH Specific Options
|
||||||
# historical options in [honeypot] that have not yet been moved to [ssh]
|
# historical options in [honeypot] that have not yet been moved to [ssh]
|
||||||
@ -465,6 +454,19 @@ forward_tunnel = false
|
|||||||
# forward_tunnel_443 = 127.0.0.1:3128
|
# forward_tunnel_443 = 127.0.0.1:3128
|
||||||
|
|
||||||
|
|
||||||
|
# No authentication checking at all
|
||||||
|
# enabling 'auth_none' will enable the ssh2 'auth_none' authentication method
|
||||||
|
# this allows the requested user in without any verification at all
|
||||||
|
#
|
||||||
|
# (default: false)
|
||||||
|
#auth_none_enabled = false
|
||||||
|
|
||||||
|
|
||||||
|
# Configure keyboard-interactive login
|
||||||
|
auth_keyboard_interactive_enabled = false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
# Telnet Specific Options
|
# Telnet Specific Options
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|||||||
@ -153,7 +153,7 @@ Makes a Cowrie SSH/Telnet honeypot.
|
|||||||
factory.portal.registerChecker(
|
factory.portal.registerChecker(
|
||||||
core.checkers.HoneypotPasswordChecker())
|
core.checkers.HoneypotPasswordChecker())
|
||||||
|
|
||||||
if CowrieConfig().getboolean('honeypot', 'auth_none_enabled', fallback=False) is True:
|
if CowrieConfig().getboolean('ssh', 'auth_none_enabled', fallback=False) is True:
|
||||||
factory.portal.registerChecker(
|
factory.portal.registerChecker(
|
||||||
core.checkers.HoneypotNoneChecker())
|
core.checkers.HoneypotNoneChecker())
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user