Password Guessing + Accessing command + writing to a file

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jul 2008
Posts: 45
Reputation: killdude69 is an unknown quantity at this point 
Solved Threads: 1
killdude69 killdude69 is offline Offline
Light Poster

Re: Password Guessing + Accessing command + writing to a file

 
1
  #11
May 30th, 2009
Originally Posted by William Hemsworth View Post
Nah, a text file is fine, so long as you ensure than any modifying of the file will not be accepted, and an encryption is used. Saving it somewhere else will just make it slightly harder to find, but once it has been found... then what?
But if you are using text files in the first place then you can expect them to be found. Setting it to read-only would make it to where you couldn't edit them either, as for an encryption, yes, that would work. But it doesn't seem completely right to protect a password with a password, because what password would you use to protect that password, and for that one, and so on.

But yeah, I don't think that an encryption would need any such additional maintenance.

Also, that is why you make it pretty much impossible to find, make a series of folders with numbers in the name as well as in the filename, so the user will not know what name to search for, it could look like:

D:
--->foldnm[1003388]
------->foldnm[97643]
----------->filenm[0773].txt
------->foldnm[97378]
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 22
Reputation: jdm is an unknown quantity at this point 
Solved Threads: 0
jdm jdm is offline Offline
Newbie Poster

Re: Password Guessing + Accessing command + writing to a file

 
0
  #12
Jun 2nd, 2009
Sorry, I meant I instead of we. I don't know why I typed that. The text file will be secure, but I'm not doing encryption. I'm making a folder and then renaming it so that it will act like the control panel when clicked upon.

That is my plan at least. Thanks for the help.

jdm
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 390
Reputation: skatamatic will become famous soon enough skatamatic will become famous soon enough 
Solved Threads: 39
skatamatic skatamatic is offline Offline
Posting Whiz

Re: Password Guessing + Accessing command + writing to a file

 
0
  #13
Jun 2nd, 2009
To make it a more secure method, you could do a binary write to the file with the time of day (in clock ticks) that the file was written, the number of guesses that occured, and a strange binary combination of the two (AND with time of day + binary shift once left then XOR with time of day). This way if anyone tampers with the file, this coded number will not be correct, and is sort of a 'keyed' encryption. This will require a hex viewer to read in the binary data, as well as a fair bit of reverse engineering to guess the algorithm! Happy coding!
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 22
Reputation: jdm is an unknown quantity at this point 
Solved Threads: 0
jdm jdm is offline Offline
Newbie Poster

Re: Password Guessing + Accessing command + writing to a file

 
0
  #14
Jun 2nd, 2009
Thanks for the help, but this program isn't going that far. It is meant to be a fun program, but certain areas like typing debug and getting the source code will have this. For the most part it is a fun app. Thanks for all of the help and suggestions. I appreciate it a lot.

Sincerely yours;

jdm
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC