[Mod/Hackjob/POC] ultra_key_2000 [ultra_key_2000]

Post Reply
User avatar
jordan4ibanez
Member
Posts: 1926
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

[Mod/Hackjob/POC] ultra_key_2000 [ultra_key_2000]

by jordan4ibanez » Post

So for a long time I've watched people ask the question: "how do we bind any key to anything in my mod?!"

I finally broke when I misunderstood someone vaguely asking a question again about this. I found a solution.

Is it good? Absolutely not. In fact, you should never run this on your system ever.

But it is sure was fun to make and fun to look at. I had to reverse engineer the network protocol by poking at it because that portion of the codebase is almost unintelligible.

An extreme warning: NEVER RUN THIS ON YOUR SYSTEM. But you can look at it.

This is a controlled keylogger and client (your own) injection attack to spoof it to thinking it's getting information from a server mod channel.

It is broken into 3 parts:

1.) A server mod.

2.) A client mod.

3.) A python script.

It functions as so:

1.) Server starts with mod, creates mod channel.

2.) Client joins server, fires up client mod, joins mod channel.

3.) Server will never send any data over that mod channel, it is a receiver only.

4.) You start the python script and it logs literally every keystroke you make.

5.) In the loop, when the script is done sleeping, it serializes the keystroke data and spoofs a udp packet to your client coming from the server into the modchannel intake. It then clears the keystroke data and begins a new recording loop.

6.) Your client then reflects this information out into the server modchannel.

7.) The server decodes this information, and this can now (technically) be used for mods to create a fully customized keybinding menu for literally any key.

Here is the github: https://github.com/jordan4ibanez/ultra_key_2000

Please look, but do not run. (Especially because you have to run this with elevated permissions or hackjobs in python to create ports)

License: MIT
gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble

User avatar
Blockhead
Moderator
Posts: 2263
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [Mod/Hackjob/POC] ultra_key_2000 [ultra_key_2000]

by Blockhead » Post

This is one of the worst ideas I've seen published in a while, especially since it probably doesn't respect window focus. Good job!
Last edited by Blockhead on Sun Oct 06, 2024 05:07, edited 1 time in total.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

User avatar
jordan4ibanez
Member
Posts: 1926
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [Mod/Hackjob/POC] ultra_key_2000 [ultra_key_2000]

by jordan4ibanez » Post

Blockhead wrote:
Sun Oct 06, 2024 03:14
This is one of the worst ideas I've seen published in a while, especially since it probably doesn't respect window focus. Good job!
Thanks! 8)
gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble

Post Reply