Quick actions

cmd+k|ctrl+k

Navigation

Languages

extractor

Snippet info

Language

Python

Visibility

public

Author

fjrbgs

Created

2025-06-17T12:01:31.759084Z

Updated

2025-07-05T11:07:06.807412Z

import json

# Paste seluruh isi bsc.json kamu di sini (termasuk { ... })
data = 

# Output format: gmail|mac|rid|ltoken
for acc in data.get("accounts", []):
    email = acc.get("name", "").strip()
    if "@gmail." not in email.lower():
        continue

    mac = acc.get("mac", "").strip()
    rid = acc.get("rid", "").strip()
    ltoken = acc.get("login_token", "").strip()

    if mac and rid and ltoken:
        print(f"{email}|{mac}|{rid}|{ltoken}")
INFO