- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for Devil (0.03 seconds)
-
tests/test_openapi_cache_root_path.py
return {"ok": True} # Attacker request with a spoofed root_path attacker_client = TestClient(app, root_path="/evil-api") response1 = attacker_client.get("/openapi.json") data1 = response1.json() assert any(s.get("url") == "/evil-api" for s in data1.get("servers", [])) # Subsequent legitimate request with no root_path clean_client = TestClient(app)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 2.3K bytes - Click Count (0) -
tests/test_swagger_ui_escape.py
from fastapi.openapi.docs import get_swagger_ui_html def test_init_oauth_html_chars_are_escaped(): xss_payload = "Evil</script><script>alert(1)</script>" html = get_swagger_ui_html( openapi_url="/openapi.json", title="Test", init_oauth={"appName": xss_payload}, ) body = html.body.decode() assert "</script><script>" not in body assert "\\u003c/script\\u003e\\u003cscript\\u003e" in body
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 1.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* @since 11.0 */ @GwtIncompatible @J2ktIncompatible public class AtomicDoubleArray implements Serializable { private static final long serialVersionUID = 0L; // Making this non-final is the lesser evil according to Effective // Java 2nd Edition Item 76: Write readObject methods defensively. private transient AtomicLongArray longs; /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
final Path outsideDir = Files.createTempDirectory("outside"); try { final Path hostDir = tempDir.resolve("evil.com"); Files.createSymbolicLink(hostDir, outsideDir); final Map<String, Object> source = new LinkedHashMap<>(); source.put("url", "http://evil.com/secret.html"); source.put("content", "should not be written outside");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java
// onerror attribute should be removed assertFalse(result.contains("onerror")); } @Test public void test_render_xss_iframeTag() { String malicious = "<iframe src=\"http://evil.com\"></iframe>"; String result = markdownRenderer.render(malicious); // iframe tags should be removed assertFalse(result.contains("<iframe")); assertFalse(result.contains("</iframe>"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java
// Test multiple path traversal sequences File baseDir = new File(tempDir.toFile(), "images"); baseDir.mkdirs(); File maliciousFile = new File(baseDir, "a/b/c/../../../../../tmp/evil"); Boolean result = invokeIsValidUploadPath(maliciousFile, baseDir); assertFalse("Multiple path traversals should be blocked", result); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java
dns\u0007httpbin\nip-dynamic\u000eis-a-bruinsfan\u000eis-a-candidate\u000fis-a-celticsfan\u000bis-a-knight\u000fis-a-linux-user\u000cis-a-patsfan\u000bis-a-soxfan\u0008is-found\u0008is-local\u0007is-lost\u0008is-saved\u000bis-very-bad\u000cis-very-evil\u000cis-very-good\u000cis-very-nice\ris-very-sweet\u000bmisconfused\u0006mlbfan\u000bmy-firewall\nmyfirewall\u0006mywire\u0006nflfan\u0008pimienta\u0007poivron\u0007potager\u0006pubtls\nread-books\nreadmyblog\u0004roxa\rsellsyourhome\u0009small-we...
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 06 20:41:51 GMT 2026 - 290.5K bytes - Click Count (1)