Today just some fun stuff with ASM, probably not the most recommended way to do things but for sure the most geeky way 😛

Get the Current Session Id:

Get the Current Console Session Id:

And… if we can read it we can also write it?


You can safely try it since it of course affects the current process only, so don’t worry.

And perhaps more usefull