From fb2db3ef577ff8bf71fababe89df96a6b519ee22 Mon Sep 17 00:00:00 2001
From: Alan Li <61896187+lebr0nli@users.noreply.github.com>
Date: Wed, 4 Sep 2024 22:31:37 +0800
Subject: [PATCH] Add a helper function for encoding payloads with `atob`
---
src/components/MenuXss.vue | 4 ++++
src/generators/encode.js | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/src/components/MenuXss.vue b/src/components/MenuXss.vue
index a2cb90b..1dbff78 100644
--- a/src/components/MenuXss.vue
+++ b/src/components/MenuXss.vue
@@ -117,6 +117,10 @@
/>
+
`atob('${btoa(value)}')`,
+}
+
window.Encode.Escape = {
hex: value => {
return [...value]