-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
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,8 @@ | ||
[ | ||
{ | ||
"url": "/", | ||
"header": "Set-Cookie", | ||
"regex": "(CAKEPHP)", | ||
"output": "" | ||
} | ||
] |
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,7 @@ | ||
[ | ||
{ | ||
"url": "/", | ||
"string": "Powered by <a href=\"http://cakephp.org\">CakePHP</a>", | ||
"output": "" | ||
} | ||
] |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
__all__ = [ | ||
"concrete5", | ||
"cakephp", | ||
"demandware", | ||
"dokuwiki", | ||
"dotcms", | ||
|
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 @@ | ||
from classes.specializedRequesters import CMSReqMD5, CMSReqString, CMSReqRegex, CMSReqHeader | ||
|
||
class CakePHPString(CMSReqString): | ||
def __init__(self, host, cache, results): | ||
super().__init__(host, cache, results) | ||
self.name = "CakePHP" | ||
self.prefix = [""] | ||
self.data_file = "data/cms/string/cakephp.json" | ||
|
||
|
||
class CakePHPHeader(CMSReqHeader): | ||
def __init__(self, host, cache, results): | ||
super().__init__(host, cache, results) | ||
self.name = "CakePHP" | ||
self.data_file = "data/cms/header/cakephp.json" | ||
|
||
def get_instances(host, cache, results): | ||
return [ | ||
CakePHPString(host, cache, results), | ||
CakePHPHeader(host, cache, results), | ||
] |