danielkrupinski / Osiris

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

request add linux injector #4303

Open s-b-repo opened 2 months ago

s-b-repo commented 2 months ago

https://github.com/s-b-repo/linject/blob/main/linject.py would you consider this a injector for linux can this be used as a base and improved on

s-b-repo commented 2 months ago

LD_PRELOAD=/path/to/libOsiris.so ./cs2

other method

s-b-repo commented 2 months ago

https://github.com/s-b-repo/zunix/blob/main/ndy.h

s-b-repo commented 2 months ago

pip install inject or sudo apt-get install inject sudo inject $(pidof cs2) /path/to/libOsiris.so

s-b-repo commented 2 months ago

https://github.com/s-b-repo/creeze/blob/main/lacky.h

KebabLord commented 1 month ago

injection command is already in readme

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