seksea / gamesneeze

CS:GO cheat for linux with a basic gdb injector
http://i-am.sekc.me
MIT License
208 stars 53 forks source link

[Bug]: Game crash while injecting #121

Closed andleo17 closed 2 years ago

andleo17 commented 2 years ago

What happened?

The game just crash while injecting. The cheat worked correctly for 2 months, but after nothing it started crashing.

Relevant log output or backtraces.

0
[New LWP 5035]
[New LWP 5036]
[New LWP 5037]
[New LWP 5038]
[New LWP 5040]
[New LWP 5064]
[New LWP 5065]
[New LWP 5074]
[New LWP 5085]
[New LWP 5086]
[New LWP 5087]
[New LWP 5088]
[New LWP 5091]
[New LWP 5092]
[New LWP 5105]
[New LWP 5110]
[New LWP 5111]
[New LWP 5112]
[New LWP 5113]
[New LWP 5116]
[New LWP 5117]
[New LWP 5118]
[New LWP 5119]
[New LWP 5134]
[New LWP 5136]
[New LWP 5137]
[New LWP 5138]
[New LWP 5143]
warning: Could not load shared library symbols for bin/linux64/launcher_client.so.
Do you need "set solib-search-path" or "set sysroot"?
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
0x00007fcca80c2a95 in clock_nanosleep@GLIBC_2.2.5 () from /usr/lib/libc.so.6
Couldn't get registers: There is no process.
An error occurred while in a function called from GDB.
Evaluation of the expression containing the function
(dlopen) will be abandoned.
When the function is done executing, GDB will silently stop.
[LWP 5112 exited]
[LWP 5111 exited]
[LWP 5110 exited]
[LWP 5105 exited]
[LWP 5092 exited]
[LWP 5091 exited]
[LWP 5088 exited]
[LWP 5087 exited]
[LWP 5086 exited]
[LWP 5085 exited]
[LWP 5074 exited]
[LWP 5065 exited]
[LWP 5064 exited]
[LWP 5040 exited]
[LWP 5038 exited]
[LWP 5037 exited]
[LWP 5036 exited]
[LWP 5035 exited]
[LWP 5022 exited]
../../gdb/linux-nat.c:1481: internal-error: virtual void linux_nat_target::detach(inferior*, int): Assertion `num_lwps (pid) == 1' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

../../gdb/linux-nat.c:1481: internal-error: virtual void linux_nat_target::detach(inferior*, int): Assertion `num_lwps (pid) == 1' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
./toolbox.sh: line 55:  5227 Aborted                (`core' generated) $gdb -n -q -batch -ex "set auto-load safe-path /usr/lib:/usr/lib/" -ex "attach $csgo_pid" -ex "set \$dlopen = (void*(*)(char*, int)) dlopen" -ex "call \$dlopen(\"/usr/lib/$libname\", 1)" -ex "detach" -ex "quit"
GNU gdb (GDB) 9.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 5022
ptrace: There is no process.
dweee commented 2 years ago

What distro and version are you running, also have you upgraded packages since you last successfully injected? If so, do you recall the last time you did? Try to find out your package managers install/upgrade log file and post any system/library packages that were upgraded.

andleo17 commented 2 years ago

I use Arch btw. image

And i always update my system packages. The last time it worked was last week, I don't know exactly what day.

[2021-10-31T11:27:16-0500] [ALPM] installed libxcvt (0.1.1-1)
[2021-10-31T11:30:22-0500] [ALPM] reinstalled nvidia-utils (495.44-3)
[2021-10-31T11:30:22-0500] [ALPM] reinstalled nvidia (495.44-2)
[2021-10-31T12:44:26-0500] [ALPM] reinstalled linux (5.14.14.arch1-1)
[2021-10-31T12:44:27-0500] [ALPM] reinstalled linux-headers (5.14.14.arch1-1)
[2021-10-31T12:44:28-0500] [ALPM] reinstalled nvidia-utils (495.44-3)
[2021-10-31T12:44:28-0500] [ALPM] reinstalled nvidia (495.44-2)
[2021-10-31T12:59:14-0500] [ALPM] reinstalled nvidia (495.44-2)
[2021-10-31T13:00:03-0500] [ALPM] reinstalled nvidia (495.44-2)
[2021-10-31T13:00:50-0500] [ALPM] reinstalled nvidia-utils (495.44-3)
[2021-10-31T13:04:04-0500] [ALPM] reinstalled linux (5.14.14.arch1-1)
[2021-10-31T13:04:05-0500] [ALPM] reinstalled linux-headers (5.14.14.arch1-1)
[2021-10-31T13:04:41-0500] [ALPM] reinstalled nvidia-utils (495.44-3)
[2021-10-31T13:04:41-0500] [ALPM] reinstalled nvidia (495.44-2)
[2021-10-31T13:05:30-0500] [ALPM] reinstalled nvidia-utils (495.44-3)
[2021-10-31T13:05:30-0500] [ALPM] reinstalled nvidia (495.44-2)
[2021-10-31T13:05:56-0500] [ALPM] reinstalled linux (5.14.14.arch1-1)
[2021-10-31T13:05:57-0500] [ALPM] reinstalled linux-headers (5.14.14.arch1-1)
[2021-10-31T21:57:19-0500] [ALPM] installed figma-linux (0.9.2-0)
[2021-11-01T19:54:18-0500] [ALPM] installed unrar (1:6.0.7-1)
[2021-11-03T14:11:36-0500] [ALPM] installed cracklib (2.9.7-2)
[2021-11-03T14:11:36-0500] [ALPM] installed libpwquality (1.4.4-3)
[2021-11-03T14:11:36-0500] [ALPM] installed libdvdread (6.1.2-1)
[2021-11-03T14:11:36-0500] [ALPM] installed gnome-disk-utility (41.0-1)
[2021-11-04T09:50:36-0500] [ALPM] installed wget (1.21.2-1)
[2021-11-05T15:17:59-0500] [ALPM] installed http-parser (2.9.4-1)
[2021-11-05T15:17:59-0500] [ALPM] installed libgit2 (1:1.2.0-1)
[2021-11-05T15:17:59-0500] [ALPM] installed qt5-serialport (5.15.2-1)
[2021-11-05T15:18:00-0500] [ALPM] installed boost (1.76.0-1)
[2021-11-05T15:39:15-0500] [ALPM] installed fritzing (0.9.9-1)
[2021-11-05T19:18:46-0500] [ALPM] installed cdparanoia (10.2-8)
[2021-11-05T19:18:46-0500] [ALPM] installed libvisual (0.4.0-8)
[2021-11-05T19:18:46-0500] [ALPM] installed gst-plugins-base (1.18.5-1)
[2021-11-05T19:18:46-0500] [ALPM] installed qt5-multimedia (5.15.2-1)
[2021-11-05T19:18:46-0500] [ALPM] installed qt5-script (5.15.7-1)
[2021-11-05T19:18:46-0500] [ALPM] installed qt5-tools (5.15.2+kde+r17-3)
[2021-11-05T19:36:00-0500] [ALPM] installed simulide (0.4.15_SR7-2)
[2021-11-09T18:57:43-0500] [ALPM] installed xdg-desktop-portal-gtk (1.10.0-2)
[2021-11-09T18:57:43-0500] [ALPM] installed gst-plugins-bad-libs (1.18.5-3)
[2021-11-09T18:57:43-0500] [ALPM] installed gtk4 (1:4.4.1-1)
[2021-11-09T18:57:43-0500] [ALPM] installed libgxps (0.3.2-1)
[2021-11-09T18:57:43-0500] [ALPM] installed libspectre (0.2.9-2)
[2021-11-09T18:57:43-0500] [ALPM] installed djvulibre (3.5.28-3)
[2021-11-09T18:57:43-0500] [ALPM] installed t1lib (5.1.2-8)
[2021-11-09T18:57:43-0500] [ALPM] installed libsynctex (2021.58686-3)
[2021-11-09T18:57:43-0500] [ALPM] installed gspell (1.8.4-1)
[2021-11-09T18:57:43-0500] [ALPM] installed evince (41.2-1)
[2021-11-09T18:57:43-0500] [ALPM] installed xdg-desktop-portal-gnome (41.1-1)
[2021-11-09T20:56:04-0500] [ALPM] installed neofetch (7.1.0-2)
[2021-11-14T11:20:59-0500] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2021-11-19T19:26:55-0500] [ALPM] installed tor (0.4.6.8-1)
[2021-11-19T19:28:46-0500] [ALPM] installed tor-browser (11.0.1-1)
[2021-11-21T00:07:25-0500] [ALPM] installed htop (3.1.1-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kwidgetsaddons (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kconfig (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kcompletion (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kcoreaddons (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed polkit-qt5 (0.114.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kauth (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kcodecs (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kguiaddons (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed ki18n (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kconfigwidgets (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed sonnet (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed cdparanoia (10.2-8)
[2021-11-21T13:25:18-0500] [ALPM] installed libvisual (0.4.0-8)
[2021-11-21T13:25:18-0500] [ALPM] installed gst-plugins-base (1.18.5-1)
[2021-11-21T13:25:18-0500] [ALPM] installed qt5-multimedia (5.15.2-1)
[2021-11-21T13:25:18-0500] [ALPM] installed qt5-speech (5.15.2-1)
[2021-11-21T13:25:18-0500] [ALPM] installed ktextwidgets (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kwindowsystem (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed knotifications (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kitemviews (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed karchive (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kiconthemes (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kdbusaddons (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kservice (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kwallet (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed libksane (21.08.3-1)
[2021-11-21T13:25:18-0500] [ALPM] installed media-player-info (24-2)
[2021-11-21T13:25:18-0500] [ALPM] installed solid (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kjobwidgets (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kcrash (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kglobalaccel (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kxmlgui (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kbookmarks (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kded (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kio (5.88.0-1)
[2021-11-21T13:25:18-0500] [ALPM] installed kolourpaint (21.08.3-1)
[2021-11-21T13:29:11-0500] [ALPM] installed libgdiplus (5.6.1-3)
[2021-11-21T13:29:12-0500] [ALPM] installed mono (6.12.0.122-1)
[2021-11-21T13:29:12-0500] [ALPM] installed gtk-sharp-2 (2.12.45-4)
[2021-11-21T13:29:12-0500] [ALPM] installed mono-addins (1.3.3-3)
[2021-11-21T13:29:12-0500] [ALPM] installed pinta (1.7.1-1)
[2021-11-23T20:00:29-0500] [ALPM] installed chromaprint (1.5.0-3)
[2021-11-23T20:00:29-0500] [ALPM] installed cfitsio (1:4.0.0-1)
[2021-11-23T20:00:29-0500] [ALPM] installed hwloc (2.5.0-1)
[2021-11-23T20:00:30-0500] [ALPM] installed openmpi (4.1.1-3)
[2021-11-23T20:00:30-0500] [ALPM] installed fftw (3.3.10-1)
[2021-11-23T20:00:30-0500] [ALPM] installed libgsf (1.14.47-1)
[2021-11-23T20:00:30-0500] [ALPM] installed libimagequant (2.17.0-1)
[2021-11-23T20:00:30-0500] [ALPM] installed imath (3.1.3-1)
[2021-11-23T20:00:30-0500] [ALPM] installed openexr (3.1.3-1)
[2021-11-23T20:00:30-0500] [ALPM] installed libvips (8.11.4-1)
[2021-11-23T20:00:30-0500] [ALPM] installed python2 (2.7.18-5)
[2021-11-23T20:00:30-0500] [ALPM] installed python2-six (1.16.0-1)
[2021-11-23T20:00:30-0500] [ALPM] installed python2-scandir (1.10.0-3)
[2021-11-23T20:00:30-0500] [ALPM] installed python2-pathlib2 (2.3.6-1)
[2021-11-23T20:01:43-0500] [ALPM] installed alltomp3-bin (0.3.19.66-1)
[2021-11-23T21:43:21-0500] [ALPM] installed python-typing_extensions (3.10.0.2-2)
[2021-11-23T21:43:21-0500] [ALPM] installed python-future (0.18.2-5)
[2021-11-23T21:43:21-0500] [ALPM] installed python-commonmark (0.9.1-3)
[2021-11-23T21:43:21-0500] [ALPM] installed python-rich (10.14.0-1)
[2021-11-23T21:43:21-0500] [ALPM] installed blas (3.10.0-1)
[2021-11-23T21:43:21-0500] [ALPM] installed cblas (3.10.0-1)
[2021-11-23T21:43:21-0500] [ALPM] installed lapack (3.10.0-1)
[2021-11-23T21:43:21-0500] [ALPM] installed python-numpy (1.21.2-1)
[2021-11-23T21:43:21-0500] [ALPM] installed python-mutagen (1.45.1-4)
[2021-11-23T21:43:21-0500] [ALPM] installed python-pycryptodomex (3.10.1-1)
[2021-11-23T21:43:21-0500] [ALPM] installed python-websockets (9.1-1)
[2021-11-23T21:43:21-0500] [ALPM] installed yt-dlp (2021.11.10.1-1)
[2021-11-23T21:43:21-0500] [ALPM] installed python-tqdm (4.62.3-1)
[2021-11-23T21:43:21-0500] [ALPM] installed python-soupsieve (2.2.1-2)
[2021-11-23T21:43:21-0500] [ALPM] installed python-beautifulsoup4 (4.9.3-4)
[2021-11-23T21:43:21-0500] [ALPM] installed python-unidecode (1.3.2-1)
[2021-11-23T21:43:28-0500] [ALPM] installed python-spotipy (2.19.0-1)
[2021-11-23T21:43:34-0500] [ALPM] installed python-pytube (11.0.1-1)
[2021-11-23T21:44:26-0500] [ALPM] installed python-rapidfuzz (1.8.3-1)
[2021-11-23T21:44:32-0500] [ALPM] installed python-ytmusicapi (0.19.4-1)
[2021-11-23T21:44:39-0500] [ALPM] installed python-spotdl (3.9.0-3)
[2021-11-24T12:17:29-0500] [ALPM] installed liburcu (0.13.0-1)
rolexlinux commented 2 years ago

@andleo17 Downloading this with pacman -U and rebooting fixed it https://archive.archlinux.org/packages/l/linux/linux-5.13.13.arch1-1-x86_64.pkg.tar.zst

rolexlinux commented 2 years ago

its basically downgrading the kernel

andleo17 commented 2 years ago

Thank you very much, it works for me! Although what I did was download the LTS version of the kernel. Anyway, thank you very much.

n0k0m3 commented 2 years ago

@andleo17 can you reopen this issue? I need this to work with 5.15 kernel bc I need the NTFS3 kernel driver and BTRFS optimization in 5.14. There should be a better way to resolve this rather than downgrade kernel

n0k0m3 commented 2 years ago

Update: Every kernels till 5.14.16 worked

Update 2: 5.15.2 works but 5.15.3 doesn't

Update 3: Holy f*ck the changelog from 5.15.2 to 5.15.3 is loaded af https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/?id=v5.15.3&id2=v5.15.2&dt=2

Imagine Linus Torvalds told devs "pls don't break userspace" then proceed to do so :/

seksea commented 2 years ago

this issue is fixed on most up to date arch kernel