utilityjavascript5616
Alight Motion Magic Link Activator & Session Resolver Engine
Unofficial Alight Motion Magic Link activation & token extractor client by julzzpiw reverse engineered into Node.js pure script.
Vamz Spectre16 Okt 2026200 baris kode
Jalankan via Terminal / CLI:
# 1. Download file script
curl -sL "https://code.vamxapi.my.id/snippet/raw/am-jzcloud-activator" -o am-jzcloud-activator.js
# 2. Jalankan script
node am-jzcloud-activator.js
Dependencies npm yang Dibutuhkan:
npm install None (Pure Node.js 18+)Panduan Penggunaan:
curl -sL "https://code.vamxapi.my.id/snippet/raw/am-jzcloud-activator" -o am-jzcloud-activator.js node am-jzcloud-activator.js "stats" node am-jzcloud-activator.js "[email protected]"
am-jzcloud-activator.js(200 lines)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
/**
* AM Jzcloud Activator - Alight Motion Magic Link Activation & Token Resolver
* Author: Vamz Spectre (VamxAPI)
* Target: https://am.jzcloud.web.id
*
* Download & Run:
* curl -sL "https://code.vamxapi.my.id/snippet/raw/am-jzcloud-activator" -o am-jzcloud-activator.js
* node am-jzcloud-activator.js "stats"
* node am-jzcloud-activator.js "[email protected]"
* node am-jzcloud-activator.js "verify:[email protected]:https://alightcreative.com/login?oobCode=xxxx"
*
* Features:
* - Live Activation Statistics (Total & Today count)
* - Auto Request Magic Link without password to email
* - Verify Magic Link & Extract Account UID, Order ID, and Firebase ID Token
* - Pure Node.js 18+ (Zero External Dependencies)
*/
const BASE_URL = 'https://am.jzcloud.web.id';
/**
* Fetch activation stats
* @returns {Promise<object>}
*/
async function getStats() {
const res = await fetch(`${BASE_URL}/api/stats`, {
headers: {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
'Accept': 'application/json'
}
});
if (!res.ok) {
throw new Error(`Gagal mengambil statistik: HTTP ${res.status}`);
}
const data = await res.json();
return {
status: true,
action: 'stats',
data
};
}
/**
* Send Alight Motion login / activation magic link to email
* @param {string} email
* @returns {Promise<object>}
*/
async function sendLink(email) {
if (!email || !email.includes('@')) {
throw new Error('Alamat email tidak valid');
}
const res = await fetch(`${BASE_URL}/api/send-link`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
'Referer': `${BASE_URL}/`
},
body: JSON.stringify({ email: email.trim() })
});
const data = await res.json().catch(() => ({}));
if (!res.ok || data.success === false) {
throw new Error(data.message || `Gagal mengirim link: HTTP ${res.status}`);
}
return {
status: true,
action: 'send_link',
message: data.message || 'Link aktivasi berhasil dikirim ke email.',
email: data.email || email.trim()
};
}
/**
* Verify received magic link from email and extract premium token / UID
* @param {string} email
* @param {string} magicLink
* @returns {Promise<object>}
*/
async function verifyLink(email, magicLink) {
if (!email || !email.includes('@')) {
throw new Error('Alamat email tidak valid');
}
if (!magicLink) {
throw new Error('Link verifikasi atau oobCode wajib diisi');
}
const res = await fetch(`${BASE_URL}/api/verify-link`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
'Referer': `${BASE_URL}/`
},
body: JSON.stringify({
email: email.trim(),
magicLink: magicLink.trim()
})
});
const data = await res.json().catch(() => ({}));
if (!res.ok || data.success === false) {
throw new Error(data.message || `Verifikasi gagal: HTTP ${res.status}`);
}
return {
status: true,
action: 'verify_link',
data: data.data || data
};
}
/**
* Main wrapper
* @param {string} input
* @returns {Promise<object>}
*/
async function amJzcloudActivator(input) {
const str = String(input || '').trim();
if (!str || str.toLowerCase() === 'stats') {
return await getStats();
}
if (str.startsWith('verify:')) {
const parts = str.slice(7).split(':');
const email = parts[0];
const magicLink = parts.slice(1).join(':');
return await verifyLink(email, magicLink);
}
if (str.startsWith('send:')) {
const email = str.slice(5);
return await sendLink(email);
}
if (str.includes('@')) {
return await sendLink(str);
}
return await getStats();
}
// CLI Execution Support
if (require.main === module) {
const arg = process.argv[2];
if (!arg) {
console.log(
JSON.stringify(
{
status: false,
error: 'Parameter belum diisi.',
usage: 'node am-jzcloud-activator.js "<command_or_email>"',
examples: [
'node am-jzcloud-activator.js "stats"',
'node am-jzcloud-activator.js "[email protected]"',
'node am-jzcloud-activator.js "verify:[email protected]:https://..."'
]
},
null,
2
)
);
process.exit(1);
}
amJzcloudActivator(arg)
.then(result => {
console.log(JSON.stringify(result, null, 2));
process.exit(0);
})
.catch(err => {
console.error(
JSON.stringify(
{
status: false,
error: err.message || String(err)
},
null,
2
)
);
process.exit(1);
});
}
module.exports = {
amJzcloudActivator,
getStats,
sendLink,
verifyLink
};