107 Commits

Author SHA1 Message Date
d0e6d794e0
implemented padding rate in all why2_input_flags usages 2024-11-19 21:12:02 +01:00
f917140ae5
created more secure tkch WHY_v4
good luck with brute forcing now haha
2024-11-17 20:55:13 +01:00
06ae819a82
added the WHY2_OUTPUT_TEXT enum to every why2_input_flags usage 2024-02-23 20:36:27 +01:00
0525c43b6f
reverted "removed pointless strlen from for loops"
This reverts commit 49b53ec5b1ffd1931e51c7d7c17a64a99e2bd54e.
2024-02-20 14:45:35 +01:00
49b53ec5b1
removed pointless strlen from for loops 2024-02-20 13:45:47 +01:00
b6bace31e2
removed stupid goto in logger 2024-02-19 12:17:44 +01:00
bd3eb8ed4a
removed duplicate tkch version
so yeah v1 and v2 were the same
2024-01-24 21:07:45 +01:00
42f406f6b6
implemented tkch_version in why2_input_flags 2024-01-24 15:11:22 +01:00
b57cd2b827
created logger-app source file 2023-02-08 19:45:21 +01:00
e0f0ad73b5
implemented why2_generate_key type change 2023-02-08 19:32:22 +01:00
e92c2f4d9d
fixed (possibly) invalid symlink path in why2_init_logger
fuuck I was using different variable REE
2023-02-08 19:09:56 +01:00
049cdbef98
moved WHY2 include down in logger-test 2023-02-08 14:52:27 +01:00
44941a1b05
implemented why2_opendir
shit it works

no memery lekz

LET'S FUCKING GO
2023-02-06 17:00:19 +01:00
4a1d77175e
removed remaining part of why2_open-related commits 2023-02-06 12:50:59 +01:00
55dacb2a84
removing possible memory leaks from why2_init_logger 2023-02-06 08:19:47 +01:00
a42e0a9ca9
implemented why2_open
wow no memory leak

ngl didn't expect that
2023-02-05 19:07:43 +01:00
b27ddb633f
implemented why2_fdopen 2023-02-05 18:54:49 +01:00
6e7ea8b6f5
renamed why2_free to why2_deallocate 2023-02-05 18:25:42 +01:00
5879c02d77
implemented why2_clean_memory in why2_decrypt_logger
finally proccesing all exit values yay
2023-02-04 18:32:36 +01:00
bc4a3421c4
defined why2_empty_decrypted_output
ty zmrde jeden co by ta funkce mohla asi dělat, hmm? FUCK YOU
2023-02-04 18:28:44 +01:00
aaeec50687
removed TODO from why2_write_log's write 2023-02-04 18:23:10 +01:00
792877202c
added no_output check to previous commit 2023-02-04 18:15:00 +01:00
2a1e05886a
implemented why2_clean_memory in why2_init_logger 2023-02-04 18:12:32 +01:00
3a645d5167
defined why2_empty_log_file
this could cause some segfault if not check for correct return, but yk... This shouldn't ever happen, so yk
2023-02-04 18:06:12 +01:00
bbb09428d1
renamed all 'public' identificators to snake_case
I mean the identificators user gets in contact with
2023-02-03 17:03:46 +01:00
f8f53b4305
implemented why2_strdup
hehe
2023-02-01 15:11:27 +01:00
7dd4f08d55
removed unused stdlib includes 2023-01-31 18:20:35 +01:00
6cce28c65a
implemented why2_malloc & why2_calloc & why2_free 2023-01-29 20:39:52 +01:00
5e8cf54145
renamed every global function & flag
basically - it's in snake_case now AND there's "why2_" at the beginning
2023-01-29 20:14:11 +01:00
b50ed767ac
fixed allocation sizes in decryptLogger
removed the todo yay
2023-01-27 14:31:53 +01:00
bf96f9e55e
replaced malloc with strcpy with strdup
heh
2023-01-26 12:48:07 +01:00
4ec8edafcb
completed deallocation functions
I mean it worked fine, but now it sets strings to null etc.
2023-01-26 10:26:01 +01:00
e2eca1e3ea
revert "removed unused void casts"
yes so it works on my machine

but not on debian-based; fuck

reverts commit 8700f38260350cec20b6c48b30eda977018faab9.
2023-01-25 20:38:56 +01:00
8700f38260
removed unused void casts
wtf without it, it was throwing compile errors (like month ago) and now it works perfectly fine wtfff
2023-01-25 20:37:26 +01:00
c5255bfa3e
added few more tests to logger-test 2023-01-25 20:33:05 +01:00
3b7622b846
fixed deallocateDecryptedOutput's bad variable type 2023-01-25 14:18:53 +01:00
91435a29c8
implemented decryptedOutput in logger-test 2023-01-25 14:17:18 +01:00
07c787b22e
implemented deallocateDecryptedOutput 2023-01-25 14:16:12 +01:00
d16f48b760
replaced deallocateDoublePointer with deallocateDecryptedOutput 2023-01-25 14:13:52 +01:00
e7282dec5a
changed decrypLogger type to decryptedOutput
cuz length
2023-01-25 13:50:47 +01:00
c001f9c6bb
implemented WRITE_MESSAGEs in logger-test 2023-01-25 13:44:34 +01:00
1fb64603bb
renamed WRITE_MESSAGE to WRITE_MESSAGE_1 2023-01-25 12:16:35 +01:00
0a0eb94a83
implemented deallocateDoublePointer in utils' decryptLogger 2023-01-25 12:11:57 +01:00
caaa9f9b00
implemented deallocateDoublePointer in logger-test 2023-01-25 12:10:21 +01:00
abecff2c33
defined deallocateDoublePointer
idk if it is safe, but it works heh
2023-01-25 12:09:13 +01:00
299001a8f7
removed unused removeSpaces function 2023-01-25 11:06:13 +01:00
b794cab66f
added code to logger-test for comparing WRITE_MESSAGE and decrypted logger output
ma englant gut
2023-01-25 10:44:09 +01:00
3673f24964
rewrote whole decryptLogger
yay that shit works now

weeeeeeeeeeeeeeeeeee
2023-01-25 10:41:50 +01:00
e782676c85
removed unused print
I forgor
2023-01-24 12:26:47 +01:00
25b2690ab5
changed decryptLogger type to char** 2023-01-24 12:17:42 +01:00