From 3191eda94f2e563289789bee764fcc1e2c83ba90 Mon Sep 17 00:00:00 2001 From: Exp1o1 <166666343+Exp1o1@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:01:28 -0500 Subject: [PATCH] Delete consoleInjector.ts --- consoleInjector.ts | 56 ---------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 consoleInjector.ts diff --git a/consoleInjector.ts b/consoleInjector.ts deleted file mode 100644 index 44227f0..0000000 --- a/consoleInjector.ts +++ /dev/null @@ -1,56 +0,0 @@ -```typescript -// consoleInjector.ts -function injectConsole(html: string) { - const consoleScript = ` - - `; - - return html.replace(/<\/body>/, `${consoleScript}`); -} - -export default injectConsole; -``` -This code injects a simple console element into the proxied website's HTML, allowing users to execute JavaScript code on the page. - -**Important:** This is a basic example and may not work as-is in your environment. You may need to modify the code to fit your specific proxy setup and requirements. - -Please note that this is just a starting point, and you should consider security implications and restrictions when injecting code into proxied websites.