From 562cd54e309bded90ef30b33cac0d9ccf55ca4a5 Mon Sep 17 00:00:00 2001 From: usernamealreadyis Date: Wed, 12 Jul 2017 08:54:58 +0700 Subject: [PATCH 1/3] README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 57f631d..df29f11 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # te tru +{rdoc-image:https://www.quantifiedcode.com/api/v1/project/129ca2b2b42440418edb9150c3cc5467/badge.svg}[https://www.quantifiedcode.com/app/project/129ca2b2b42440418edb9150c3cc5467] From 18f9f6100e4dfa140463132d9402496af750e2ba Mon Sep 17 00:00:00 2001 From: usernamealreadyis Date: Sat, 6 Jan 2018 14:34:07 +0700 Subject: [PATCH 2/3] Iframe.JSON Prevent multiple login failures to mitigate brute force attacks --- Iframe/Iframe.JSON | 62 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Iframe/Iframe.JSON diff --git a/Iframe/Iframe.JSON b/Iframe/Iframe.JSON new file mode 100644 index 0000000..a27c50c --- /dev/null +++ b/Iframe/Iframe.JSON @@ -0,0 +1,62 @@ +== te == +// cURL (example) +curl -X DELETE "https://api.cloudflare.com/client/v4/zones/xxx" \ + -H "X-Auth-Email: user@example.com" \ + -H "X-Auth-Key: xxx" \ + -H "Content-Type: application/json" + +// Response (example) +{ + "success": true, + "errors": [ + {} + ], + "messages": [ + {} + ], + "result": { + "id": "xxx" + } +} +// Example object +{ + "id": "xxx", + "disabled": false, + "description": "Prevent multiple login failures to mitigate brute force attacks", + "match": { + "request": { + "methods": [ + "GET", + "POST" + ], + "schemes": [ + "HTTP", + "HTTPS" + ], + "url": "*.example.org/path*" + }, + "response": { + "status": [ + 401, + 403 + ], + "origin_traffic": true + } + }, + "bypass": [ + { + "name": "url", + "value": "api.example.com/*" + } + ], + "threshold": 60, + "period": 900, + "action": { + "mode": "simulate", + "timeout": 86400, + "response": { + "content_type": "text/xml", + "body": "This request has been rate-limited." + } + } +} From 2f1511a4a1f1673733023a6e1fcd36e4ad4d9374 Mon Sep 17 00:00:00 2001 From: usernamealreadyis Date: Wed, 10 Jan 2018 08:10:34 +0700 Subject: [PATCH 3/3] pAtch.iframe Validity constraint: Fixed Attribute Default If an attribute has a default value declared with the #FIXED keyword, instances of that attribute MUST match the default value. Examples of attribute-list declaration --- Iframe/pAtch.iframe | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Iframe/pAtch.iframe diff --git a/Iframe/pAtch.iframe b/Iframe/pAtch.iframe new file mode 100644 index 0000000..257d637 --- /dev/null +++ b/Iframe/pAtch.iframe @@ -0,0 +1,7 @@ + + +