I am trying to figure out the best way for my below requirment:
I run C compiled exe's and the command looks like these:
my_sample_exe -u=username -p=password -g=group -log=path_to_log_file
I have to provide these exe's to end users and give them the above command to run it. However, I dont want to give them the actual password in -p= argument (rather hide the actual password). what would be the best way to achieve this?
we developed the following alternative:
created a code specific to encryption decryption logic and we are recommending developers to reuse (copy) the same function in their codes. but not all exe's are developed by us! there are few cases we only have exe's but no access to code. in this case, we dont know what to do!
can you please help us achieve our goal of hiding password in -p argument for above command?