PageSourceSearch

https://edutoolsfactory.com/build/assets/WafHelp-DVdCu7LA.js

js edutoolsfactory.com collected 2026-10-02 01:28:41 UTC 7,269 bytes, 1 lines download raw bytes

1import{j as e,H as t,L as a}from"./app-DFIp5Htm.js";import{A as r}from"./AuthenticatedLayout-DMDEM-p1.js";import{B as l}from"./BackLink-BNTbmboK.js";import"./Dropdown-CqFLw4H_.js";import"./transition-o0hBPGmW.js";function x({auth:s}){return e.jsxs(r,{user:s.user,header:e.jsx("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between w-full",children:e.jsxs("div",{className:"min-w-0",children:[e.jsx("h2",{className:"font-semibold text-xl text-gray-800 leading-tight truncate",children:"Request blocked by security rules"}),e.jsx("div",{className:"text-sm text-gray-500",children:"Explanation & safe alternatives"})]})}),children:[e.jsx(t,{title:"Security explanation"}),e.jsx("div",{className:"py-8",children:e.jsxs("div",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 space-y-6",children:[e.jsx(l,{}),e.jsxs("div",{className:"bg-white shadow p-6 text-sm text-gray-800 space-y-6",children:[e.jsxs("section",{children:[e.jsx("h3",{className:"text-base font-semibold text-gray-900 mb-2",children:"Why did this happen?"}),e.jsxs("p",{className:"text-sm text-gray-700",children:["Your last request was blocked by our Web Application Firewall (WAF). This protection layer looks for patterns that resemble"," ",e.jsx("strong",{children:"malicious or executable code"})," ","— for example browser scripts, shell commands or raw SQL — and blocks the request before it reaches the application."]}),e.jsx("p",{className:"mt-2 text-sm text-gray-700",children:"When you write technical content (security tutorials, code examples, command–line snippets, etc.), that content can accidentally look the same as a real attack payload and trigger these rules."})]}),e.jsxs("section",{children:[e.jsx("h3",{className:"text-base font-semibold text-gray-900 mb-2",children:"What you can do to successfully submit your content"}),e.jsxs("ul",{className:"list-disc pl-5 space-y-2 text-sm text-gray-700",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Remove executable code from text fields."})," ","Avoid raw JavaScript, shell commands or SQL such as"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"<script>alert('xss')<\/script>"}),","," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"system('ls')"})," ","or"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"DROP TABLE users;"}),"."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Use images for full attack or exploit examples."})," ","If you are documenting security attacks or sensitive code, you can:",e.jsxs("ul",{className:"list-disc pl-5 mt-1 space-y-1",children:[e.jsxs("li",{children:["create a screenshot of the tutorial text or code and insert it as an ",e.jsx("strong",{children:"image"})," into the editor;"]}),e.jsx("li",{children:"or attach the content as a image instead of pasting the raw code directly."})]})]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Escape or “break” potentially dangerous words."})," ","If you must show the exact function or keyword in plain text, you can:",e.jsxs("ul",{className:"list-disc pl-5 mt-1 space-y-1",children:[e.jsxs("li",{children:["insert a backslash or space inside the word, e.g."," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"sys\\tem"})," ","instead of"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"system"}),", or"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"al\\ert()"})," ","instead of"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"alert()"}),";"]}),e.jsxs("li",{children:["replace angle brackets with HTML entities, for example"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"&lt;script&gt;"})," ","instead of"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"<script>"}),"."]})]})]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Keep HTML simple."})," ","Avoid iframes, inline event handlers such as"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"onload="})," ","or"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"onerror="}),", and"," ",e.jsx("code",{className:"font-mono text-xs bg-gray-100 px-1 py-0.5",children:"javascript:"})," ","URLs inside links or images."]})]})]}),e.jsxs("section",{children:[e.jsx("h3",{className:"text-base font-semibold text-gray-900 mb-2",children:"Examples of patterns that are often blocked"}),e.jsx("p",{className:"text-sm text-gray-700 mb-2",children:"The firewall uses a large set of rules. The following are only simplified examples of patterns that may trigger a block:"}),e.jsxs("div",{className:"grid gap-2 text-xs font-mono bg-gray-50 border border-gray-200 p-3",children:[e.jsxs("div",{children:[e.jsx("span",{className:"font-semibold text-gray-700",children:"JavaScript:"})," ",e.jsx("code",{className:"bg-white px-1 py-0.5 border",children:"<script>...<\/script>"}),","," ",e.jsx("code",{className:"bg-white px-1 py-0.5 border",children:'onerror="..."'}),","," ",e.jsx("code",{className:"bg-white px-1 py-0.5 border",children:"javascript:alert(1)"}),", …"]}),e.jsxs("div",{children:[e.jsx("span",{className:"font-semibold text-gray-700",children:"System / shell:"})," ",e.jsx("code",{className:"bg-white px-1 py-0.5 border",children:"system('ls')"}),","," ",e.jsx("code",{className:"bg-white px-1 py-0.5 border",children:"exec('rm -rf /')"}),","," ",e.jsx("code",{className:"bg-white px-1 py-0.5 border",children:"shell_exec(...)"}),", …"]}),e.jsxs("div",{children:[e.jsx("span",{className:"font-semibold text-gray-700",children:"SQL:"})," ",e.jsx("code",{className:"bg-white px-1 py-0.5 border",children:"UNION SELECT"}),","," ",e.jsx("code",{className:"bg-white px-1 py-0.5 border",children:"DROP TABLE"}),", …"]})]}),e.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"These are just examples; the real rule set is much broader and may combine several conditions."})]}),e.jsxs("section",{children:[e.jsx("h3",{className:"text-base font-semibold text-gray-900 mb-2",children:"If you still cannot submit your content"}),e.jsx("p",{className:"text-sm text-gray-700",children:"If you have removed executable code, tried the techniques above and the request is still being blocked, please contact support and include:"}),e.jsxs("ul",{className:"list-disc pl-5 mt-2 space-y-1 text-sm text-gray-700",children:[e.jsx("li",{children:"the approximate time when the block happened,"}),e.jsx("li",{children:"the page / section you were working on, and"}),e.jsx("li",{children:"a short description of what you tried to save (for example “Linux command example”, “XSS tutorial text”, etc.)."})]}),e.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"For security reasons, we cannot disable the firewall for individual accounts, but we can adjust safe rules and help you find a compliant way to store your content."})]}),e.jsx("section",{className:"pt-2 border-t border-gray-100 flex justify-end",children:e.jsx(a,{href:route("dashboard"),
1className:"text-xs text-indigo-700 hover:underline",children:"⟵ Back to dashboard"})})]})]})})]})}export{x as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.