Unix Programming - c printf/variables content visible in compiled binary. How to hide

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > November 2007 > c printf/variables content visible in compiled binary. How to hide





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author c printf/variables content visible in compiled binary. How to hide
Benoit Lefebvre

2007-11-28, 7:34 pm

Ok.. maybe the subject is not 100% clear.

My problem is the following. I'm doing a little tool that generate a
text file.

The content of the text file is stored in a "const char *mycontent"

When I compile the program and I do "strings
compiled_program_binary".. I see the content of the "mycontent"
variable.

Is there any way to make sure it will not be visible when doing
'strings' ?

Thanks,
--Ben
dj3vande@csclub.uwaterloo.ca.invalid

2007-11-28, 7:34 pm

In article <dde51c0f-1f9d-46e2-b7e4-0612c96db31e@y5g2000hsf.googlegroups.com>,
Benoit Lefebvre <benoit.lefebvre@gmail.com> wrote:
>Ok.. maybe the subject is not 100% clear.
>
>My problem is the following. I'm doing a little tool that generate a
>text file.
>
>The content of the text file is stored in a "const char *mycontent"
>
>When I compile the program and I do "strings
>compiled_program_binary".. I see the content of the "mycontent"
>variable.
>
>Is there any way to make sure it will not be visible when doing
>'strings' ?


ROT13 it?
Who are you trying to hide it from, and why?


dave

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com