Open Hydrogen37 opened 3 years ago
I'm using osxinj on big sur without any problem. Just compiled one from it's official repo.
About M1; yeah, osxinj doesn't support m1 native. I can't provide any but as we tested, ButOSX works on m1 macbooks.
@Lyceion do you have a version of osxinj that you can send me that I can use?
@Lyceion update for m1 pls
@Lyceion update for m1 pls
Already works for m1. (if you have a m1 injector which doesn't about me)
WORKS ON M1 IF YOU HAVE INJECTOR WHICH I DONT PROVIDE
Proof from discord:
(Censored bc i'm sharing screenshot without their permission. I'm not sure they want to expose theirselfs.)
can you share discord channel? @Lyceion
can you share discord channel? @Lyceion
Not public anymore. Sorry... But you can search other injectors which doesn't use process hjacking method can probably inject. (Which the method osxinj uses.)
can you share discord channel? @Lyceion
Not public anymore. Sorry... But you can search other injectors which doesn't use process hjacking method can probably inject. (Which the method osxinj uses.)
Thanks man, i search "libButOSX.dylib" file can you send me? 😅
can you share discord channel? @Lyceion
Not public anymore. Sorry... But you can search other injectors which doesn't use process hjacking method can probably inject. (Which the method osxinj uses.)
Thanks man, i search "libButOSX.dylib" file can you send me? 😅
Removed from github because of uc rules. If you have uc account you can download from https://www.unknowncheats.me/forum/downloads.php?do=file&id=33979 . If you don't, mail me from lyceion@protonmail.com i'm gonna send you one when i arrive home. Also you can speak Turkish. I'm also Turkish.
You can refer to this for injecting on M1: https://aixxe.net/2016/09/shared-library-injection
This is for linux only @TheArmKing
This is for linux only @TheArmKing
With a few adjustments it can be made to work on macOS as well. You will need lldb instead of gdb
when I try to compile osxinj in xcode, it gives 2 errors: Architecture not supported Implicit declaration of function 'close' is invalid in C99 Using M1 Macbook Air
I fixed "Implicit declaration of function 'close' is invalid in C99" problem. @Hydrogen37 @Lyceion @TheArmKing You need to include a library at the top of the mach_inject file.
Add #include <unistd.h> // for close
after #include <fcntl.h> // for open
code.
However, there is still "Architecture not supported" error.
@Lyceion Hocam M1'de çalışan injectoru buldum. Ancak şimdide "libButOSX.dylib" çalışmıyor.
I fixed "Implicit declaration of function 'close' is invalid in C99" problem. @Hydrogen37 @Lyceion @TheArmKing You need to include a library at the top of the mach_inject file.
Add
#include <unistd.h> // for close
after#include <fcntl.h> // for open
code. However, there is still "Architecture not supported" error.
Thank you. did what you said, indeed fixed the C99 problem. Architecture not supported problem still unable to fix. @Lyceion
Fixing the C99
issue on osxinj
won't help. However, this alternate method can be used to inject on M1 (via Terminal
with lldb
installed):
#thanks to aixxe.net/2016/09/shared-library-injection
sudo lldb --batch \
-o "attach --name csgo_osx64" \
-o "expr void* \$library = (void*)dlopen(\"/path/to/cheat.dylib\", 10)" \
-o "detach" \
-o "quit"
Taken from https://github.com/fakePh0e/osxGlow/blob/main/load.command
ButOSX
does not work with this injector :(
It will. Make sure you are running it correctly - the path to the dylib is correct and that the dylib is x86_64, not arm64.
Hi, I'm excited about your work and I want to use your cheat, but how do I get an injection on M1? Please tell me I don't have an x code
Here is the error
module: 0xA9405790 bootstrapfn: 0x87B6D90 pid: 7823 image name: /Users/M/Desktop/osxinj/bootstrap.dylib mach_inject: found threadEntry image at: 0x1087b6000 with size: 28384 wrote param with size 48 mach_inject failing.. (os/kern) invalid argument MM@MacBook-Pro-M osxinj %
@Lyceion update for m1 pls
Already works for m1. (if you have a m1 injector which doesn't about me)
WORKS ON M1 IF YOU HAVE INJECTOR WHICH I DONT PROVIDE
Proof from discord:
(Censored bc i'm sharing screenshot without their permission. I'm not sure they want to expose theirselfs.)
HI, please help me with the injection on m1
it freezes upon injection for m1 Mac using fakePh0e injector
injection now works but crashes here. see the debug
And you can use this project: https://github.com/kotleni/csgo-run
It's just support libs injecting.
And you can use this project: https://github.com/kotleni-reverse/csgo-run. It's just support libs injecting.
Hi @kotleni . I went to the project you linked, but was unable to figure out how to make it work. I downloaded the zip file, and then copy and pasted the Makefile code for OSX in terminal. This process was successful as it made the csgo_osx64 Unix Executable File. However, I started experiencing issues from this point forward. I don't know how to inject this file at all. I have read the readme.md file given and tried many different injecting options as well, but I feel like I am doing it wrong. Can you please tell me what I need to write in terminal so that I can inject the file? Thank you so much.
-inj <lib> -injdelay <secs>
(recommended 70 secs). (Like: Steam -> CSGO -> Game settings (Gear icon) -> General -> Command line arguments)And you can see it video: https://youtu.be/NVNAeQIqQIo
And you can use this project: https://github.com/kotleni-reverse/csgo-run.
It's just support libs injecting.
Hi @kotleni . I went to the project you linked, but was unable to figure out how to make it work. I downloaded the zip file, and then copy and pasted the Makefile code for OSX in terminal. This process was successful as it made the csgo_osx64 Unix Executable File. However, I started experiencing issues from this point forward. I don't know how to inject this file at all. I have read the readme.md file given and tried many different injecting options as well, but I feel like I am doing it wrong. Can you please tell me what I need to write in terminal so that I can inject the file? Thank you so much.
You can replace original file csgo_osx64 in csgo game directory (Like: Steam -> CSGO -> Game settings (Gear icon) -> Additional -> Open game directory).
Set game custom command line arguments to
-inj <lib> -injdelay <secs>
(recommended 70 secs). (Like: Steam -> CSGO -> Game settings (Gear icon) -> General -> Command line arguments)And you can see it video: https://youtu.be/NVNAeQIqQIo
@kotleni Wow, ok got it thank you so much. I just want to ensure that replacing the original file will not cause a ban. I have 3 more questions for you.
Is there a way to inject without replacing the original file like the ButOSX dylib but with the original game file?
Also, where did you get the ButOSX dylib file? Can you send it to me, please?
I have been using fakePh0e injector, which has been working so far as a simple glow hack, but after the new CS:GO update a couple of days ago, I can still inject without any issues, but the glow hack doesn't work. Is there a way this can be updated, perhaps?
Thank you once again.
I used this modified file, and I didn't get banned. And all custom external injectors is broken now on MacOS.
It's works for me now, after game updating. 👀
Yes, you have Discord?
Okay, you can text me for help: kotleni#7119
Fixing the
C99
issue onosxinj
won't help. However, this alternate method can be used to inject on M1 (viaTerminal
withlldb
installed):#thanks to aixxe.net/2016/09/shared-library-injection sudo lldb --batch \ -o "attach --name csgo_osx64" \ -o "expr void* \$library = (void*)dlopen(\"/path/to/cheat.dylib\", 10)" \ -o "detach" \ -o "quit"
Taken from https://github.com/fakePh0e/osxGlow/blob/main/load.command
I have this error - error: attach failed: more than one process named csgo_osx64:
hi, i downloaded everything needed, i put it into the launch preferences and when i click play, with turns blue and says stop. it stays stuck, and i have to forcequit to rejoin
@Lyceion do you have a big sur injector? osxinj might have been depricated after catalina