writeups
65 KiB2026-07-01
authors.md
433 bytes
search.md
0 bytes
latest post

#kpcli - MntcrlCTF 2026

Challenge of MntcrlCTF 2026

#Challenge Description

Hi! Here’s the password manager I developed, if you’d like to try it out. Also, if you’re interested, I’ve also exposed the service on my server, just for testing. (Since it’s a trial version, passwords won’t be saved.)

The password is: db_passwd_for_testing!.


#Challenge Overview

Upon startup, the binary accepts three primary command-line operations:

if (!memcmp(argv[1], "db-create", 9) && argv[2]) { create_database(argv[2]); return 0; }
if (!memcmp(argv[1], "db-open", 7) && argv[2])   { open_database(argv[2]);   return 0; }
if (!memcmp(argv[1], "db-rm", 5) && argv[2])     { remove_database(argv[2]); return 0; }
  • db-create: Creates a new database file.
  • db-open: Opens an existing database.
  • db-rm: Deletes a database file.

Once a database is loaded, the application enters an interactive CLI offering the following subcommands: