Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError while running ./cmsmap.py #21

Open
cipixul opened this issue Sep 9, 2020 · 0 comments
Open

UnicodeDecodeError while running ./cmsmap.py #21

cipixul opened this issue Sep 9, 2020 · 0 comments

Comments

@cipixul
Copy link

cipixul commented Sep 9, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant