WithSecureLabs / physmem2profit

Physmem2profit can be used to create a minidump of a target hosts' LSASS process by analysing physical memory remotely
https://labs.f-secure.com/blog/rethinking-credential-theft/
Apache License 2.0
394 stars 72 forks source link

Error during the compilation of the client #13

Open 10032800 opened 9 months ago

10032800 commented 9 months ago

during the compilation of the client I have the following error:

` x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DBLAKE2_COMPRESS_SSE2=1 -I/opt/physmem2profit/client/.env/include -I/usr/include/python3.10 -c impl/blake2b.c -o build/temp.linux-x86_64-3.10/impl/blake2b.o In file included from impl/blake2b.c:18: impl/blake2.h:101:5: error: size of array element is not a multiple of its alignment 101 | blake2s_state S[8][1]; | ^~~~~ impl/blake2.h:102:5: error: size of array element is not a multiple of its alignment 102 | blake2s_state R[1]; | ^~~~~ impl/blake2.h:109:5: error: size of array element is not a multiple of its alignment 109 | blake2b_state S[4][1]; | ^~~~~ impl/blake2.h:110:5: error: size of array element is not a multiple of its alignment 110 | blake2b_state R[1]; | ^~~~~ impl/blake2b.c: In function ‘blake2b’: impl/blake2b.c:293:3: error: size of array element is not a multiple of its alignment 293 | blake2b_state S[1]; | ^~~~~ impl/blake2b.c: At top level: impl/blake2b.c:29:22: warning: ‘blake2b_sigma’ defined but not used [-Wunused-const-variable=] 29 | static const uint8_t blake2b_sigma[12][16] = | ^~~~~ error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> pyblake2 `

10032800 commented 9 months ago

pip --version pip 23.3.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)