1032 Commits

Author SHA1 Message Date
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
6e3e05aa0b
created decryptedOutput typedef 2023-01-25 13:45:37 +01:00
c001f9c6bb
implemented WRITE_MESSAGEs in logger-test 2023-01-25 13:44:34 +01:00
79c39d6ee0
created WRITE_MESSAGE_2 & WRITE_MESSAGE_3
more testing yk
2023-01-25 12:19:53 +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
38ab5ac67d
declared deallocateDoublePointer function 2023-01-25 12:00:09 +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
6620382d4e
created code for decrypting logger
send part of this update tho
2023-01-24 12:16:16 +01:00
000021b9a2
FINALLY created code for loading logFile as pointer-to-pointer char
I should probably fix the valgrind issues heh..
2023-01-24 11:58:47 +01:00
f2a62fdb7b
added colon to WRITE_FORMAT flag
and implemented it => that flag is used for getting length of log prefix so yeah you get it

hehe
2023-01-24 11:55:42 +01:00
914e7a2020
added read mode to logFile creation 2023-01-21 21:09:48 +01:00
b71bab6749
added vgcores to clean rule 2023-01-06 15:25:57 +01:00
c3229e76a6
added vgcores to ignored 2023-01-06 15:25:16 +01:00
900cde63ca
moved some makefile variables on better place
smart yk
2023-01-06 15:20:39 +01:00
596d6aff9a
removing newline from logMessage 2022-12-11 17:59:43 +01:00
ab9b46e75a
made cleaning buffer in version check smarter
I think my IQ raised

by -10
2022-12-11 16:32:36 +01:00
403cb396b6
added one byte to buffer allocation
see 875c3c34d90d2845325db2739233d9312f056785
2022-12-11 16:20:53 +01:00
875c3c34d9
added newline escape sequence at the end of WRITE_FORMATTING 2022-12-11 16:18:39 +01:00
5c620c2d76
renamed flags to prevent memory problems 2022-12-11 16:15:55 +01:00
b685806b6a
removed flags parameter from decryptLogger 2022-12-11 15:18:15 +01:00
2de4e83700
added missing comment to decryptLogger declaration 2022-12-11 14:59:31 +01:00
3776ad5e02
added void parameter to every function without any parameters 2022-12-11 14:57:57 +01:00
8263a17a20
created decryptLogger function 2022-12-11 14:51:36 +01:00
f26945a841
added check if flags weren't changed to writeLog 2022-12-10 16:25:46 +01:00
0db83e0a51
defined getFlagsChanged
heehee
2022-12-10 16:22:03 +01:00
083233c0f6
declared getFlagsChanged 2022-12-10 16:21:46 +01:00
c83759dcba
created flagsChanged boolean
what the fuck do you think it does, genie
2022-12-10 16:14:07 +01:00
cb67024dea
renamed defaultFlags getter to getDefaultFlags 2022-12-10 16:08:09 +01:00
ef3557333a
simplified cleaning allocated returningText with memset
now in decrypter
2022-12-10 15:39:26 +01:00
38956cce14
simplified cleaning allocated returningText with calloc 2022-12-10 15:31:18 +01:00
59ba4c8d08
allocating logger-test's buffer with calloc
fucking Uninitialised value was created by a heap allocation
2022-12-10 15:27:35 +01:00
edc78674d2
added one byte to returningText allocation 2022-12-10 15:02:00 +01:00
b4d1be73f9
fixed writeLog memory leak 2022-12-10 15:01:14 +01:00
afc9d97bbb
using inputFlags in logger 2022-12-09 19:00:37 +01:00
6cb9e09a87
implemented encryption in logger
NOTE: This was pretty big change, I hope everything is cool
2022-12-09 18:55:18 +01:00
e2982471f4
made using key in encrypter smarter 2022-12-09 18:52:42 +01:00
201211010a
fixed possible NULL char problems 2022-12-09 18:43:10 +01:00