Mailing List Archive

FW: how to convert binary file to text file ?
Hi Rich,

I want to read metabase.bin from Microsoft IIS5.0 and chech its
configuration .
Metabase.bin is a binary file which stores the configuration for IIS4.0
or IIS5.0
I need to convert it to text format to check the configuration.

Allen

PS: IIS6.0 replace metabase.bin to Metabase.xml and MBSchema.xml and
both of them are text files.



-----Original Message-----
From: plugins-writers-bounces@list.nessus.org
[mailto:plugins-writers-bounces@list.nessus.org] On Behalf Of Richard
Moore
Sent: Monday, November 14, 2005 9:54 PM
To: plugins-writers@list.nessus.org
Subject: Re: [Plugins-writers] how to convert binary file to text file ?


Any particular type of binary file?

Rich.


--
Richard Moore, Principal Software Engineer,
Westpoint Ltd,
Albion Wharf, 19 Albion Street, Manchester, M1 5LN, England
Tel: +44 161 237 1028
Fax: +44 161 237 1031 _______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers

_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers
Re: FW: how to convert binary file to text file ? [ In reply to ]
On Mon, Nov 14, 2005 at 09:33:17PM +0800, ????(allen) wrote:


> I want to read metabase.bin from Microsoft IIS5.0 and chech its
> configuration .
> Metabase.bin is a binary file which stores the configuration for IIS4.0
> or IIS5.0
> I need to convert it to text format to check the configuration.

How would you do this generally, I mean, outside of a plugin? Is there
an algorithm that doesn't involve using MetaEdit?

George
--
theall@tenablesecurity.com
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers
RE: FW: how to convert binary file to text file ? [ In reply to ]
I can use IISDUMP to dump metabases to XML file and then use
smb_file_read( ) to do the pattern match test.
I just desire to know is it possible to write a plugin that can covert
metabase.ini to text file directly ?
If yes , that would be a wonderful thing.

allen

-----Original Message-----
From: plugins-writers-bounces@list.nessus.org
[mailto:plugins-writers-bounces@list.nessus.org] On Behalf Of George A.
Theall
Sent: Tuesday, November 15, 2005 2:07 AM
Cc: plugins-writers@list.nessus.org
Subject: Re: FW: [Plugins-writers] how to convert binary file to text
file ?


On Mon, Nov 14, 2005 at 09:33:17PM +0800, ????(allen) wrote:


> I want to read metabase.bin from Microsoft IIS5.0 and chech its
> configuration . Metabase.bin is a binary file which stores the
> configuration for IIS4.0 or IIS5.0
> I need to convert it to text format to check the configuration.

How would you do this generally, I mean, outside of a plugin? Is there
an algorithm that doesn't involve using MetaEdit?

George
--
theall@tenablesecurity.com
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers

_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers
Re: FW: how to convert binary file to text file ? [ In reply to ]
On Tue, Nov 15, 2005 at 02:56:16AM +0800, ??(Allen) wrote:

> I can use IISDUMP to dump metabases to XML file and then use
> smb_file_read( ) to do the pattern match test.
> I just desire to know is it possible to write a plugin that can covert
> metabase.ini to text file directly ?

Plugins can't generally call external programs so you need to figure out
a way to parse the file directly.

George
--
theall@tenablesecurity.com
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers