Updated How to output in plain text without the colors? (markdown)
@@ -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.
|
|
||||||
Reference in New Issue
Block a user