Minecraft injection client, started as a UDP-CPP port for linux

Overview

Phantom

Fully C++ Minecraft injection client for linux. Mapping code is based off of UDP, and Dear ImGui is used for the window, but the cheats and stuff are my own.

Different MC Versions

By default, Phantom is configured to build for version 1.8.9 forge. If you want other versions, edit the Mapping.cpp file in the src/mappings directory.

Building

To build, make sure you have cmake installed, as well as a JDK. I was having issues with openjdk 1.8, I would recommend installing the latest version of openjdk. CMake will automatically find the files associated and link with them. You also need the development headers for SDL2 and OpenGL.

Injecting into Minecraft

To inject, you need some form of shared object / dll injector for linux. I use injector.

Comments
  • Incompability issues with LabyMod

    Incompability issues with LabyMod

    Upon trying to inject the process the following error returns:

    The target process unexpectedly stopped by signal 11.

    System Specs:

    • Kernel: 5.13.0-35-generic
    • GPU: NVIDIA GeForce GTX 1060 6GB, Drivers: Proprietary 470.103.01-0ubuntu0.20.04.1
    • CPU: AMD Ryzen 5 5600X (12) @ 3.700G

    Minecraft Setup:

    • Launcher: MultiMC 5 Version 0.6.14-2998
    • Forge Version: 11.15.1.2318
    • Java Version: OpenJDK 64-Bit Server VM version 1.8.0_312
    opened by real-F-00 5
  • Crashes On Inject

    Crashes On Inject

    Eh i think im doing something wrong but i am clueless at this point, even getting the libraries was a challenge for me, could someone help me please? This is minecraft's crash report https://www.toptal.com/developers/hastebin/pebinitagi.yaml

    opened by libramatyas 3
  • CMakeLists.txt

    CMakeLists.txt

    image This seems like a massive pain to do! you can do some automated things in cmake:

    src/*.c*
    

    this will fetch any files in src/ with any title and the extensions starting with .c* ie .cpp and cc and .c now you can also fetch folders inside folders

    src/*/*.c*
    src/*/*/*.c*
    src/*/*/*/*.c*
    

    and so on to how many paths it goes in I'm pretty sure theres a way to do looping in cmake directories but I'm quite new I just thought it would be more nicer not having to set every files name

    Side note, since you're including .h files you could just do *.*

    I'm sorry I haven't made a pull request for this, when I'm free and remember I will! :)

    opened by Spedzay 2
  • Error while trying to launch the injector

    Error while trying to launch the injector

    Everytime i run the injector i get this error:

    ./Phantom_Injector: /lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by ./Phantom_Injector) ./Phantom_Injector: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.32' not found (required by ./Phantom_Injector) ./Phantom_Injector: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by ./Phantom_Injector) ./Phantom_Injector: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.34' not found (required by ./Phantom_Injector)

    How do i fix this?

    opened by MistyySoEpic 2
  • crash on injection

    crash on injection

    Game crashes on injection. Minecraft 1.8.9 Forge OS: Artix Linux x86_64 Kernel: 5.16.10-artix1-1 WM: dwm

    injecting with linux-inject, getting error ptrace(PTRACE_POKETEXT) failed

    Minecraft Error:

    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  SIGSEGV (0xb) at pc=0x00000000417d2008, pid=32083, tid=0x00007f14f103e3c0
    #
    # JRE version: OpenJDK Runtime Environment (8.0_312-b10) (build 1.8.0_312-b10)
    # Java VM: OpenJDK 64-Bit Server VM (25.312-b10 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C  0x00000000417d2008
    #
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    #
    # An error report file with more information is saved as:
    # /home/luke/.local/share/multimc/instances/1.8.9/.minecraft/hs_err_pid32083.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.java.com/bugreport/crash.jsp
    #
    Process crashed with exitcode 6.
    
    opened by LucasRitossa 2
  • display glitch

    display glitch

    when i inject the client it glitches my display going blank for a secend and going back when i move my mouse and after all my windows animations are gone till i close it and it does this image

    opened by Brudderbot 1
  • CMakeLists.txt and GitHub Actions

    CMakeLists.txt and GitHub Actions

    Whats new?:

    CMake and Folders

    • CMakeLists, now instead of manually having to add new files and directories it just searches through your src/ folder for files.
    • I also moved vendor into it's own directory as if it was in src/ it would compile all of the ImGui files and libs (vulkan, glfw, sdl2, etc) we only want the sdl2 ones so it's all setup that way
    • Added ImGui to the public include directories so you can access it through #include <imgui.h> for example

    GitHub Actions

    • Added GitHub actions support, to get rid of it if you don't like the emails from build fails or any other reason you can just remove the .github directory
    • It shows if builds fail or succeed, I've set up all the required things but if you introduce new dependancies make sure to add them into the cmake.yml image

    If you have any questions or want me to change anything or would like to deny this pull request just @spedzay and I'll get around to reading it :+1:

    https://github.com/SomePineaple/Phantom/issues/6 Original Issue

    opened by Spedzay 1
  • Crashes minecraft and imgui when eitther one of the mouse or keybord selections are invalid

    Crashes minecraft and imgui when eitther one of the mouse or keybord selections are invalid

    If you try to open a map when the input devices are invalid i.e. probably not in the list of input devices /dev/input/by-id/*-kbd, the game will crash with an unknown error as well as the imgui "Phantom Injector" window that opens upon a successful injection. I'm gonna try to make a pr to select an input device from a key press or button click since it would fix the issue and make it more user friendly.

    opened by aymey 0
  • Menu Suggestion

    Menu Suggestion

    Pretty cool; I've not tested the cheat because I use Windows and don't play anymore, but improvements on the menu would be nice: e.g. image buttons.

    Maybe make menu internal with OpenGL swap-buffer trampoline hook (dunno if it's done the same for linux), looks better imo.

    I made my own similar cheat but for windows, here is a shitty alpha version I put on github. Cool stuff.

    opened by NathanW-05 2
Releases(b0.2.3)
Owner
Some Pineaple
Some Pineapple is usually taken soo SomePineaple it is :)
Some Pineaple
Linux x86_64 Process Injection Utility | Manipulate Processes With Customized Payloads (beta)

K55 - Linux x86_64 Process Injection Utility (C++11) About K55 (pronounced: "kay fifty-five") The K55 payload injection tool is used for injecting x86

Josh Schiavone 57 Sep 5, 2022
Arduino sample code to help you get started using the Soracom IoT Starter Kit!

Soracom IoT Starter Kit The Soracom IoT Starter Kit includes everything you need to build your first connected device. It includes an Arduino MKR GSM

Soracom Labs 13 Jul 30, 2022
Learn how to connect your Flexispot (LoctekMotion) desk to the internet. This repository contains a collection of scripts to get your started, combined with research and instructions.

(image source: Windows Central) Turn your LoctekMotion/FlexiSpot desk into a smart desk Recently I acquired a new standing desk from FlexiSpot. During

Mick Vleeshouwer 216 Dec 28, 2022
Getting started with uefi

Hello UEFI 此项目是uefi入门实践指导,因为我也是一路踩坑踩过来,所以想要记录一下。 UEFI开发环境搭建非常的复杂。 linux和windows和其他操作系统上都可以编译,这里主要讲windows。 此项目完成的效果仅仅是使用我们开发的uefi模块,在vmware上测试,并在shell

0000000000 2 Nov 8, 2021
Lets be creative this hacktober fest. Get started with contributing to open source.

Be Creative this Hacktoberfest 2021 Lets be creative this hacktober fest. Get started with contributing to open source. ?? Web-Ideas ?? How Can I Cont

B L A C K F U R Y 17 Oct 31, 2022
Just getting started with Data Structure and Algorithms? Make your first contribution here and start the journey of learning DSA.

Getting Started ! ✨ If you are just beginning with open source then let's make your first contribution in this repository ! Contributing Tutorial ?? P

amega 3 Apr 18, 2022
A repo for helping people get started with Competitive Programming and Data Structures & Algorithms

Hack CP DSA Update regarding hacktoberfest: please refer this announcement Wanna improve your problem solving skills ❓ Wanna practice collaborating on

TLE MEC 177 Dec 21, 2022
It's a simple and free x86_64 architecture operating system created by one person, GoofOS started since 2022

This project is while developing... GoofOS GoofOS is a text operating system for x86 computers. About This is a 32 bit x86_64 graphical operating syst

null 3 May 1, 2022
A Walkie-Talkie based around the ESP32 using UDP broadcast or ESP-NOW

Overview We've made a Walkie-Talkie using the ESP32. Explanatory video Audio data is transmitted over either UDP broadcast or ESP-NOW. So the Walkie-T

atomic14 259 Dec 31, 2022
minecraft bedrock edition structure finder

Minecraft Bedrock Structure Finder Minecraft bedrock edition structure finders(updating) Progress WorldSpawn Village, Stronghold, Mineshaft, DesertTem

AgNO3 17 Sep 12, 2022
Reading ADC of NodeMCU and sending data to QT Application over UDP

QT-NodeMCU-Application Reading ADC of NodeMCU and sending data to QT Application over UDP The following program should be used to run Lua Script: http

Akif Aydogmus 1 Nov 18, 2021
The Kernel-Mode Winsock library, supporting TCP, UDP and Unix sockets (DGRAM and STREAM).

libwsk 简体中文 About libwsk is a wrapper for the WSK (Winsock-Kernel) interface. With libwsk, kernel-mode software modules can perform network I/O operat

MeeSong 149 Dec 28, 2022
A biome finder adapted from cubiomes intended for structure finding in Minecraft Bedrock 1.7

A biome finder adapted from cubiomes intended for structure finding in Minecraft Bedrock 1.7. This will work from 1.7 all the way up to 1.14.

Luke7720 2 Jun 11, 2022
🦘 A dependency injection container for C++11, C++14 and later

kangaru ?? Kangaru is an inversion of control container for C++11, C++14 and later. It provides many features to automate dependency injection and red

Guillaume Racicot 368 Jan 3, 2023
a undetectable tool by modify odyssey, support sign disable & dylib injection, test on iphoneX(13.5.1 expolit by FreeTheSandbox), our qqgroup is 703156427

a undetectable ios root access tool by modify odyssey, support sign disable & dylib injection, test on iphoneX(13.5.1 expolit by FreeTheSandbox), our

null 58 Nov 22, 2021
Transacted Hollowing - a PE injection technique, hybrid between ProcessHollowing and ProcessDoppelgänging

Transacted Hollowing Transacted Hollowing - a PE injection technique. A hybrid between Process Hollowing and Process Doppelgänging. More info here Cha

hasherezade 430 Dec 24, 2022
Process Ghosting - a PE injection technique, similar to Process Doppelgänging, but using a delete-pending file instead of a transacted file

Process Ghosting This is my implementation of the technique presented by Gabriel Landau: https://www.elastic.co/blog/process-ghosting-a-new-executable

hasherezade 514 Jan 3, 2023
Code Injection, Inject malicious payload via pagetables pml4.

PageTableInjection Code Injection, Inject malicious payload via pagetables pml4. Introduction This is just a proof-of-concept of the page table inject

Kento Oki 179 Nov 28, 2022
Cobalt Strike BOF - Bypass AMSI in a remote process with code injection.

Cobalt Strike BOF - Inject AMSI Bypass Cobalt Strike Beacon Object File (BOF) that bypasses AMSI in a remote process with code injection. Running inje

boku 307 Dec 28, 2022