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?
You could do any of these: 1) read the string from a file, 2) read the string from a database, 3) pass the string as a command line argument
How to not hardcode a String in a software?