-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🆕 Added GoDaddy Website Builder detection incl. version (issue #91)
- Loading branch information
1 parent
1bad7a3
commit d8139e7
Showing
7 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters