Login system Developed in ADA, my first programming language.
该系统模拟蜜罐环境,用于学习Ada编程。它包含基本用户名和密码验证、延迟效果及假反馈。用户输入昵称后进行用户名验证,若正确则模拟环境加载。随后输入密码生成哈希并比对存储值。匹配成功则授予访问权限。该系统目前不安全,仅为学习概念项目,并持续改进中。 2025-7-30 03:19:28 Author: www.reddit.com(查看原文) 阅读量:68 收藏

It simulates a honeypot-like environment; it's not very secure yet, but I'm learning step by step. It includes basic username and password validation with hashes generated equally for all four users for now, delay effects, and fake feedback messages.

What does it do? • It asks for a nickname → no real validation, just visual. • Then it asks for a username, which is validated against a stored list of usernames. • If the username is valid, it simulates an “environment loading” process. • After that, it asks for a password, generates a hash, and compares it with a stored hash. • If everything matches, access is granted. Otherwise, it rejects the login.

It’s not meant to be a real secure system,it’s just a concept I’m building as I learn Ada

I'm still improving it and am open to ideas.


文章来源: https://www.reddit.com/r/netsecstudents/comments/1mcvvxv/login_system_developed_in_ada_my_first/
如有侵权请联系:admin#unsafe.sh