I agree that it would be handy to have a way to disable the color output.

We also output to text for sending in our automated email reports.

The other alternative is to use sed.

sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"


-- 
Regards,

Peter
--------------------------------------------------
Security Scanning Tools On-line
Web: http://hackertarget.com/
--------------------------------------------------

> [sqlmap-users] Disable output coloring
> From: M Zverev <roberthacksley@gm...> - 2012-08-02 11:18
>
> I often redirect sqlmap output to a text file with the command >, and
> that leave annoying marks like 
> [0m
> [31m
> at the beginning and the end of lines, and I have to clean that out.
> Is there a way to disable output coloring?

------------------------------------------------------------------------------
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