修改机器码无限白嫖
点这里展开!
项目地址
aigem/cursor-pro-trial: 安全又简便快捷地换标识码,for cursor pro trial。
Cursor 设备标识生成器
一个安全、简便、快捷的 Cursor Pro Trial 设备标识重置工具。
功能特点
- 🔒 安全可靠:纯前端生成,无需后端服务
- 🚀 快速便捷:一键生成新的设备标识
- 💻 跨平台支持:Windows、macOS 和 Linux
使用步骤
- 退出cursor的登录账号,确保 Cursor 完全关闭(包括后台进程),一般关闭Cursor就可以了。
- 打开工具页面,点击"重新生成 ID"按钮。页面地址在这里,或看简介链接
- 根据您的操作系统,找到并打开对应的配置文件:
- Windows(win键+R,输入):
%APPDATA%\Cursor\User\globalStorage\storage.json
- macOS:
~/Library/Application Support/Cursor/User/globalStorage/storage.json
- Linux:
~/.config/Cursor/User/globalStorage/storage.json
- Windows(win键+R,输入):
- 将生成的三个标识码复制替换到配置文件中:
telemetry.macMachineId
telemetry.machineId
telemetry.devDeviceId
- 保存文件
- 重新启动 Cursor 并登录
- 确保Cursor Pro Trial(pro测试) 账号正常,就可以正常使用了。
快速访问配置文件
Windows
- 按
Win + R
打开运行对话框 - 粘贴
%APPDATA%\Cursor\User\globalStorage\storage.json
- 点击确定
macOS
- 在 Finder 中按
Command + Shift + G
- 粘贴
~/Library/Application Support/Cursor/User/globalStorage/storage.json
- 点击前往
Linux
直接在终端中使用编辑器打开:
nano ~/.config/Cursor/User/globalStorage/storage.json
或
vim ~/.config/Cursor/User/globalStorage/storage.json
注意事项
- ⚠️ 使用前请确保 Cursor 完全关闭
- 💾 建议在修改前备份原配置文件
- 🔄 如果修改后无效,请检查 Cursor 是否还在后台运行。
免责声明
本工具仅供学习和研究使用。使用本工具产生的任何问题和风险由使用者自行承担。cursor 是一个不错的编辑器,条件允许,请购买支持。
网页生成机器码的逻辑
index.html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cursor 设备标识生成器</title>
<style>
body {
font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
color: #d6d6dd;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
overflow: hidden;
flex-direction: column;
}
.container {
background: rgba(44, 44, 44, 0.95);
border-radius: 20px;
padding: 20px;
width: 85%;
max-width: 800px;
text-align: center;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: transform 0.3s ease;
}
.container:hover {
transform: translateY(-5px);
}
h1 {
color: white;
margin-bottom: 15px;
font-size: 1.8em;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
background: linear-gradient(45deg, #fff, #d6d6dd);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
sup {
background: rgba(255, 255, 255, 0.1);
padding: 6px 12px;
border-radius: 6px;
font-size: 0.9em;
color: #aaa;
display: inline-block;
margin-bottom: 15px;
}
.json-block {
background-color: rgba(30, 30, 30, 0.95);
color: #d6d6dd;
padding: 15px;
border-radius: 10px;
font-family: "Fira Code", "Cascadia Code", monospace;
white-space: pre-wrap;
word-wrap: break-word;
margin: 15px 0;
overflow-x: auto;
max-width: 100%;
text-align: left;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
button {
background: linear-gradient(45deg, #2ea043, #347d39);
color: white;
border: none;
padding: 12px 30px;
font-size: 16px;
cursor: pointer;
border-radius: 20px;
transition: all 0.3s ease;
margin: 15px 0;
font-weight: 600;
box-shadow: 0 4px 15px rgba(46, 160, 67, 0.2);
}
button:hover {
background: linear-gradient(45deg, #3ab54d, #3b8b40);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(46, 160, 67, 0.3);
}
button:active {
transform: scale(0.95) translateY(0);
}
.important {
color: #ffd700;
font-weight: bold;
background: rgba(255, 215, 0, 0.1);
padding: 12px 15px;
border-radius: 10px;
margin: 15px 0;
border: 1px solid rgba(255, 215, 0, 0.2);
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.2);
}
70% {
box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
}
}
.tip {
background: rgba(255, 255, 255, 0.05);
padding: 15px;
border-radius: 10px;
margin: 15px 0;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.tip p {
margin: 8px 0;
}
.tip code,
.tip .path {
background: rgba(0, 0, 0, 0.3);
padding: 5px 10px;
border-radius: 6px;
font-family: "Fira Code", "Cascadia Code", monospace;
color: #f0f0f0;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.github-btn {
display: inline-flex;
align-items: center;
background: linear-gradient(45deg, #333, #444);
color: #fff;
padding: 10px 20px;
border-radius: 20px;
text-decoration: none;
font-size: 16px;
transition: all 0.3s ease;
margin-top: 15px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.github-btn:hover {
background: linear-gradient(45deg, #444, #555);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.github-btn:active {
transform: scale(0.95);
}
.github-btn img {
width: 24px;
margin-right: 12px;
border-radius: 50%;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
a {
color: #7ee787;
text-decoration: none;
transition: all 0.3s ease;
padding: 2px 6px;
border-radius: 4px;
}
a:hover {
color: #2ea043;
background: rgba(126, 231, 135, 0.1);
}
.important a {
color: #ffd700;
font-weight: bold;
}
.important a:hover {
background: rgba(255, 215, 0, 0.15);
color: #ffed4a;
}
</style>
</head>
<body>
<div class="container">
<h1>手动替换Cursor设备 ID</h1>
<sup>
C:\Users\[用户]\AppData\Roaming\Cursor\User\globalStorage\storage.json <a
href="https://www.bilibili.com/video/BV1H3ktYtEUy/" target="_blank">视频教程</a>
</sup>
<div class="json-block" id="json-block"></div>
<button id="regenerate-btn">重新生成 ID</button>
<div class="tip">
<p>
<strong>提示:</strong> 你可以通过按
<strong>WIN + R</strong> 并粘贴以下路径来快速打开
<code class="path">%APPDATA%\Cursor\User\globalStorage\storage.json</code>
文件。
</p>
<p>
mac、linux 用户使用方法请看github说明
</p>
</div>
<p class="important">
<a href="https://www.bilibili.com/video/BV1H3ktYtEUy/" target="_blank">[视频教程]</a> 在运行脚本之前,你必须先退出并完全关闭
Cursor。
否则它可能会恢复到之前的设备 ID,使重置无效。
</p>
<a href="https://github.com/aigem/cursor-pro-trial" class="github-btn" target="_blank">
<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub" />
在 GitHub 上查看(点个星星呗)
</a>
</div>
<script>
function getRandHex() {
let array = new Uint8Array(32);
window.crypto.getRandomValues(array);
return Array.from(array)
.map((byte) => byte.toString(16).padStart(2, "0"))
.join("");
}
function getGuid() {
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
/[xy]/g,
function (c) {
let r = (Math.random() * 16) | 0;
let v = c === "x" ? r : (r & 0x3) | 0x8;
return v.toString(16);
}
);
}
function regenerateJSON() {
const jsonStructure = {
"telemetry.macMachineId": getRandHex(),
"telemetry.machineId": getRandHex(),
"telemetry.devDeviceId": getGuid(),
};
const jsonBlock = document.getElementById("json-block");
jsonBlock.textContent = JSON.stringify(jsonStructure, null, 4);
}
document
.getElementById("regenerate-btn")
.addEventListener("click", regenerateJSON);
regenerateJSON();
</script>
</body>
</html>
使用破解工具
理论上是8人共享pro账号
release下载exe点击使用
或者下面这个
chengazhen/cursor-auto-free: auto sign cursor
淘宝购买
淘宝15元一个月,和上面差不多,不过是3人共享(商家说辞)
使用一段时间了,agent时常断联,要么商家的号有鬼,要么邻居做了其他交易导致滥用,只能正常使用normal,体验并不好,还是推荐第二种方式