R3CTF - h1de@ndSe3k 2 Writeup
Author: Ernesto Martínez GarcíaTags: r3ctf ctf misc
This is a second stage of the “hidenandseek” R3CTF challenge.
In this case we have that ben, the NPC with the flag:
- Is invisible
- Randomly teleports between (0, -50, 0) (512, 50, 512)
- newtp only works in “ben’s range”
The main issue is that the teleportation range is much wider now, we can’t have many tries. Sitting there and waiting for ben to appear wasted some time, he only spawned a few times and was too far away.
Randomly teleporting between places wasn’t also much better, ben just dispawns (he might have spent there 5 seconds, so you have even less time now).
Also, as ben tends to suffocate in cobblestone, you can’t see the flat (you would have to teleport and mine a block).
What I did was modifying the cheated minecraft client source code to automatically teleport when Ben appears. Also I enabled a few extra helpers such as F5 camera modifications and the most important one, X-ray. Seems that with xray and third person mode you can see the tag even if we are both suffocating in cobblestome.
So I modified the onRender
call of the ESP/Tracer functionality of Meteor to
send a chat message that teleports. Be careful to only do it once as the server
(Paper) would ban you for spamming:
|
|
Then I just waited some time in third person view till I got teleported: