C++ How to Hack Linux Games Tutorial
The much anticipated C++ How to Hack Linux Games Tutorial is here! @matthew99g will be walking us through the basics of making mods for Linux Games. His plan is to convert some of the common code and techniques from our Windows game tutorials into Linux variants. The idea is still the same, just the way you implement them for Linux is different.
Discussion thread:
https://guidedhacking.com/threads/c-linux-game-hacking-tutorial-external-1.13724/
If you're new to Linux coding please watch our beginner series on Linux C Programming. About half way through this video you'll think to yourself, hey this isn't so much different from Windows.
Timestamp
0:00 Introduction
0:26 Project setup
10:00 Getting PID by scanning proc dir
31:23 Writing WPM and RPM functions
This linux game hacking tutorial will teach you how to hack linux games. You can use the knowledge learned here to find offsets and make an aimbot for assault cube. Although it is not a c++ linux tutorial or trainer tutorial specifically, this linux tutorial provides the foundation for all these types of linux cheats. After completing this tutorial you will get an idea of how the linux cheatengine interacts with processes.
We start by creating the files for our project, then we include the required header files that will allow us to interact with other processes to make the cheat work. We also write a simple class for process management that stores the process name, its ID, handle and linux base address. These variables are essential for linux cheats and linux hacks.
The first function we write will get the process ID for the process given its name. In linux the way this is done is by iterating through the /proc directory, there each folder with a number as a name refers to a running process, and the files inside the folder contain information about the process like its name which is what we want. Basically we will parse all folders until we find the one that matches the target process name.
Finally we write the linux WriteProcessMemory and ReadProcessMemory functions. The way we write to memory is by writing to the /proc/pid/mem file. Specifically with the process handle we perform a seek operation on the mem file to set the address we wish to write to, then we call the write linux function to actually write to the memory of the target process. After we acquired the process id in the constructor we also open a file descriptor to the /proc/pid/mem file.
In this video you will learn to
Get the list of running processes
Find the game process id
Get the process base address
Read memory
Write memory
Unlimited ammo in Assault Cube
C++ How to Hack Linux Games Tutorial
https://guidedhacking.com/donate
https://patreon.com/guidedhacking
https://twitter.com/guidedhacking
https://facebook.com/guidedhacking
https://guidedhacking.com
Other Videos By Guided Hacking
Other Statistics
Counter-Strike: Source Statistics For Guided Hacking
At this time, Guided Hacking has 222,425 views for Counter-Strike: Source spread across 10 videos. The game makes up 3 hours of published video on his channel, roughly 2.79% of Counter-Strike: Source content that Guided Hacking has uploaded to YouTube.