danielkrupinski / Osiris

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

Help to build and inject on Linux :( #3808

Open Haft069 opened 1 year ago

Haft069 commented 1 year ago

hi guys, I want to get osiris for linux ubuntu up and running, but I can't do it. I follow the steps as described for linux but no chance. I can't get the.so file. Can someone help me and explain to me step by step what I have to do to build and inject? I think i do a mistake, but ihave try this 2 hours and idk what i do wrong.. :(

deboogerxyz commented 1 year ago

https://github.com/danielkrupinski/GOESP#linux

These steps also work for Osiris.

Haft069 commented 1 year ago

thank you , i have build it, but no what i have to do ?

deboogerxyz commented 1 year ago

https://github.com/deboogerxyz/ah4/blob/master/load.sh

You can use the load script from my cheat. All you have to do is change libah4.so to libOsiris.so on line 4. Put the script in the same directory as the .so file.

Haft069 commented 1 year ago

ok i have your script and change to libOsiris.so, which derectory you mean, so where can i find the .so file? sorry im very new on linux -.-

Haft069 commented 1 year ago

benutzer@benutzer-CSR:~$ cd Osiris benutzer@benutzer-CSR:~/Osiris$ cd release bash: cd: release: Datei oder Verzeichnis nicht gefunden benutzer@benutzer-CSR:~/Osiris$ cd Release benutzer@benutzer-CSR:~/Osiris/Release$ chmod +x load.sh benutzer@benutzer-CSR:~/Osiris/Release$ ./load.sh ./load.sh requires root privileges benutzer@benutzer-CSR:~/Osiris/Release$ sudo ./laod.sh [sudo] Passwort für benutzer: benutzer@benutzer-CSR:~/Osiris/Release$ sudo ./load.sh Couldn't find the shared object benutzer@benutzer-CSR:~/Osiris/Release$

Haft069 commented 1 year ago

this is what i get

Haft069 commented 1 year ago

i dont get the libOsiris.so file :(

deboogerxyz commented 1 year ago

You either didn't build the cheat or didn't change the library name in my script (line 4).

Haft069 commented 1 year ago

i have the .so file and the load.sh file (change line 4 right) when i inject then i get this benutzer@benutzer-CSR:~/Osiris/Release$ sudo ./load.sh [sudo] Passwort für benutzer: [New LWP 15061] [New LWP 15062] [New LWP 15063] [New LWP 15064] [New LWP 15065] [New LWP 15069] [New LWP 15070] [New LWP 15071] [New LWP 15072] [New LWP 15074] [New LWP 15075] [New LWP 15076] [New LWP 15078] [New LWP 15079] [New LWP 15080] [New LWP 15081] [New LWP 15082] [New LWP 15083] [New LWP 15084] [New LWP 15087] [New LWP 15088] [New LWP 15089] [New LWP 15090] [New LWP 15091] [New LWP 15094] [New LWP 15095] [New LWP 15096] [New LWP 15097] Warnung: Could not load shared library symbols for bin/linux64/launcher_client.so. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 38 ../sysdeps/unix/sysv/linux/x86_64/syscall.S: Datei oder Verzeichnis nicht gefunden. [Thread 0x7fb979290640 (LWP 15070) exited]

Thread 1 "csgo_linux64" received signal SIGSEGV, Segmentation fault. 0x00007fb998413a7e in Plat_ExitProcess () from /home/benutzer/.steam/debian-installation/steamapps/common/Counter-Strike Global Offensive/bin/linux64/libtier0_client.so The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on". Evaluation of the expression containing the function (dlopen) will be abandoned. When the function is done executing, GDB will silently stop. [Inferior 1 (process 15060) detached] ./load.sh: 39: Footer: not found ./load.sh: 40: ©: not found ./load.sh: 41: Footer: not found ./load.sh: 43: Terms: not found ./load.sh: 44: Privacy: not found ./load.sh: 45: Security: not found ./load.sh: 46: Status: not found ./load.sh: 47: Docs: not found ./load.sh: 48: Contact: not found ./load.sh: 49: Pricing: not found ./load.sh: 50: API: not found ./load.sh: 51: Training: not found ./load.sh: 52: Blog: not found ./load.sh: 53: About: not found

Haft069 commented 1 year ago

idk what i do wrong, your cheat ah4 is so easy to build and inject, wtf is wrong with osiris ? who make this so complicated xD

deboogerxyz commented 1 year ago

Could you show the output of ls in the Release directory? Also, you copied some text from GitHub's footer.

Haft069 commented 1 year ago

benutzer@benutzer-CSR:~$ cd Osiris benutzer@benutzer-CSR:~/Osiris$ cd Release benutzer@benutzer-CSR:~/Osiris/Release$ ls CMakeCache.txt CMakeFiles cmake_install.cmake Dependencies Makefile Source benutzer@benutzer-CSR:~/Osiris/Release$

Haft069 commented 1 year ago

when i do the first steps, so downloading the file, and then do this : mkdir Release cd Release cmake -D CMAKE_BUILD_TYPE=Release .. make -j $(nproc --all)

the release is build. but i dont know here is the .so file ?

Haft069 commented 1 year ago

now i get it but csgo crashes.... i think i use ah4 xDDD

benutzer@benutzer-CSR:~/Osiris/Release$ chmod +x load.sh benutzer@benutzer-CSR:~/Osiris/Release$ touch build-id benutzer@benutzer-CSR:~/Osiris/Release$ ./load.sh Injecting Build ID: libOsiris.so 2 Successfully injected! benutzer@benutzer-CSR:~/Osiris/Release$

deboogerxyz commented 1 year ago

You may not have all required libraries. Run ldd libOsiris.so.

Haft069 commented 1 year ago

benutzer@benutzer-CSR:~$ cd Osiris benutzer@benutzer-CSR:~/Osiris$ cd Release benutzer@benutzer-CSR:~/Osiris/Release$ ldd libOsiris.so linux-vdso.so.1 (0x00007ffc29fae000) libSDL2-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007f6cc6c48000) libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f6cc6bc1000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6cc6bbc000) libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f6cc6af4000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6cc68ca000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6cc67e1000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6cc67c1000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6cc6599000) /lib64/ld-linux-x86-64.so.2 (0x00007f6cc7363000) libasound.so.2 => /lib/x86_64-linux-gnu/libasound.so.2 (0x00007f6cc6496000) libpulse.so.0 => /lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f6cc6441000) libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f6cc6301000) libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f6cc62ea000) libXcursor.so.1 => /lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f6cc62de000) libXinerama.so.1 => /lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f6cc62d9000) libXi.so.6 => /lib/x86_64-linux-gnu/libXi.so.6 (0x00007f6cc62c5000) libXfixes.so.3 => /lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f6cc62bd000) libXrandr.so.2 => /lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f6cc62b0000) libXss.so.1 => /lib/x86_64-linux-gnu/libXss.so.1 (0x00007f6cc62a9000) libXxf86vm.so.1 => /lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f6cc62a2000) libdrm.so.2 => /lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f6cc628c000) libgbm.so.1 => /lib/x86_64-linux-gnu/libgbm.so.1 (0x00007f6cc627b000) libwayland-egl.so.1 => /lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f6cc6276000) libwayland-client.so.0 => /lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f6cc6265000) libwayland-cursor.so.0 => /lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f6cc6259000) libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f6cc6212000) libdecor-0.so.0 => /lib/x86_64-linux-gnu/libdecor-0.so.0 (0x00007f6cc6208000) libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f6cc6150000) libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f6cc611c000) libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f6cc60df000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6cc60c3000) libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f6cc60b5000) libpulsecommon-15.99.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-15.99.so (0x00007f6cc6030000) libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f6cc5fe2000) libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f6cc5fb6000) libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f6cc5fa9000) libwayland-server.so.0 => /lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007f6cc5f93000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f6cc5f62000) libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007f6cc5f55000) libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f6cc5f30000) libsndfile.so.1 => /lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f6cc5eb1000) libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f6cc5eac000) libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f6cc5de5000) libasyncns.so.0 => /lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f6cc5ddd000) libapparmor.so.1 => /lib/x86_64-linux-gnu/libapparmor.so.1 (0x00007f6cc5dc8000) libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f6cc5dc0000) libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f6cc5db8000) libFLAC.so.8 => /lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f6cc5d7c000) libvorbis.so.0 => /lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f6cc5d4f000) libvorbisenc.so.2 => /lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f6cc5ca4000) libopus.so.0 => /lib/x86_64-linux-gnu/libopus.so.0 (0x00007f6cc5c46000) libogg.so.0 => /lib/x86_64-linux-gnu/libogg.so.0 (0x00007f6cc5c39000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6cc5c0e000) libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f6cc5b3f000) liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f6cc5b1f000) libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f6cc5b14000) libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f6cc59d6000) libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f6cc59bc000) libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f6cc5996000) libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f6cc5989000) benutzer@benutzer-CSR:~/Osiris/Release$

Haft069 commented 1 year ago

this i get

Wristing commented 1 year ago

You either didn't build the cheat or didn't change the library name in my script (line 4).

i appreciate ur load script, fixed my issues on osiris and also fuzion ty :)