- A PoC for calling FName::ToString externally.
-
FNameToStringEx is designed to take a different approach aiming to be more efficient and to avoid the instability caused by games updates, unlike other ways that are used commonly.
-
This PoC uses shellcode and was tested on fortnite (it should work on all ue4\5 games with minimal changes), The shellcode is a simple C++ function that calls FName::ToString internally. However, this project was setup with a fully automated workflow that avoids the need for writing assembly code and instead working with c++ directly.
-
To build the Main project, use Visual Studio\Code with C++23 support and compile on x64.
-
To build the Shellcode tool, Update the paths at Program.cs, build1.bat and build2.bat to yours, use Visual Studio\Code with C# support, install
Penet
through nuget package installer and compile on x64. -
To build the shellcode, Run the Shellcode tool you compiled yourself and it should print that it wrote the header file successfully, then recompile the main project.
- This project is licensed under the MIT License, You are allowed to use this project in any way you want with credit.