Hi!
I generate a text file using wpscan and > (on a different Linux OS). I copied the file on my Fedora desktop and here is the issue:
cat file.txt displays well
vi file.txt (or meld or..) shows me unicode values at places such as:
^[[32m[+]^[[0m URL: xxx instead of [+] URL: xxxx
The file is UTF-8 encoded and the system (both systems are running linux) also use UTF-8 system wide.
The same thing didn't happen one month ago, so I guess some updates broke something, either on the system or in wpscan. Google didn't help me at all.
So any idea how I could "convert" back that file to show nice characters, and eventually do you have any idea what could be wrong on the other system (deb based)?
Thank you.
Fred
On 14/09/2021 16:57, Frederic Muller wrote:
Hi!
I generate a text file using wpscan and > (on a different Linux OS). I copied the file on my Fedora desktop and here is the issue:
cat file.txt displays well
vi file.txt (or meld or..) shows me unicode values at places such as:
^[[32m[+]^[[0m URL: xxx instead of [+] URL: xxxx
The file is UTF-8 encoded and the system (both systems are running linux) also use UTF-8 system wide.
The same thing didn't happen one month ago, so I guess some updates broke something, either on the system or in wpscan. Google didn't help me at all.
So any idea how I could "convert" back that file to show nice characters, and eventually do you have any idea what could be wrong on the other system (deb based)?
I have no experience with wpscan. This is a "World Press" thingy, right?
A bit of googling suggests the "extraneous" characters you're seeing are indicating "color".
So, try adding the --no-color parameter to your wpscan command.
-- This space left intentionally blank. OK, not "really" blank.
On 9/14/21 16:36, Ed Greshko wrote:
On 14/09/2021 16:57, Frederic Muller wrote:
Hi!
I generate a text file using wpscan and > (on a different Linux OS). I copied the file on my Fedora desktop and here is the issue:
cat file.txt displays well
vi file.txt (or meld or..) shows me unicode values at places such as:
^[[32m[+]^[[0m URL: xxx instead of [+] URL: xxxx
The file is UTF-8 encoded and the system (both systems are running linux) also use UTF-8 system wide.
The same thing didn't happen one month ago, so I guess some updates broke something, either on the system or in wpscan. Google didn't help me at all.
So any idea how I could "convert" back that file to show nice characters, and eventually do you have any idea what could be wrong on the other system (deb based)?
I have no experience with wpscan. This is a "World Press" thingy, right?
A bit of googling suggests the "extraneous" characters you're seeing are indicating "color".
So, try adding the --no-color parameter to your wpscan command.
Hey!
Thank you again for your help. It is indeed something along those line. wpscan is the same version between the 2 exports, so I guess the OS default settings have changed.
The option to remove those 'color codes' is -f cli-no-color or --format cli-no-color .
Thank you for helping me to fix this!
Fred