m0m0x01d 3.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/redirect.svg.html +25 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "m0m0x01d",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "ssrf",
5
5
  "main": "index.html",
6
6
  "scripts": {
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Redirect</title>
7
+ <script>
8
+ window.onload = function() {
9
+ // Get the URL query parameter
10
+ const urlParams = new URLSearchParams(window.location.search);
11
+ const targetUrl = urlParams.get('url');
12
+
13
+ // If a valid URL is provided, redirect to it
14
+ if (targetUrl) {
15
+ window.location.href = targetUrl;
16
+ } else {
17
+ document.body.innerHTML = "No URL provided for redirection.";
18
+ }
19
+ }
20
+ </script>
21
+ </head>
22
+ <body>
23
+ </body>
24
+ </html>
25
+