What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » MSG Plus Log Files > MySQL DB?

Pages: (2): « First « 1 [ 2 ] Last »
MSG Plus Log Files > MySQL DB?
Author: Message:
r5a
New Member
*


Posts: 4
Joined: Dec 2005
O.P. RE: MSG Plus Log Files > MySQL DB?
You woudn't need to really secure anything. MySQL databases itself are secure (providing you've setup the user accounts correctly) - among other things..

You can use an .htaccess method for web security along with Apache-SSL. - Among other things...

Getting the logs decryped from MSGPlus, I have no idea. Maybe Patchou can help you with that?


This post was edited on 12-06-2005 at 09:01 PM by r5a.
12-06-2005 09:00 PM
Profile E-Mail PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: MSG Plus Log Files > MySQL DB?
quote:
Originally posted by ipab
Patchou please provide me an alternative :*).
It would be cool if there was an api for it BUT it poped up with a messege saying "xxx is trying to decypt this log file allow?" followed by an input password dialog.
quote:
Originally posted by ipab
Seeing as it is encrypted in the harddrive it is wise to do the same online.
encrypted content would be every hard to search :/ i think...
* -dt- googles...
[Image: dt2.0v2.png]      Happy Birthday, WDZ
12-06-2005 10:14 PM
Profile PM Web Find Quote Report
ipab
Veteran Member
*****

Avatar
Design Evolved

Posts: 1017
Reputation: 32
35 / Male / Flag
Joined: May 2004
RE: MSG Plus Log Files > MySQL DB?
here is how I figure it can be done.

user prompted for pass (plugin prompt). The pass is verified with online md5 salt value in db. If correct then they are authorised to the search/delete functions of the logs. As for the logs itself, they are satled and hashed, only problem is that we are going to have to figure out a way to not show the salting method in the php file itself. Perhaps  the plugin adds a bunch of selected chars (we choose) and then salts it, therefore it is constant always. Only downfall to that is that they would have to use the plugin to check their logs (otherwise they have no other way of decrypting the hashes).
56656E692C 20566964692C 2056696369
12-07-2005 02:10 AM
Profile E-Mail PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: MSG Plus Log Files > MySQL DB?
* -dt- just votes for it to be stored with a user configurable "Salt"
or make work easier for dt and store as plain text :D

:-/ searching encoded content would be hard , if you go that way we will have to download all the logs (or just a certain time period if the user chooses) from the mysql db then unencode them then run some crazy word finding thing /return the logs...

plain text is easy..... store it then use mysql's built in search function (though i do wish for this to be easy to port to other database's like sqlite...)


so ehhhhhhhhhhhhhhhhhhhhhhh maybe the best thing would be to ask the user how we store it? and impliment both
[Image: dt2.0v2.png]      Happy Birthday, WDZ
12-07-2005 05:53 AM
Profile PM Web Find Quote Report
ipab
Veteran Member
*****

Avatar
Design Evolved

Posts: 1017
Reputation: 32
35 / Male / Flag
Joined: May 2004
RE: MSG Plus Log Files > MySQL DB?
sounds good. Problem is I feel that we are getting ahead of ourselves here :(. I cant seem to figure out a mass port for the logs into the db.
56656E692C 20566964692C 2056696369
12-07-2005 07:22 AM
Profile E-Mail PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: MSG Plus Log Files > MySQL DB?
quote:
Originally posted by ipab
sounds good. Problem is I feel that we are getting ahead of ourselves here [Image: msn_sad.gif]. I cant seem to figure out a mass port for the logs into the db.
hmm..
* -dt- opens Vim and tries to parse them with preg_match....


edit: done it :D


code:
$x = file_get_contents('./chatlog.txt');


//this regexp matches the body of the text (the part where you talk :P)
$match = "/\.-{68}\.(?:.+)\.-{68}(.+)-{68}\./smUx";


//this regexp matches the header (part with dates n stuff)
$head = "/\.-{68}\.(.+)\.-{68}/smUx";

preg_match_all($match,$x,$data);
preg_match_all($head,$x,$header);

//show the first header
echo $header[1][0];

//show the first body
echo $data[1][0];




btw those regexp's are no where near pefect

This post was edited on 12-07-2005 at 09:38 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
12-07-2005 08:43 AM
Profile PM Web Find Quote Report
thyone
New Member
*


Posts: 6
Joined: Dec 2005
RE: MSG Plus Log Files > MySQL DB?
i'm sorry to kick this message, but i hope Patchou will read it...

if patchou is able to allow us to create a second event log, with the following data: email, time/date, message and message-code*, I will volunteer to write a web-based script that allows you to read out the event log to statistics. (just not-encrypted files...)...

*a message code stands for the action taken, e.g. 1001 is OFFLINE, 1002 is CHANGE NAME .... never mind what codes, just to distinguish the messages
12-13-2005 05:04 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] 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