mirror of
https://github.com/WebBreacher/WhatsMyName.git
synced 2025-06-18 14:25:31 -04:00
Adding protection to schema
This commit is contained in:
parent
520edcefb4
commit
355d1bed48
@ -90,6 +90,7 @@ Within the `sites` elements, the format is as follows (with several parameters b
|
||||
"known" : ["a list of user accounts that can be used to test", "for user enumeration"],
|
||||
"cat" : "a category for what the site is mainly used for. The current categories are found at the top of the JSON",
|
||||
"valid" : "[OPTIONAL] single value of False. If it is present and False, then checkers should skip this site",
|
||||
"protection" : "[OPTIONAL] a list of 1 or more site protections like: captcha, cloudflare, userauth, multiple, other",
|
||||
"headers": {"[OPTIONAL] a dictionary of headers that should be passed to a site"}
|
||||
},
|
||||
...
|
||||
@ -110,6 +111,7 @@ Here are examples of the site elements for both HTTP GET and HTTP POST entries:
|
||||
"m_string" : "Account not found",
|
||||
"known" : ["whoami", "johndoe"],
|
||||
"cat" : "images",
|
||||
"protection" : "cloudflare",
|
||||
"headers": {
|
||||
"accept": "text/html"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
Copyright (C) 2023 Micah Hoffman
|
||||
Copyright (C) 2024 Micah Hoffman
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons,
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
To report a vulnerability, please create an [Issue](https://github.com/WebBreacher/WhatsMyName/issues) in this project or send an email to `micah` `@` `spotlight-infosec.com`
|
||||
To report a vulnerability, please create an [Issue](https://github.com/WebBreacher/WhatsMyName/issues) in this project or send an email to `webbreacher` `@` `gmail.com`
|
||||
|
@ -28,6 +28,7 @@
|
||||
"m_string" : "Account not found",
|
||||
"known" : ["whoami", "johndoe"],
|
||||
"cat" : "images",
|
||||
"protection" : "captcha",
|
||||
"headers": {
|
||||
"accept": "text/html"
|
||||
}
|
||||
|
@ -194,6 +194,22 @@
|
||||
],
|
||||
"default": ""
|
||||
},
|
||||
"protection": {
|
||||
"$id": "#root/sites/items/protection",
|
||||
"title": "Protection",
|
||||
"type": "array",
|
||||
"default": [],
|
||||
"items":{
|
||||
"$id": "#root/sites/items/protection/items",
|
||||
"title": "Items",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"examples": [
|
||||
"cloudflare", "captcha"
|
||||
],
|
||||
"pattern": "^.*$"
|
||||
}
|
||||
},
|
||||
"headers": {
|
||||
"$id": "#root/sites/items/headers",
|
||||
"title": "Headers",
|
||||
|
Loading…
Reference in New Issue
Block a user