Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LINUX] Is it not working or am I not sure how to activate it? #4244

Open
Hhk78 opened this issue Apr 1, 2024 · 6 comments
Open

[LINUX] Is it not working or am I not sure how to activate it? #4244

Hhk78 opened this issue Apr 1, 2024 · 6 comments

Comments

@Hhk78
Copy link

Hhk78 commented Apr 1, 2024

I inject the cheat but nothing changes in the game.

~ cd git/Osiris/build/Source 
➜  Source git:(master) ✗ ls
CMakeFiles  cmake_install.cmake  inj  libOsiris.so  Makefile
➜  Source git:(master) ✗ sudo gdb -batch-silent -p $(pidof cs2) -ex "call (void*)dlopen(\"$PWD/libOsiris.so\", 2)"
[sudo] password for h: 
➜  Source git:(master) ✗ 

It doesn't give any output either.
Is it not working or am I not sure how to activate it??

(i am using translate)

@totkyle
Copy link

totkyle commented Apr 1, 2024

having the same issue here.

@snipcola
Copy link

snipcola commented Apr 5, 2024

I got it working by compiling https://github.com/kubo/injector and then doing:

./cmd/injector -n cs2 ../Osiris/build/Source/libOsiris.so

Although not sure how safe this is.

@totkyle
Copy link

totkyle commented Apr 5, 2024

i tried doing this but it says could not find the process: cs2

@snipcola
Copy link

snipcola commented Apr 6, 2024

You can try replace -n cs2 with -p $(pidof cs2), and see if maybe that helps.

@Hhk78
Copy link
Author

Hhk78 commented Apr 6, 2024

➜  Source git:(master) ✗ sudo injector -n cs2 ./libOsiris.so
targeting process "cs2" with pid 72354
"./libOsiris.so" successfully injected
➜  Source git:(master) ✗ sudo injector -p $(pidof cs2) libOsiris.so 
targeting process with pid 72354
"libOsiris.so" successfully injected

I did what you said, but do I still need to do anything else to enable cheating in the game?

@totkyle
Copy link

totkyle commented Apr 6, 2024

You can try replace -n cs2 with -p $(pidof cs2), and see if maybe that helps.

i tried -p $(pidof cs2) but it didnt work, then i found the pid myself and went -p 4718 and then it said
could not inject "libOsiris.so"
dlopen failed: /home/arhan/injector/cmd/tanku.so: cannot open shared object file: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants