aesophor / havoc.cc

🍬 CS:GO cheat for macOS 13.0+ (x86_64/M1). Glow, aimbot, triggerbot, autowall, antiaim, autostrafe, knife changer.
https://youtu.be/gO5AbZil50s
7 stars 1 forks source link

process 1329 stopped error #2

Open fcoremedi opened 1 year ago

fcoremedi commented 1 year ago

Process 1329 stopped

aesophor commented 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.

Screenshot 2023-01-24 at 8 25 48 AM
fcoremedi commented 1 year ago

Captura de pantalla 2023-01-24 a la(s) 01 17 09

I do this:

what am i doing wrong?

aesophor commented 1 year ago

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
fcoremedi commented 1 year ago

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

fcoremedi commented 1 year ago

Cloning into 'havoc.cc'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

aesophor commented 1 year ago
# 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
fcoremedi commented 1 year ago

okay bro now i have only a problem with this fcoremedi@Mac-Studio-de-Francisco build % cmake .. zsh: command not found: cmake

aesophor commented 1 year ago

brew install cmake

aesophor commented 1 year ago

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)"
fcoremedi commented 1 year ago

Captura de pantalla 2023-01-24 a la(s) 02 43 08

now im here XD

aesophor commented 1 year ago

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
fcoremedi commented 1 year ago

Captura de pantalla 2023-01-24 a la(s) 03 23 47

aesophor commented 1 year ago

I think this is the final part.

  1. Since we are compiling the cheat as a x86_64 shared library and then run it with rosetta2 on arm64, we'll need to install sdl2 library with the x86_64 homebrew instead of the arm64 homebrew. Follow this article: https://gist.github.com/progrium/b286cd8c82ce0825b2eb3b0b3a0720a0
  2. After step 1, you'll get two versions of homebrew sitting simultaneously on your mac:
    • x86_64 homebrew
    • arm64 homebrew
  3. Run
    • arch -x86_64 /usr/local/bin/brew sdl2
  4. Continue from the cmake .. command (where you left off)