Updated How to output in plain text without the colors? (markdown)

Erwan
2018-11-03 08:19:00 +00:00
parent 8cc74c3a50
commit 95ffbf3835

@@ -1,12 +1 @@
Normally you get the WPScan output in some colors. Since WPScan v3, use the ```--format cli-no-colour```
You can use an extra Linux command if you want to remove the colors in the output text.
'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"```
You can also use the --no-color switch.