Osiris icon indicating copy to clipboard operation
Osiris copied to clipboard

Linux not injecting

Open ThePrimeDev opened this issue 1 year ago • 1 comments

When injecting, I get the following problem:

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

warning: Could not load shared library symbols for bin/linux64/launcher_client.so.
Do you need "set solib-search-path" or "set sysroot"?

warning: File "/usr/lib/x86_64-linux-gnu/libthread_db.so.1" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

warning: File "/usr/lib/x86_64-linux-gnu/libthread_db.so.1" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
96	../sysdeps/x86/fpu/sincosf_poly.h: No such file or directory.

ThePrimeDev avatar Aug 08 '23 06:08 ThePrimeDev

warning: Could not load shared library symbols for bin/linux64/launcher_client.so. Can't find the path to the file launcher_client.so. You need to place libOsiris.so in the root of the game folder and launch it from there. run this command in the console from the game's root directory:

sudo gdb -n -q -batch-silent \
        -ex "set logging file /dev/null" \
        -ex "set logging redirect on" \
        -ex "set logging on" \
        -ex "attach $(pidof csgo_linux64)" \
        -ex "call ((void*(*)(const char*, int))dlopen)(\"libOsiris.so\", 1)"   \
        -ex "detach" \
        -ex "quit"

Nokdu avatar Aug 30 '23 18:08 Nokdu