From 273da9e1b55606c39a9e256839cd662f4b30c5d1 Mon Sep 17 00:00:00 2001 From: Vunnm <58368396+Vunnm@users.noreply.github.com> Date: Sat, 5 Aug 2023 14:39:33 +0200 Subject: [PATCH] Add JSON simple with form Add JSON simple paylaod with autosubmit form. Using autosubmit form instead of AJax, allow to bypass some protection like the Standard Enhanced Tracking Protection in Firfefox, which will refuse to send cookie with cross-site Ajax request (tested with Firefox 115.0.2esr),. --- CSRF Injection/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CSRF Injection/README.md b/CSRF Injection/README.md index cbf34e2..693715f 100644 --- a/CSRF Injection/README.md +++ b/CSRF Injection/README.md @@ -112,6 +112,8 @@ xhr.send(); ### JSON POST - Simple Request +With XHR : + ```html ``` +With autosubmit send form, which bypasses certain browser protections such as the Standard option of [Enhanced Tracking Protection](https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop?as=u&utm_source=inproduct#w_standard-enhanced-tracking-protection) in Firefox browser : + +```html +
+ +``` ### JSON POST - Complex Request