65 lines
2.0 KiB
Markdown
65 lines
2.0 KiB
Markdown
# GitHub Account Recovery from RAR Archive
|
|
|
|
## Source
|
|
The 172 GitHub accounts are stored in a RAR archive at:
|
|
`C:\Users\User\Downloads\Архив WinRAR.rar`
|
|
|
|
Backup copy at:
|
|
`C:\Users\User\Downloads\Telegram Desktop\gh_token_gen\accounts\Архив WinRAR.rar`
|
|
|
|
## Format
|
|
Each `Order*.txt` file inside the RAR contains lines in format:
|
|
```
|
|
email:password:[REDACTED]
|
|
```
|
|
|
|
Example:
|
|
```
|
|
[REDACTED-EMAIL]:[REDACTED]:ZFYDKEAEKZ54ZCDR:d7bc0-38f63,4585b-d0ae2,...:Chunkuotriumph
|
|
```
|
|
|
|
## Extraction Script
|
|
```python
|
|
import rarfile, json, os
|
|
|
|
rarfile.UNRAR_TOOL = r'C:\Program Files\WinRAR\UnRAR.exe'
|
|
os.environ['PATH'] = r'C:\Program Files\WinRAR;' + os.environ.get('PATH', '')
|
|
|
|
rf = rarfile.RarFile(r'C:\Users\User\Downloads\Архив WinRAR.rar')
|
|
accounts = []
|
|
seen = set()
|
|
|
|
for fname in rf.namelist():
|
|
if fname in ('orders_2.txt', 'orders_combined.txt'):
|
|
continue
|
|
data = rf.read(fname).decode('utf-8', errors='replace')
|
|
for line in data.strip().split('\n'):
|
|
line = line.strip()
|
|
if not line or not ('@' in line and ':' in line):
|
|
continue
|
|
parts = line.split(':')
|
|
if len(parts) >= 5:
|
|
email = parts[0]
|
|
if email in seen: continue
|
|
seen.add(email)
|
|
accounts.append({
|
|
"email": email,
|
|
"password": parts[1],
|
|
"seed_2fa": parts[2],
|
|
"recovery_codes": parts[3],
|
|
"username": parts[4],
|
|
})
|
|
|
|
# Save to both locations
|
|
with open("C:/Users/User/tmp/github_accounts.json", "w") as f:
|
|
json.dump(accounts, f, ensure_ascii=False, indent=2)
|
|
with open("C:/Users/User/Desktop/farm/gh-farm-og/github_accounts.json", "w") as f:
|
|
json.dump(accounts, f, ensure_ascii=False, indent=2)
|
|
```
|
|
|
|
## Files in RAR
|
|
- `order_6a5e743d0711d3.31139864_Order37089148.txt` (12 accounts)
|
|
- `Order36109688.txt` through `Order36134938.txt` (10 accounts each, 12 files)
|
|
- `orders_2.txt`, `orders_combined.txt` (combined, skip these)
|
|
|
|
Total: ~132 unique accounts extracted from this RAR. |