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.