884 Commits

Author SHA1 Message Date
d0e6d794e0
implemented padding rate in all why2_input_flags usages 2024-11-19 21:12:02 +01:00
d14f9adaf4
simplified stupid code in tkch_gen
damn old me was really dumb
2024-11-19 20:51:33 +01:00
035928456e
fixed possible WHY2_v4 security problem 2024-11-19 20:48:08 +01:00
5f1b5e2f92
added err todo about client password input 2024-11-17 22:35:56 +01:00
8569003872
not echoing password on prompt 2024-11-17 22:35:04 +01:00
d23c166fc6
preventing segfault when user doesn't have homedir in /home 2024-11-17 22:19:42 +01:00
a7523a64a2
removed 'unused' code from decrypter
dear god, I hate you from the bottom of my heart, but, please do not break my code by removing this code. i have no fucking idea what it does and how it got there. if you'll protect my code stability, I will do absolutely nothing. hail satan
2024-11-17 21:18:28 +01:00
f917140ae5
created more secure tkch WHY_v4
good luck with brute forcing now haha
2024-11-17 20:55:13 +01:00
7790d194cb
added code for logging in 2024-09-02 15:34:46 +02:00
05bd4255e5
simplified toml_read in rust 2024-09-02 15:20:58 +02:00
9e17c9d06d
created rust fn why2_toml_equals
check if key is equal to x
2024-09-02 15:11:24 +02:00
42562013b5
proccessing password hash in client send loop 2024-09-02 15:02:58 +02:00
d6e540d9e7
implemented asking_password in client receive loop 2024-09-02 15:02:42 +02:00
e06a237491
replaced asking_password with boolean 2024-09-01 20:57:29 +02:00
e94a401308
replaced set_asking with increment_asking 2024-09-01 20:51:52 +02:00
357f73ae69
defined asking_password functions 2024-09-01 20:50:46 +02:00
c4fc11063a
created source file for chat-flags 2024-09-01 20:44:57 +02:00
810a34d7c9
removed unused 'unused'
haha you dumb idiot
2024-09-01 20:43:31 +02:00
642ef37016
created sha256 function returning string 2024-09-01 20:40:21 +02:00
c51bb609ba
proccesing registration at client-side
it isnt hashed rn, do not use this pls
2024-09-01 20:18:13 +02:00
d6221da442
created server code for registering user 2024-09-01 20:11:23 +02:00
077ecc50c8
printing command info at connection 2024-09-01 19:59:12 +02:00
1d970b94f8
created max_password_tries entry in config 2024-09-01 19:45:36 +02:00
1011faa67f
allowing spaces in messages 💀 2024-08-31 16:50:41 +02:00
11ddd9c9b9
defined and implemented why2_get_server_users_path 2024-08-31 16:50:16 +02:00
3fa15f5ebb
changed ascii range 2024-08-31 16:25:36 +02:00
37a615cb03
got rid of the dumbass goto in read_socket_raw
and possibly created 10 new problems :))
2024-08-31 16:22:34 +02:00
981dec55db
moved is_ascii to separate fn 2024-08-31 16:11:58 +02:00
f7982d4d4a
moved removing non-ascii chars to fn 2024-08-31 16:01:04 +02:00
a9fd0596e5
creating user config on server startup
if user_pick_username is set to true
2024-08-31 14:44:08 +02:00
48208d0991
fixed double memory leak in init_config fn 2024-08-31 13:02:32 +02:00
446727b87c
created rust fn for checking if toml contains key 2024-08-31 12:44:15 +02:00
690d979124
created rust fn for writing into toml 2024-08-31 12:36:36 +02:00
f539a4bd71
displaying welcome message on client 2024-08-30 15:06:04 +02:00
329c3c9cd2
added missing why2_directory call to why2_check_version 2024-08-30 15:01:27 +02:00
c28765a4c8
sending server_name in welcome packet 2024-08-30 14:51:27 +02:00
875a1b8ac2
removed useless json syntax checks
its useless since I added check to read_socket_raw
2024-08-30 14:46:45 +02:00
184e71c899
added server_name to server config 2024-08-30 14:40:28 +02:00
972619bafa
fixed server-side pm buffer overflow 2024-08-30 14:31:14 +02:00
17f1329325
removed unused debug stuff 2024-08-30 14:30:55 +02:00
9fd9a4b233
resolving self-pm at client-side :))
haha def no easteregg
2024-08-30 14:12:15 +02:00
809d40ab2e
not sending two packets on self-pm 2024-08-30 13:57:26 +02:00
8bd3df1ae1
added json format validation to read_socket_raw 2024-08-30 13:41:01 +02:00
3fc339a9fb
fully implemented new WHY2_CONFIG_DIR
i moved it to user folder cause it causes permission problems on multi-user machine.
2024-08-30 00:54:17 +02:00
e802f5f483
moved why2_dir from init_config to why2_directory fn 2024-08-30 00:47:52 +02:00
ca97b45059
solved infinite loop in read_socket_raw
by the worst possible solution but yeahhh
2024-08-30 00:31:59 +02:00
d12936d1d0
showing pm to both users 2024-08-30 00:23:49 +02:00
2e5e9682a3
decoding pm from end-user 2024-08-30 00:21:59 +02:00
8fcddab726
sending both author and recipient in pm 2024-08-30 00:21:35 +02:00
2d5a18d667
added infinite loop todo
i mean yk, it works but its shit
2024-08-29 23:35:46 +02:00