What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Tool to encrypt or decrypt log files

Pages: (9): « First « 4 5 6 7 [ 8 ] 9 » Last »
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
Profile E-Mail PM Find Quote Report
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
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
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.008

This post was edited on 09-24-2009 at 03:32 PM by matty.
09-24-2009 03:32 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
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:
Originally posted by matty
This script will do what you need it to do however [Release] Log Manager - Version 1.1.008
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.

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
Profile PM Find Quote Report
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
Profile E-Mail PM Find Quote Report
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
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
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
Profile PM Find Quote Report
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 :P
03-31-2010 08:35 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
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 :P
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
Profile PM Find Quote Report
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
Profile E-Mail PM Find Quote Report
Pages: (9): « First « 4 5 6 7 [ 8 ] 9 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On