DonationCoder.com Software > Post New Requests Here
DONE: IDEA - encrypted-SFX-EXE to see secret text
f0dder:
Hm, re-saving to the exe "isn't possible" - or rather, it would require the use of temporary files. Would still be possible without too big security flaws by encrypting before saving the temporary file, but still...
mouser:
good point, you'd have to be clever about it since you can't overwrite a file in use, but it would be nice and convenient and so worth the trouble i think.
i would suggest something like this: you double click the file it just runs and displays the contents; nothing special.
you can then make changes and change pass if you want and choose 2 options, Save or Save As. If you choose Save As, it just creates a new encrypted exe file with a new name. If you choose Save, it should run some tricks to replace itself:
For example it could do something like this using commandline args to trigger.:
* create a temp file with some new temporary name with new contents
* exit the current program while launching new temporary one with special commandline arg of current filename
* the new temporary one wil overright the existing file with its own new content.
* the temporary one would then once again call the new replaced final exe with commandline arg to delete the temporary.
yes, it's a bit of work but not too hard, and would make a very nice standalone encrypted exe self-contained editor.
mouser:
i'll write this if no one else does.
dajo:
See if you can guess the secret password:
Go here:
http://www.fourmilab.ch/javascrypt/javascrypt.html
Paste this into the cyphertext text area:
##### Encrypted: decrypt with http://www.fourmilab.ch/javascrypt/
?b64ppoF2Qjx75p53FWQPzt+aMEP+qeGYQkPQY0RozBaF4jskRdOcivqBI0cFEyb
AU5pieatOUaWZCABIlWO3/nGqACqb+x2YGWwuYdqT/qcpro=?64b
##### End encrypted message
guess the password if you can, and hit the Decrypt button.
(This is my roundabout way of suggesting that javascript might do the trick)
AbteriX:
Thank you everybody, this is a great community :-)
But i think also that read only is enought.
How do you want to re-save and re-encrypt if you
only have the single EXE and not the hole programm on that other computer ?
Only way would be to put the hole application with the secret text in this SXF EXE ?
OK, this functions must not take more size than 3 - 5 kB,...
but is you need almost 1meg for this SXF EXE it would be too big for my issues.
But if this is possible i would suggest to use two passwords,
one for r/o and one for full access.
Pls keep in mind... that i don't want to let others modify my secret text, but (maybe) read them only.
Did anybody need help for this coding like source codes ?
Thank you all for your help!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version