Some SSH hosts not informing password auth not allowed

Abierto
#596 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
security

Línea de trabajo

The SSH protocol module is the place to start; find where the authentication result for a password attempt is decided and compare the handling for OpenSSH and AzureSSH banners. Reproduce with a local SSH server that rejects password auth, then confirm the reported status matches the server's reply. Done when the tool reports denied password auth for those hosts and the OpenSSH case still reports success.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Describe the bug
Using 1.3.0 recently installed with pipx on kali, some hosts, I think it might specifically be azureSSH, do not reflect that they do not allow password auth when trying to use root:root with the ssh protocol.

To Reproduce
Run nxc ssh test_ssh_hosts.txt -u root -p root against hosts running SSH-2.0-AzureSSH_1.0.0

See output screenshot below.

Expected behavior
For nxc to reflect which hosts don't allow password auth.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

To be clear, the OpenSSH hosts above do allow password auth.

NetExec info

  • OS: Kali
  • Version of nxc: 1.3.0
  • Installed from: pipx installed on 2025-03-12.
Lenguaje dominante
Python
Estrellas
6k
Forks
803
Merge medio
2 d 13 h
PR fusionados (30 d)
23

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Pennyw0rth/NetExec

Todos los issues de Pennyw0rth/NetExec

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.