1213 Commits

Author SHA1 Message Date
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
90eef0bb21
moved pseudo-random seed generation to generateKey 2022-12-09 18:03:30 +01:00
80dd838ca8
unfucked generating random seed 2022-12-09 17:55:21 +01:00
799fc752b2
implemented logFlags-related stuff in logger-test 2022-12-09 17:50:14 +01:00
f04cfb8ad4
added missing libwhy2 into testLogger rule 2022-12-09 17:46:57 +01:00
de6e0886ac
renamed loggerFlags to logFlags 2022-12-09 17:37:56 +01:00
5c76b768db
created getter & setter for loggerFlags 2022-12-09 17:35:21 +01:00
cc7ad7dc57
created loggerFlags type 2022-12-09 17:28:48 +01:00
acaa7430b8
moved encryption key generation to misc.c 2022-12-09 16:59:12 +01:00
7b432df61d
fixed possible memory problems in decrypter 2022-12-09 16:20:09 +01:00
a1852354b4
fixed textBuffer memory leak 2022-12-09 16:16:47 +01:00
003a5a5a7e
fixed loop shadowing outer variable 2022-12-09 16:06:46 +01:00
f5a6ece798
made decrypter's using TEXT parameter safe
It was changing the original TEXT before... I'm so dumb...
2022-12-09 15:57:32 +01:00
7a5e632f7a
added missing comment 2022-12-09 15:21:02 +01:00
f38e6e15f4
fixed 'ignoring return value' problem in symlink creation
see 215121f209f3e09a5ad3ce4fc5ed052d9d66708d
2022-12-09 15:13:59 +01:00
cd6600a83f
added latest log feature && simplified LOG_FORMATTING 2022-12-09 15:10:41 +01:00
215121f209
kind of fixed 'ignoring return value' problem
saying I bypassed compiler would sound weird, so yeah... 🤠
2022-12-09 14:09:15 +01:00
fd6aa19eba
added proper expression for comparing write & fread return values
still not complete tho
2022-12-07 17:30:47 +01:00
8df7a56095
fixed what I fucked up last commit 2022-12-06 18:30:49 +01:00
0cacbcf174
patched unused-result error
hopefully
2022-12-06 18:22:58 +01:00