Hi Andres,

We use ansistrm library to wrap the stream output builtin logging
library method.

We use termcolor library to colourize the print/sys.stdout() calls and
use colorama library to wrap termcolor and make it cross-platform.

This was the cleanest and most reliable solution that I have
identified following some testing of other libraries too.

Hope this helps.

Bernardo Damele A. G.

This message was sent from a smartphone

On 12 Jul 2012, at 13:33, Andres Riancho <andres.rian...@gmail.com> wrote:

> Bernardo,
>
> On Wed, Jul 11, 2012 at 10:18 PM, Bernardo Damele A. G.
> <bernardo.dam...@gmail.com> wrote:
>> Hi,
>>
>> We have recently implemented colouring of the standard output. It
>> should work across all three main operating systems: Linux (tested on
>> Ubuntu with bash and zsh), Windows (tested on Windows 7) and Mac OSX
>> (tested on Lion with bash and zsh).
>
> I was thinking about implementing something similar for w3af, which
> library did you guys use to have cross-platform support for coloring?
>
>> See a screenshot here,
>> https://twitter.com/sqlmap/status/223175873614987264.
>>
>> Please, report any bugs you might encounter.
>>
>> Thank you,
>> Bernardo
>>
>>
>> --
>> Bernardo Damele A. G.
>>
>> E-mail / Jabber: bernardo.damele (at) gmail.com
>> Mobile: +447788962949 (UK 07788962949)
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> sqlmap-users mailing list
>> sqlmap-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sqlmap-users
>
>
>
> --
> Andrés Riancho
> Project Leader at w3af - http://w3af.org/
> Web Application Attack and Audit Framework
> Twitter: @w3af
> GPG: 0x93C344F3

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users

Reply via email to