| Tool to encrypt or decrypt log files | 
| Author: | Message: | 
| Flamer46 New Member
 
  
 
 Posts: 1
 Joined: Sep 2008
 
 | | RE: Tool to encrypt or decrypt log files Ok guys, I need help. When I try to decrypt a log file I get the following message:
 An error occured opening the file. Possible reason: File doesn't exist
 
 I have tried a few times. I moved the log file to the same folder as the program, hoping it would help. I have checked the permissions just in case those were the problem. I still can't fix this.
 Please help
 
 
 | 
 | 
| 09-07-2008 04:03 PM |  | 
|  | 
| rullen New Member
 
  
 
 Posts: 2
 Joined: Sep 2009
 
 | | RE: Tool to encrypt or decrypt log files I have lots of encrypted files. Is it possible somehow to loop through folders of files with your tool to decrypt logs?
 It would be awesome!
 | 
 | 
| 09-24-2009 03:06 PM |  | 
|  | 
| matty Scripting Guru
 
      
 
 Posts: 8327
 Reputation: 109
 40 /
  /  Joined: Dec 2002
 Status: Away
 
 | | RE: Tool to encrypt or decrypt log files That tool no unfortunately not. It doesn't look like it accepts command line parameters. 
This script will do what you need it to do however [Release] Log Manager - Version 1.1.008This post was edited on 09-24-2009 at 03:32 PM by matty.
 | 
 | 
| 09-24-2009 03:32 PM |  | 
|  | 
| CookieRevised Elite Member
 
      
 
  
 Posts: 15494
 Reputation: 173
 – /
  /  Joined: Jul 2003
 Status: Away
 
 | | RE: Tool to encrypt or decrypt log files quote:Originally posted by rullen
 I have lots of encrypted files. Is it possible somehow to loop through folders of files with your tool to decrypt logs?
 
 It would be awesome!
 
 For a quick and simple tool to automatically decrypt or encrypt everything in a folder including subfolders  see:
CookieRevised's reply to About uncrypting logs (i've got password!)
of course you must know the password(s) quote:But AFAIK/IIRC, it can not decrypt/encrypt all the files in subfolders automatically. You must manualy navigate to each subfolder and select all the files first.Originally posted by matty
 This script will do what you need it to do however [Release] Log Manager - Version 1.1.008
 
 
 Though, I might be wrong since it has been a very long time since I used that script.
This post was edited on 09-25-2009 at 01:55 AM by CookieRevised.
 .-= A 'frrrrrrrituurrr' for Wacky =-. | 
 | 
| 09-25-2009 01:43 AM |  | 
|  | 
| rullen New Member
 
  
 
 Posts: 2
 Joined: Sep 2009
 
 | | RE: RE: Tool to encrypt or decrypt log files quote:Originally posted by matty
 This script will do what you need it to do however [Release] Log Manager - Version 1.1.008
 
 Thanks! It is perfect. Now I just need to select folders! | 
 | 
| 09-28-2009 08:51 AM |  | 
|  | 
| Dythor New Member
 
  
 
 Posts: 2
 Joined: Mar 2010
 
 | | RE: Tool to encrypt or decrypt log files Alright, I have a very basic and noobish question... How do I run the script? 
Thanks in advance. 
 quote:Originally posted by CookieRevised
 
 
 It is not possible. period.
 
 
How do hackers make their way in despite password-protected systems then? Don't they use scripts or something? We all have the image of a hack bot inside our heads, there must be something? Or they just social engineer their way into being told the password by the one who knows it? | 
 | 
| 03-22-2010 08:24 PM |  | 
|  | 
| CookieRevised Elite Member
 
      
 
  
 Posts: 15494
 Reputation: 173
 – /
  /  Joined: Jul 2003
 Status: Away
 
 | | RE: RE: Tool to encrypt or decrypt log files quote:Originally posted by Dythor
 Alright, I have a very basic and noobish question... How do I run the script?
 
 What script do you mean?
 quote:Originally posted by Dythor
 How do hackers make their way in despite password-protected systems then? Don't they use scripts or something? We all have the image of a hack bot inside our heads, there must be something?
 
 Yes, they often use automated processes. But each protection scheme is different and requires different tools and/or methods. Brute forcing (what you refer to) is only rarely successfull and it can only be used in certain cases (eg: a very weak password was used).
 quote:Originally posted by Dythor
 Or they just social engineer their way into being told the password by the one who knows it?
 
 That is indeed, by far, the most used way... together with reverse engineering where possible....-= A 'frrrrrrrituurrr' for Wacky =-. | 
 | 
| 03-23-2010 12:53 AM |  | 
|  | 
| Dythor New Member
 
  
 
 Posts: 2
 Joined: Mar 2010
 
 | | RE: Tool to encrypt or decrypt log files So you are suggesting that the top hackers of the world can't break into my .ple files without knowing the password? I'm not being ironic, I'm just trying to figure out how tragic my situation is because I really miss those logs   | 
 | 
| 03-31-2010 08:35 PM |  | 
|  | 
| CookieRevised Elite Member
 
      
 
  
 Posts: 15494
 Reputation: 173
 – /
  /  Joined: Jul 2003
 Status: Away
 
 | | RE: Tool to encrypt or decrypt log files quote:Originally posted by Dythor
 So you are suggesting that the top hackers of the world can't break into my .ple files without knowing the password? I'm not being ironic, I'm just trying to figure out how tragic my situation is because I really miss those logs
  
 The top hackers in this world have dedicated machines to their disposal. But those machines only do what your computer is able to do. They aren't things which can break stuff by magic, they only can do calculations faster.
 
So, depending on the strength of the password, it would take a lot of their time too as they still would need brute force tools... unless someone finds a loophole in the Windows Cryptography APIs. But that is very doubtfull as those routines are created and updated especially to be inreversible without knowing the passwords, at this time*. And as soon as something is prooven to be reversible, it will be updated yet again with a stronger algorithm.
 
This said, no hacker in the world would probably be interested in your logs or putting time in trying to find the used password anyways, unless you pay them a few million dollars. And that is if you even can find those 'top hackers'.
 
So, yes, your situation is unfortunatly tragic I suppose. There is no way to decrypt the logs without knowing the correct password.
* The famous MD5 encryption/hashing method isn't reversible either. But nevertheless people have found ways to calculate collisions in a relative short time. This means that in theory it is possible to access something which is protected by a MD5 hash by an alternative password. But even so, you still would need a brute force attacker (even if you are using rainbow tables) to find the correct password or one of its alternatives.This post was edited on 04-01-2010 at 02:56 AM by CookieRevised.
 .-= A 'frrrrrrrituurrr' for Wacky =-. | 
 | 
| 04-01-2010 02:47 AM |  | 
|  | 
| willy469 New Member
 
  
 
 Posts: 3
 Joined: Mar 2011
 
 | | RE: Tool to encrypt or decrypt log files Hi,
 I'm trying to write a funtion using visual basic 6 and the CryptDecrypt call always returns 0
 
 Can anyone tell me what am I doing wrong?
 
 here is the code:
 
 'read the full encrypted file and convert it to string
 
 F = App.Path & "\encryptedfile.ple"
 FN = FreeFile
 dlen = FileLen(F)
 ReDim data(dlen)
 
 Open F For Binary As FN
 Get #FN, , data
 Close FN
 
 For pos = 0 To dlen
 Stemp = Stemp & Chr(data(pos))
 Next pos
 
 'set the correct password (I have encrypted using this pwd)
 'no password scramble needed as al the chars are the same.
 
 pwd = "bbbb"
 
 'api calls the constants are expressed as decimal.. it should work..
 
 Rst = CryptAcquireContext(hProv, "MessengerPlusEncryptProvider", "Microsoft Enhanced Cryptographic Provider v1.0", 1, 0)
 
 Rst = CryptCreateHash(hProv, 32771, 0, 0, hHash)
 Rst = CryptHashData(hHash, pwd, l, 0)
 Rst = CryptDeriveKey(hProv, 26625, hHash, 8388608, Hkey)
 
 Rst = CryptDecrypt(Hkey, 0, 1, 0, Stemp, Len(Stemp))
 
 
 the last call returns "0" and the stemp content is not decrypted..
 
 thank you!!!!
 
 
 
 
 This post was edited on 03-09-2011 at 06:10 PM by willy469.
 | 
 | 
| 03-09-2011 06:09 PM |  | 
|  | 
| Pages: (9): 
« First
 
«
 
 4
 5
 6
 7
 [ 8 ]
 9
 
»
 
Last » | 
|  |