/// src/cracking.h --- password cracking utilities // // Copyright (c) 2026 Martin Michalec // // SPDX-License-Identifier: MIT // /// Commentary: // /// Code: #ifndef INCLUDED_CRACKING_H #define INCLUDED_CRACKING_H #include #include #include "string-builder.h" #include "string-view.h" struct shell { FILE *in; FILE *out; pid_t pid; }; void password_bump (STRING_BUILDER); bool test_credentials (struct shell, struct string_view login, struct string_view password); struct shell spawn_shell (void); void close_shell (struct shell); #endif // INCLUDED_CRACKING_H /// src/cracking.h ends here