From 477da3b0ab66952770d7ea8d5e7533f8ddbf84a6 Mon Sep 17 00:00:00 2001 From: Peter Date: Thu, 10 Apr 2014 14:43:14 -0700 Subject: [PATCH] Created How to make the output in plain text without the colors? (markdown) --- ...ke-the-output-in-plain-text-without-the-colors?.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 How-to-make-the-output-in-plain-text-without-the-colors?.md diff --git a/How-to-make-the-output-in-plain-text-without-the-colors?.md b/How-to-make-the-output-in-plain-text-without-the-colors?.md new file mode 100644 index 0000000..6f51694 --- /dev/null +++ b/How-to-make-the-output-in-plain-text-without-the-colors?.md @@ -0,0 +1,11 @@ +Normally you get the WPScan output in some colours. +But if you want to remove the colour in the output text, you can use an extra Linux command. + +'Pipe' your terminal output through: +```sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"``` +This command removes the so called: 'Terminal Escape Sequence codes' + +Example: +```./wpscan.rb --url www.example.com | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"``` + + \ No newline at end of file