UnicodeDecodeError while running ./cmsmap.py
cipixul opened this issue · 0 comments
Issue Details
CMSmap Version: what I got from git
CMS Type: wordpress
CMS Version:
Plugin Name:
OS Information:
[641] 0 08:42:30 root@xxx:~/CMSmap lsb_release -a
No LSB modules are available.
Distributor ID: TurnKey
Description: TurnKey GNU/Linux 9.12 (stretch)
Release: 9.12
Codename: stretch
Steps to reproduce the issue
I downloaded the git version and entered the dir and ran ./cmsmap.py and I got a stack trace:
[637] 0 08:40:16 root@xxx:~/CMSmap ./cmsmap.py
Traceback (most recent call last):
File "./cmsmap.py", line 4, in
from cmsmap.main import main
File "/root/CMSmap/cmsmap/main.py", line 9, in
from .lib.scanner import scanner
File "/root/CMSmap/cmsmap/lib/scanner.py", line 7, in
from .wpscan import wpscan
File "/root/CMSmap/cmsmap/lib/wpscan.py", line 344, in
wpscan = WPScan()
File "/root/CMSmap/cmsmap/lib/wpscan.py", line 35, in init
self.themes = [line.strip() for line in open(initializer.wp_themes)]
File "/root/CMSmap/cmsmap/lib/wpscan.py", line 35, in
self.themes = [line.strip() for line in open(initializer.wp_themes)]
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 4533: ordinal not in range(128)
Content of cmsmap.conf is
[exploitdb]
edbtype = GIT
edbpath = /opt/exploit-database/
Expected behaviour
At least a help page but it doesn't work :(
For any more info, please ask.