ImperatorToCK3
ImperatorToCK3 copied to clipboard
Convert subjects as vassals
https://imperator.paradoxwikis.com/Subject_nations https://ck3.paradoxwikis.com/Vassals
https://forum.paradoxplaza.com/forum/threads/imperator-to-ck3-release-thread.1415172/post-28441712 https://forum.paradoxplaza.com/forum/threads/imperator-to-ck3-release-thread.1415172/post-28442887
In the save:
diplomacy={
...
dependency={
first=90
second=709
start_date=1.1.1
subject_type="satrapy"
seed=0
}
}
first
is the overlord country ID. second
is the subject country ID.
I:R subject types are defined in common\subject_types
.
We can't upload files since there's no filesystem on these devices. However, we can write arbitrary data directly to memory and execute that. The problem is that the code you write must be self contained or, if it uses external functions, it must have a way to find or know the location of such functions. Since there's no address space randomization, the location of external functions such as printf will be the same every time.
The purpose of that define is to let the compiler/linker know the address of printf in memory, so when the code calls printf it will jump to the right address during runtime. You can see the actual addresses for the Nebula 300 plus here: https://github.com/infobyte/cve-2022-27255/blob/main/exploits_nexxt/exploit_custom_command_injector/main.c#L4