danielkrupinski / Osiris

Cross-platform game hack for Counter-Strike 2 with Panorama-based GUI.
MIT License
3.35k stars 961 forks source link

[LINUX] Injection command gives me an error #4215

Open autodeskerman123 opened 9 months ago

autodeskerman123 commented 9 months ago

Running sudo gdb -batch-silent -p $(pidof cs2) -ex "call (void*)dlopen(\"$PWD/libOsiris.so\", 2)"

gives me

all (void)dlopen("/home/bigbit/Osiris/Release/libOsiris.so", 2): No such file or directory. Illegal process-id: -ex.

danielkrupinski commented 9 months ago

CS2 has to be running and you have to run this command in the same directory as libOsiris.so