Exit-code and argument-handling leftovers: -r read errors exit 2, wordlist-gen ignores positionals and flags after them
Los mantenedores suelen responder en 1 día
@kragent66-glitch ya está trabajando en esto.
Desde el 6/10/2026.
- #133 de @kragent66-glitch — abierto
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
Read main.go:582-584 and loadPool for the -r exit code, then inspect tools/wordlist-gen.go:156 and the shared argument-parsing helper. Run the existing tests and add cases for the specified file-error codes, positional arguments, invalid flags, and banner validation order. Done means tests pin the expected behavior and wordlist-gen acme.com exits 2 with a hint; linked PR #133 is already open.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Evidence
- A missing
-rfile exits 2 (main.go:582-584,loadPoolerror returnsexitUsage). A missing-exclude-file,-dL,-wor-difffile exits 1. The exit-code table from #82 says I/O failures are 1. tools/wordlist-gen.go:156never checksfs.Args().wordlist-gen acme.com -o -silently ignoresacme.comand the-o -after it (the #29 class of bug), and writes./wordlist.txtwith 38 common entries. An invalid-combineand an empty-oexit 1 rather than 2.- UX nits: the SIMULATION banner prints before argument validation (
subenum -simulatewith no domain shows the banner, then "missing "), and a missing-exclude-fileis reported before a missing domain.
Suggested approach
- Return
exitFailurefor I/O errors inloadPooland keep 2 for parse errors. - In wordlist-gen, use interspersed parsing (same helper as main) and reject positionals with "did you mean -domain?" (exit 2).
- Validate arguments before printing banners.
Done when
Tests pin each exit code, and wordlist-gen acme.com exits 2 with a hint.
- Lenguaje dominante
- Go
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 5 d 2 h
- PR fusionados (30 d)
- 3
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de TMHSDigital/subenum
-
area: cli enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
TMHSDigital/subenum#136 ·
Los mantenedores suelen responder en 1 día
-
community documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
TMHSDigital/subenum#135 ·
Los mantenedores suelen responder en 1 día
-
area: dns enhancement good first issue
Dificultad 2/5 Menos de una hora Aptitud para principiantes 90/100
TMHSDigital/subenum#134 ·
Los mantenedores suelen responder en 1 día
-
community marketing priority: low
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
TMHSDigital/subenum#132 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
feature priority: low
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
TMHSDigital/subenum#131 ·
Los mantenedores suelen responder en 1 día
Todos los issues de TMHSDigital/subenum
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
war-and-code/dircue#200 ·
Los mantenedores suelen responder en 1 día
-
actor/human kind/bug priority/important-soon triage-accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
kelos-dev/kelos#1804 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
`date` → `date-time` (and `time` → `date-time`) is classified as a widening, but a date is not a valid date-timePosiblemente ocupada @reuvenharrison la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
fix: invalid GPU spec in SparkApplication is silently ignoredPosiblemente ocupada @pratik-naik003 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
kubeflow/spark-operator#3223 ·
Los mantenedores suelen responder en 5 días