mirror of
https://git.axenov.dev/mirrors/cursor-free-vip.git
synced 2025-12-27 22:20:38 +03:00
Compare commits
17 Commits
ManualRese
...
v1.0.5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
380ea0b81d | ||
|
|
17733b2fd4 | ||
|
|
743baaa81f | ||
|
|
b949c95475 | ||
|
|
09e24598ce | ||
|
|
bd95140968 | ||
|
|
fa1f38ec1b | ||
|
|
d91b90347a | ||
|
|
23e558a515 | ||
|
|
9d2381844f | ||
|
|
b0ea217572 | ||
|
|
1f1366a0c9 | ||
|
|
3921129518 | ||
|
|
0313751edd | ||
|
|
8f3a30fc67 | ||
|
|
ae0d1d2e19 | ||
|
|
59329f1ba4 |
57
README.md
57
README.md
@@ -1,4 +1,4 @@
|
||||
# Cursor Free VIP
|
||||
# ➤ Cursor Free VIP
|
||||
<div align="center">
|
||||
<p align="center">
|
||||
<img src="./images/logo.png" alt="Cursor Pro Logo" width="200"/>
|
||||
@@ -17,7 +17,10 @@ This is a tool to automatically bypass Cursor's membership check, automatically
|
||||
這是一個自動化工具,自動繞過Cursor的會員檢查,自動升級為 "pro" 會員,支持 Windows 和 macOS 系統,實時發送Token請求,重置Cursor的配置。
|
||||
|
||||
<p align="center">
|
||||
<img src="./images/pro_2025-01-11_00-51-07.png" alt="Cursor Pro Logo" width="400"/><br>
|
||||
<img src="./images/pro_2025-01-11_00-51-07.png" alt="win" width="400"/><br>
|
||||
</p>
|
||||
<p align="center">
|
||||
<img src="./images/pro_2025-01-13_13-49-55.png" alt="mac" width="400"/><br>
|
||||
</p>
|
||||
<p align="center">
|
||||
<img src="./images/pro_2025-01-11_22-33-09.gif" alt="Cursor Pro Logo" width="600"/><br>
|
||||
@@ -38,6 +41,24 @@ This is a tool to automatically bypass Cursor's membership check, automatically
|
||||
|
||||
|
||||
## 🔄 更新日志
|
||||
<details open>
|
||||
<summary>v1.0.4</summary>
|
||||
|
||||
1. Fix: Cursor's configuration | 修復Cursor的配置問題
|
||||
2. Fix Cloud Lame | 修復雲端慢速模式
|
||||
</details>
|
||||
<details>
|
||||
<summary>v1.0.3</summary>
|
||||
|
||||
1. Fix: Cursor's configuration | 修復Cursor的配置問題
|
||||
2. Add Manual Reset Machine | 增加手動重置機器
|
||||
3. Add CDN Cloud Control WatchDog | 增加CDN雲端控制WatchDog
|
||||
4. Add Mac OS Support | 增加Mac OS支持
|
||||
5. 759 ++ People use , but star only a few | 759 ++人使用,但只有幾個人點贊
|
||||
<p align="center">
|
||||
<img src="./images/what_2025-01-13_13-32-54.png" alt="Why" width="400"/><br>
|
||||
</p>
|
||||
</details>
|
||||
<details>
|
||||
<summary>v1.0.2</summary>
|
||||
|
||||
@@ -78,7 +99,7 @@ This is a tool to automatically bypass Cursor's membership check, automatically
|
||||
</p>
|
||||
</details>
|
||||
|
||||
## Features | 功能特點
|
||||
## ✨ Features | 功能特點
|
||||
|
||||
* Auto bypass Cursor's membership check<br>自動繞過Cursor的會員檢查<br>
|
||||
|
||||
@@ -91,7 +112,7 @@ This is a tool to automatically bypass Cursor's membership check, automatically
|
||||
* Reset Cursor's configuration<br>重置Cursor的配置<br>
|
||||
|
||||
|
||||
## System Support | 系統支持
|
||||
## 💻 System Support | 系統支持
|
||||
|
||||
|Windows|x64|✅|macOS|Intel|✅|
|
||||
|:---:|:---:|:---:|:---:|:---:|:---:|
|
||||
@@ -99,16 +120,16 @@ This is a tool to automatically bypass Cursor's membership check, automatically
|
||||
|Linux|x64|✅|Linux|x86|✅|
|
||||
|Linux|ARM64|✅|Linux|ARM64|✅|
|
||||
|
||||
## How to use | 如何使用
|
||||
## 👀 How to use | 如何使用
|
||||
|⚠️Must logout your account before running the script⚠️|⚠️必須先登出你的帳戶再運行腳本⚠️ |
|
||||
|:---:|:---:|
|
||||
<br>
|
||||
<details open>
|
||||
<summary><b>腳本自動化運行</b></summary>
|
||||
<summary><b>⭐ Auto Run Script | 腳本自動化運行</b></summary>
|
||||
|
||||
**Linux/macOS**
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/install.sh | sudo bash
|
||||
curl -fsSL https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/install.sh -o install.sh && chmod +x install.sh && sudo ./install.sh
|
||||
```
|
||||
|
||||
**Windows**
|
||||
@@ -117,9 +138,23 @@ irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/inst
|
||||
```
|
||||
</details>
|
||||
|
||||
<details open>
|
||||
<summary><b>⭐ Manual Reset Machine | 手動運行重置機器</b></summary>
|
||||
|
||||
**Linux/macOS**
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/reset.sh | sudo bash
|
||||
```
|
||||
|
||||
**Windows**
|
||||
```powershell
|
||||
irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/reset.ps1 | iex
|
||||
```
|
||||
</details>
|
||||
|
||||
2. If you want to stop the script, please press Ctrl+C<br>要停止腳本,請按 Ctrl+C
|
||||
|
||||
## Note | 注意事項
|
||||
## ❗ Note | 注意事項
|
||||
|
||||
* Confirm that Cursor is closed before running the script <br>請確保在運行腳本前已經關閉 Cursor<br>
|
||||
|
||||
@@ -131,7 +166,7 @@ irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/inst
|
||||
|
||||
|
||||
|
||||
## Common Issues | 常見問題
|
||||
## 🚨 Common Issues | 常見問題
|
||||
|
||||
|如果遇到權限問題,請確保:|If you encounter permission issues, please ensure:|
|
||||
|:---:|:---:|
|
||||
@@ -139,13 +174,13 @@ irm https://raw.githubusercontent.com/yeongpin/cursor-free-vip/main/scripts/inst
|
||||
|
||||
|
||||
|
||||
## 貢獻 | Contribution
|
||||
## 🤩 貢獻 | Contribution
|
||||
|
||||
歡迎提交 Issue 和 Pull Request!
|
||||
|
||||
|
||||
|
||||
## Disclaimer | 免責聲明
|
||||
## 📩 Disclaimer | 免責聲明
|
||||
|
||||
本工具僅供學習和研究使用,使用本工具所產生的任何後果由使用者自行承擔。 <br>
|
||||
|
||||
|
||||
BIN
images/pro_2025-01-13_13-49-55.png
Normal file
BIN
images/pro_2025-01-13_13-49-55.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
BIN
images/what_2025-01-13_13-32-54.png
Normal file
BIN
images/what_2025-01-13_13-32-54.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.9 KiB |
@@ -63,6 +63,7 @@ create_temp_dir() {
|
||||
install_cursor_free_vip() {
|
||||
local install_dir="/usr/local/bin"
|
||||
local binary_name="CursorFreeVIP_${VERSION}_${OS}"
|
||||
local binary_path="${install_dir}/cursor-free-vip"
|
||||
local download_url="https://github.com/yeongpin/cursor-free-vip/releases/download/v${VERSION}/${binary_name}"
|
||||
|
||||
echo -e "${CYAN}ℹ️ 正在下載...${NC}"
|
||||
@@ -73,11 +74,33 @@ install_cursor_free_vip() {
|
||||
|
||||
echo -e "${CYAN}ℹ️ 正在安裝...${NC}"
|
||||
chmod +x "${TMP_DIR}/${binary_name}"
|
||||
mv "${TMP_DIR}/${binary_name}" "${install_dir}/cursor-free-vip"
|
||||
mv "${TMP_DIR}/${binary_name}" "$binary_path"
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo -e "${GREEN}✅ 安裝完成!${NC}"
|
||||
echo -e "${CYAN}ℹ️ 您可以通過運行 'cursor-free-vip' 來啟動程序${NC}"
|
||||
|
||||
# 确保有执行权限
|
||||
chmod +x "$binary_path"
|
||||
|
||||
# 获取实际用户
|
||||
REAL_USER=$SUDO_USER
|
||||
if [ -z "$REAL_USER" ]; then
|
||||
REAL_USER=$(whoami)
|
||||
fi
|
||||
|
||||
# 修改所有权
|
||||
chown $REAL_USER "$binary_path"
|
||||
|
||||
echo -e "${CYAN}ℹ️ 正在以普通用戶身份啟動程序...${NC}"
|
||||
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
# macOS: 使用 sudo -u 并保持环境变量
|
||||
HOME_DIR=$(eval echo ~$REAL_USER)
|
||||
sudo -u $REAL_USER HOME=$HOME_DIR "$binary_path"
|
||||
else
|
||||
# Linux
|
||||
su - $REAL_USER -c "$binary_path"
|
||||
fi
|
||||
else
|
||||
echo -e "${RED}❌ 安裝失敗${NC}"
|
||||
exit 1
|
||||
|
||||
127
scripts/reset.ps1
Normal file
127
scripts/reset.ps1
Normal file
@@ -0,0 +1,127 @@
|
||||
# 檢查是否是通過權限提升啟動的
|
||||
param(
|
||||
[switch]$Elevated
|
||||
)
|
||||
|
||||
# 設置顏色主題
|
||||
$Theme = @{
|
||||
Primary = 'Cyan'
|
||||
Success = 'Green'
|
||||
Warning = 'Yellow'
|
||||
Error = 'Red'
|
||||
Info = 'White'
|
||||
}
|
||||
|
||||
# ASCII Logo
|
||||
$Logo = @"
|
||||
██████╗ ███████╗███████╗███████╗████████╗ ████████╗ ██████╗ ██████╗ ██╗
|
||||
██╔══██╗██╔════╝██╔════╝██╔════╝╚══██╔══╝ ╚══██╔══╝██╔═══██╗██╔═══██╗██║
|
||||
██████╔╝█████╗ ███████╗█████╗ ██║ ██║ ██║ ██║██║ ██║██║
|
||||
██╔══██╗██╔══╝ ╚════██║██╔══╝ ██║ ██║ ██║ ██║██║ ██║██║
|
||||
██║ ██║███████╗███████║███████╗ ██║ ██║ ╚██████╔╝╚██████╔╝███████╗
|
||||
╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
|
||||
"@
|
||||
|
||||
# 美化輸出函數
|
||||
function Write-Styled {
|
||||
param (
|
||||
[string]$Message,
|
||||
[string]$Color = $Theme.Info,
|
||||
[string]$Prefix = "",
|
||||
[switch]$NoNewline
|
||||
)
|
||||
$emoji = switch ($Color) {
|
||||
$Theme.Success { "✅" }
|
||||
$Theme.Error { "❌" }
|
||||
$Theme.Warning { "⚠️" }
|
||||
default { "ℹ️" }
|
||||
}
|
||||
|
||||
$output = if ($Prefix) { "$emoji $Prefix :: $Message" } else { "$emoji $Message" }
|
||||
if ($NoNewline) {
|
||||
Write-Host $output -ForegroundColor $Color -NoNewline
|
||||
} else {
|
||||
Write-Host $output -ForegroundColor $Color
|
||||
}
|
||||
}
|
||||
|
||||
# 檢查管理員權限
|
||||
$isAdmin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")
|
||||
if (-NOT $isAdmin) {
|
||||
Write-Styled "需要管理員權限來運行重置工具" -Color $Theme.Warning -Prefix "權限"
|
||||
Write-Styled "正在請求管理員權限..." -Color $Theme.Primary -Prefix "提升"
|
||||
|
||||
# 顯示操作選項
|
||||
Write-Host "`n選擇操作:" -ForegroundColor $Theme.Primary
|
||||
Write-Host "1. 請求管理員權限" -ForegroundColor $Theme.Info
|
||||
Write-Host "2. 退出程序" -ForegroundColor $Theme.Info
|
||||
|
||||
$choice = Read-Host "`n請輸入選項 (1-2)"
|
||||
|
||||
if ($choice -ne "1") {
|
||||
Write-Styled "操作已取消" -Color $Theme.Warning -Prefix "取消"
|
||||
Write-Host "`n按任意鍵退出..." -ForegroundColor $Theme.Info
|
||||
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
|
||||
exit
|
||||
}
|
||||
|
||||
try {
|
||||
Start-Process powershell.exe -Verb RunAs -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`" -Elevated"
|
||||
exit
|
||||
}
|
||||
catch {
|
||||
Write-Styled "無法獲取管理員權限" -Color $Theme.Error -Prefix "錯誤"
|
||||
Write-Styled "請以管理員身份運行 PowerShell 後重試" -Color $Theme.Warning -Prefix "提示"
|
||||
Write-Host "`n按任意鍵退出..." -ForegroundColor $Theme.Info
|
||||
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
# 如果是提升權限後的窗口,等待一下確保窗口可見
|
||||
if ($Elevated) {
|
||||
Start-Sleep -Seconds 1
|
||||
}
|
||||
|
||||
# 顯示 Logo
|
||||
Write-Host $Logo -ForegroundColor $Theme.Primary
|
||||
Write-Host "Created by YeongPin`n" -ForegroundColor $Theme.Info
|
||||
|
||||
# 設置 TLS 1.2
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
|
||||
# 創建臨時目錄
|
||||
$TmpDir = Join-Path $env:TEMP ([System.Guid]::NewGuid().ToString())
|
||||
New-Item -ItemType Directory -Path $TmpDir -Force | Out-Null
|
||||
|
||||
# 清理函數
|
||||
function Cleanup {
|
||||
if (Test-Path $TmpDir) {
|
||||
Remove-Item -Recurse -Force $TmpDir -ErrorAction SilentlyContinue
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
# 下載地址
|
||||
$url = "https://github.com/yeongpin/cursor-free-vip/releases/download/ManualReset/reset_machine_manual.exe"
|
||||
$output = Join-Path $TmpDir "reset_machine_manual.exe"
|
||||
|
||||
# 下載文件
|
||||
Write-Styled "正在下載重置工具..." -Color $Theme.Primary -Prefix "下載"
|
||||
Invoke-WebRequest -Uri $url -OutFile $output
|
||||
Write-Styled "下載完成!" -Color $Theme.Success -Prefix "完成"
|
||||
|
||||
# 執行重置工具
|
||||
Write-Styled "正在啟動重置工具..." -Color $Theme.Primary -Prefix "執行"
|
||||
Start-Process -FilePath $output -Wait
|
||||
Write-Styled "重置完成!" -Color $Theme.Success -Prefix "完成"
|
||||
}
|
||||
catch {
|
||||
Write-Styled "操作失敗" -Color $Theme.Error -Prefix "錯誤"
|
||||
Write-Styled $_.Exception.Message -Color $Theme.Error
|
||||
}
|
||||
finally {
|
||||
Cleanup
|
||||
Write-Host "`n按任意鍵退出..." -ForegroundColor $Theme.Info
|
||||
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown')
|
||||
}
|
||||
Reference in New Issue
Block a user