Hi all,
first thread in here.
I usually don't open my executables with any sort of editor, but for the sake of curiosity I've tried opening one. And what I've found is not that funny: I've found myself able to edit every kind of string. Of course you have not to malform the strings too much, but that's it.
How to avoid this? The first idea I've thought about was to split my strings up and merge them all at runtime, but this isn't of course convenient nor quick.
Do you have an idea on this?
.It.
0
Newbie Poster
Recommended Answers
Jump to PostYou could obscure the strings by changing the value of their characters.
Jump to Post>> Is that the only way to go?
I have no idea. I've never had the need.string[offset] -= 1;
Jump to PostI've seen the so-called obfuscators (google "C++ obfuscator") but I can't speak to their validity or effectiveness. A few I saw changed strings to their hex equivalent, but that will only get you so far.
Is there a connection string you don't want your end users to see? I …
Jump to PostI don't want others to edit my strings. It appears there's no easy solution for this, as I don't want any internet connection or such methods
Here's one (stand alone, without network etc.) way to do it; this might help to get you started. It assumes that all you are …
All 16 Replies
seanbp
4
Junior Poster
.It.
0
Newbie Poster
seanbp
4
Junior Poster
.It.
0
Newbie Poster
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
.It.
commented:
Good answer.
+1
Narue
5,707
Bad Cop
Team Colleague
.It.
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
.It.
0
Newbie Poster
VernonDozier
2,218
Posting Expert
Featured Poster
vijayan121
1,152
Posting Virtuoso
.It.
0
Newbie Poster
xmaster
0
Newbie Poster
haephrati
0
Newbie Poster
haephrati
0
Newbie Poster
overwraith
83
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.