-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Added whatcms_scan module #304
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also please add an info() message to report during the scan as soon as cms is found - otherwise one has to wait until the end to see if anything was found
lib/scan/whatcms/engine.py
Outdated
cms_name = json.loads(req.text)["result"]["name"] | ||
return cms_name | ||
try: | ||
req = requests.get(requests_url, verify=False, headers=headers) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs timeout=timeout_sec
lib/scan/whatcms/engine.py
Outdated
return cms_name | ||
try: | ||
req = requests.get(requests_url, verify=False, headers=headers) | ||
cms_name = json.loads(req.text)["result"]["name"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also would be good to add cms version to cms_name
current result: (CMS Name:WordPress)
Please add version, so it looks like this: (CMS Name:WordPress version 5.2.7)
Fixed #98
Fixed #236
Added the whatcms.org to improve the cms scan.
Checklist
Changes proposed in this pull request
Your development environment
Linux
Ubuntu 18.04
3.6.9