准备
检查 rust 版本,要求 ≥ 1.82
rustc --version
如果版本落后
rustup update stable
如果还没有安装
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
安装
git clone https://github.com/Yoo1tic/Gemini-Keychecker.git --depth=1 checker && cd $_
编译
cargo build --release
软链
ln -sf target/release/gemini-keychecker gemini-keychecker
运行
./gemini-keychecker -c 10 -t 10 -b keys.txt
keys.txt 格式如下
AIzaSyxxxxxxxxxxxxxxefghij
AIzaSyxxxxxxxxxxxxxxefghij
AIzaSyxxxxxxxxxxxxxxefghij
完成后会在目录生成
- backup.txt
- paidkey.txt
- freekey.txt