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

TypeError: gethostbyname #17

Open
dpuls opened this issue Dec 12, 2019 · 1 comment
Open

TypeError: gethostbyname #17

dpuls opened this issue Dec 12, 2019 · 1 comment

Comments

@dpuls
Copy link

dpuls commented Dec 12, 2019

Issue Details

CMSmap Version: v1.0
CMS Type: non specified
CMS Version:
Plugin Name:
OS Information: Kali latest

Steps to reproduce the issue

root@kali:~/CMSmap# cmsmap webserver.here
[-] Date & Time: 12/12/2019 21:38:25
Traceback (most recent call last):
File "/usr/local/bin/cmsmap", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/cmsmap/main.py", line 168, in main
addr = socket.gethostbyname(urlparse(args.target).hostname)
TypeError: gethostbyname() argument 1 must be str, bytes or bytearray, not None

Describe how to reproduce the issue

Expected behaviour

Describe how CMSmap should have handled the issue

@LizardBlizzard
Copy link

You'll get this error if you don't specify a full URL.
Instead of cmsmap example.com try cmsmap https://example.com

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

2 participants