Open fcoremedi opened 1 year ago
MacBook Pro M1 Pro
That SIGSTOP
message means the CSGO process has been temporarily stopped by lldb
(LLVM debugger) for process injection. The ./inject.sh
uses dlopen()
to load the cheat (as a shared library) into the address space of the CSGO process, hijack some functions in CSGO, and finally let CSGO resume.
~/Code/Personal/havoc.cc (master) » ./inject.sh aesophor@Ludibrium
(lldb) attach --name csgo_osx64
Process 36482 stopped
* thread #1, name = 'MainThrd', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007ffa1f5758d6 AGXMetalG13X`___lldb_unnamed_symbol4108 + 2326
AGXMetalG13X`___lldb_unnamed_symbol4108:
-> 0x7ffa1f5758d6 <+2326>: mov dword ptr [rax + 4*rdx], esi
0x7ffa1f5758d9 <+2329>: sub rbx, r8
0x7ffa1f5758dc <+2332>: and rbx, r8
0x7ffa1f5758df <+2335>: add rdi, 0x8
Target 0: (csgo_osx64) stopped.
Executable module set to "/Users/aesophor/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/csgo_osx64".
Architecture set to: x86_64-apple-macosx-.
(lldb) expr void* $library = (void*)dlopen("/Users/aesophor/Code/Personal/havoc.cc/build/libHavoc.dylib", 10)
(lldb) detach
Process 36482 detached
(lldb) quit
After injecting the cheat, go back to CSGO again and you should see this floating GUI menu.
I do this:
what am i doing wrong?
It's path problem
(void*)dlopen("/Users/fcoremedi/build/libHavoc.dylib", 10)
I think it should be
(void*)dlopen("/Users/fcoremedi/Downloads/havoc/build/libHavoc.dylib", 10)
If you type the following commands one by one, then the above problem should go away.
cd
git clone git@github.com:aesophor/havoc.cc.git
cd havoc.cc
mkdir -p build
cd build
cmake ..
make
cd ..
# Launch csgo from steam, and then come back to your shell
./inject.sh
yeah, im trying to execute again this commands in terminal but I have this problem:
fatal: destination path 'havoc.cc' already exists and is not an empty directory. fcoremedi@Mac-Studio-de-Francisco ~ %
bro if you can give me your discord, gmail or something to help me it would be great :( I'm new in this script world... hope you understand... please! this is my discord fcoremedi#4121
Cloning into 'havoc.cc'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
# Remove that directory so that you can clone it again
rm -rf havoc.cc
# Clone it without ssh so that no more permission denied (publickey)
git clone https://github.com/aesophor/havoc.cc
okay bro now i have only a problem with this fcoremedi@Mac-Studio-de-Francisco build % cmake .. zsh: command not found: cmake
brew install cmake
If it says command not found: brew
then install brew with the following command. ref
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
now im here XD
Please follow the commands I gave you, carefully. You missed a cd
command.
cd
git clone git@github.com:aesophor/havoc.cc.git
cd havoc.cc <--- you missed this one
mkdir -p build
cd build
cmake ..
make
cd ..
# Launch csgo from steam, and then come back to your shell
./inject.sh
I think this is the final part.
sdl2
library with the x86_64 homebrew instead of the arm64 homebrew. Follow this article: https://gist.github.com/progrium/b286cd8c82ce0825b2eb3b0b3a0720a0arch -x86_64 /usr/local/bin/brew sdl2
cmake ..
command (where you left off)
Process 1329 stopped