Skip to content

Commit

Permalink
🆕 Added GoDaddy Website Builder detection incl. version (issue #91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuhinshubhra committed Feb 11, 2020
1 parent 1bad7a3 commit d8139e7
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ Version 1.1.3 []
- Amiro.CMS
- Weebly
- ekmPowershop
- GoDaddy Website Builder
- Version detection added for:
- Amiro.CMS
- GoDaddy Website Builder
- Added WordPress Bruteforce via XML-RPC

Version 1.1.2 [19-05-2019]
Expand Down
4 changes: 4 additions & 0 deletions VersionDetect/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,3 +265,7 @@ def start(id, url, ua, ga, source, ga_content, headers):
import VersionDetect.amiro as amiroverdetect
amirover = amiroverdetect.start(source)
return amirover
elif id == 'godaddywb':
import VersionDetect.godaddywb as godaddywbverdetect
godaddywb_version = godaddywbverdetect.start(ga_content)
return godaddywb_version
21 changes: 21 additions & 0 deletions VersionDetect/godaddywb.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# This is a part of CMSeeK, check the LICENSE file for more information
# Copyright (c) 2018 - 2020 Tuhinshubhra

# GoDaddy Website Builder version detection
# Rev 1

import cmseekdb.basic as cmseek
import re

def start(ga_content):
cmseek.statement('Detecting GoDaddy Website Builder version using generator meta tag [Method 1 of 1]')
regex = re.findall(r'Go Daddy Website Builder (.*)', ga_content)
if regex != []:
version = regex[0]
cmseek.success('GoDaddy Website Builder version ' + cmseek.bold + cmseek.fgreen + version + cmseek.cln + ' detected')
return version
else:
cmseek.error('Version detection failed!')
return '0'
7 changes: 7 additions & 0 deletions cmseekdb/cmss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1150,4 +1150,11 @@
'url':'https://www.ekm.com/',
'vd':'0',
'deeps':'0'
}

godaddywb = {
'name':'GoDaddy Website Builder',
'url':'https://godaddy.com/websites/website-builder',
'vd':'1',
'deeps':'0'
}
3 changes: 2 additions & 1 deletion cmseekdb/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def scan(content):
'sazito:-sazito',
'shopfa:-shopfa',
'solusquare:-solusquare',
'amiro.cms||www.amiro.ru:-amiro'
'amiro.cms||www.amiro.ru:-amiro',
'starfield technologies; go daddy website builder:-godaddywb'
]

for detection_key in generator_tag_detection_keys:
Expand Down
3 changes: 2 additions & 1 deletion cmseekdb/robots.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def check(url, ua):
'gestion_e_commerce:-solusquare',
'spree/products/:-spree',
'/admin::::/_admin::::offset=0::::_print_version:-amiro',
'Disallow: /ajax::::Disallow: /apps:-weebly'
'Disallow: /ajax::::Disallow: /apps:-weebly',
'Disallow: /_backup/::::Disallow: /_mygallery/::::Disallow: /_temp/::::Disallow: /_tempalbums/::::Disallow: /_tmpfileop/::::Disallow: /dbboon/:-godaddywb'
]
for detection_key in robots_txt_detection_keys:
if ':-' in detection_key:
Expand Down
3 changes: 2 additions & 1 deletion cmseekdb/sc.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ def check(page_source_code, site): ## Check if no generator meta tag available
'meta name\=("|\')brightspot.(contentId|cached)||href=("|\')brightspotcdn:-brightspot',
'amiro_sys_(css|js).php:-amiro',
'weebly-(footer|icon):-weebly',
'/ekmps/(scripts|css|assets|images|shops|designs)||globalstats.ekmsecure.com/hits/stats(-global).js:-ekmps'
'/ekmps/(scripts|css|assets|images|shops|designs)||globalstats.ekmsecure.com/hits/stats(-global).js:-ekmps',
'sf_(wrapper|footer|banner|subnavigation|pagetitle):-godaddywb'
]
for detection_key in page_source_detection_regex_keys:
if ':-' in detection_key:
Expand Down

0 comments on commit d8139e7

Please sign in to comment.