I'm wondering how it's possible to not hard-code a string, for example, an IP in some software, or in remote connection software.
I heared about a Cyber Security Expert which found the IP of someone who was hacking people in hes software, and with that they tracked him.
So, how can I avoid hardcoding my IP in to the software, and how do people find my IP if I do hardcode it?
If you want to hide it, Encrypt it, you see this alot on github where people accidently post their aws keys or what not to github because they didnt use it as a "secret".
always encrypt important data, never use hardcoded values like ip as this can easily be changed, some sort of dns resolver can help to keep you on route.
in this specific case you mentioned using a DNS to point to a proxy will help to mask the endpoint ip.
How to not hardcode a String in a software?