Skip to content
Zone for Exploration and
Understanding of Security
← All writeups

Password Profiler

picoCTF 2026 · General Skills · Easy

Scope

This picoCTF 2026 General Skills challenge by Yahaya Meddy provides userinfo.txt, hash.txt and check_password.py. The profile gives Alice Johnson, nickname AJ, birthdate 15 July 1990, partner Bob and child Charlie. I used those details to generate a candidate list with CUPP, then ran the supplied checker against the challenge hash.

Generate candidates and verify

shell
# Download the challenge files into one directory.
curl -fsSLO 'https://challenge-files.cylabacademy.net/library/eee2a66921bd7ab65c6464f5293a9d15cc01c8631a0dc4c9668db8a2525639fc/userinfo.txt'
curl -fsSLO 'https://challenge-files.cylabacademy.net/library/eee2a66921bd7ab65c6464f5293a9d15cc01c8631a0dc4c9668db8a2525639fc/hash.txt'
curl -fsSLO 'https://challenge-files.cylabacademy.net/library/eee2a66921bd7ab65c6464f5293a9d15cc01c8631a0dc4c9668db8a2525639fc/check_password.py'

# Download CUPP and its configuration, then answer its interactive prompts.
curl -fsSLO 'https://raw.githubusercontent.com/Mebus/cupp/master/cupp.py'
curl -fsSLO 'https://raw.githubusercontent.com/Mebus/cupp/master/cupp.cfg'
python cupp.py -i -q
# Enter Alice, Johnson, AJ, 15071990, Bob, and Charlie.
# Leave unknown fields blank. Choose no extra keywords or special characters,
# then enable random numbers and leet mode.

cp alice.txt passwords.txt
python check_password.py

Successful output, with the answer hidden

[+] Saving dictionary to alice.txt, counting 29516 words.
Password found: [REDACTED]

CUPP generated 29,516 candidates. The supplied checker compared each candidate’s SHA-1 digest with hash.txt and printed a successful match. The answer is hidden here because the repository does not publish CTF flags or their recoverable passwords. The displayed output is redacted from the real checker result.

Defensive takeaway

Personal details can make password guesses predictable. Password systems should store salted, slow password hashes such as Argon2id, and users should avoid passwords based on names and dates.

Practice next

Explore more security challenges on CyLab Security Academy.

Explore CyLab Security Academy ↗