cancel
Showing results for 
Search instead for 
Did you mean: 
shoichi
Level 7

Logging contents of "Body.ToString()" to foundViruses.log (MWG 7.x)

Jump to solution

Hi,

Does anyone know if it is possible that log Body.ToString() to foundViruses.log?

My customer wants to log some contents of Http body when MWG finds malwares.

I tried but no contents were logged..

both of "Body.Text" and "Body.ToString(x,x)" are available only when I set user-defined.listofWords?

Thanks in advance.

ShoichiKiritani - CISSP PMP

Sales Engineer,Japan, McAfee, Inc.

0 Kudos
1 Solution

Accepted Solutions
eelsasser
Level 15

Re: Logging contents of "Body.ToString()" to foundViruses.log (MWG 7.x)

Jump to solution

You are only able to do this with text, like the HTML body of the page. You are not able to store binary data in this manner.

When you try to do so, the content doesn't convert to text in a way that remains intact when you store it.

Because the content is binary, and logs are text, high bits get stripped off the content when you do this.

0 Kudos
2 Replies
eelsasser
Level 15

Re: Logging contents of "Body.ToString()" to foundViruses.log (MWG 7.x)

Jump to solution

You are only able to do this with text, like the HTML body of the page. You are not able to store binary data in this manner.

When you try to do so, the content doesn't convert to text in a way that remains intact when you store it.

Because the content is binary, and logs are text, high bits get stripped off the content when you do this.

0 Kudos
shoichi
Level 7

Re: Logging contents of "Body.ToString()" to foundViruses.log (MWG 7.x)

Jump to solution

I see,  thanks for your support!! :-)

Shoichi.

0 Kudos