Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 43 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# Welcome to GitHub Desktop!
Cursor AI Telemetry Spoofer

This is your README. READMEs are where you can communicate what your project is and how to use it.
📦 Автоматическая Подмена Телеметрии в Cursor AI

Этот репозиторий содержит Python-скрипт для автоматической подмены телеметрических данных в Cursor AI путём редактирования системного файла storage.json.

📌 Введение

Cursor AI сохраняет телеметрию и пользовательские настройки в скрытых системных файлах. Python-скрипт автоматически найдет, изменит и перезапишет файл storage.json.

🛠️ Требования

Python 3.x – Скачать Python

Установка библиотеки JSON:

pip install json

📂 Файл Телеметрии Cursor AI

Директория: C:\Users\user\AppData\Roaming\Cursor\User\globalStorage

Целевой файл: storage.json — содержит телеметрические данные и настройки пользователя.

🧑‍💻 Как использовать скрипт

Склонируйте репозиторий:

git clone <URL-репозитория>
cd <имя-папки>

Запустите Python-скрипт:

python generateTelemetryData.py

📊 Проверка изменений

Откройте файл C:\Users\user\AppData\Roaming\Cursor\User\globalStorage\storage.json

Убедитесь, что значения telemetry.machineId, macMachineId и другие поля были изменены.

✅ Готово! Телеметрия успешно подменена.

📢 Этот проект опубликован каналом "Дневник Тёмной Стороны Интернета".

Write your name on line 6, save it, and then head back to GitHub Desktop.
45 changes: 45 additions & 0 deletions generateTelemetryData.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import os
import json
import uuid
from datetime import datetime

def get_cursor_telemetry_path():

appdata_path = os.getenv('APPDATA')
storage_path = os.path.join(appdata_path, "Cursor", "User", "globalStorage", "storage.json")
return storage_path

def generate_fake_telemetry():

fake_data = {
"telemetry.machineId": str(uuid.uuid4()),
"telemetry.macMachineId": str(uuid.uuid4()),
"telemetry.devDeviceId": str(uuid.uuid4()),
"telemetry.sqmId": str(uuid.uuid4()),
"lastModified": "9999-12-31T23:59:59.999Z",
"version": "1.0.1"
}
return fake_data

def overwrite_telemetry_file():
storage_path = get_cursor_telemetry_path()

if os.path.exists(storage_path):
with open(storage_path, "r") as file:
try:
existing_data = json.load(file)
except json.JSONDecodeError:
existing_data = {}


fake_telemetry = generate_fake_telemetry()
existing_data.update(fake_telemetry)

with open(storage_path, "w") as file:
json.dump(existing_data, file, indent=4)
print("[+] Телеметрия в storage.json успешно изменена!")
else:
print("[-] Файл storage.json не найден!")

if __name__ == "__main__":
overwrite_telemetry_file()