Spaces:
Running
Running
Download Ta from Fantasy112/Da: direct link, hf CLI and curl.
- Browser
- Download file 4.42 kB
-
https://huggingface.co/spaces/Fantasy112/Da/resolve/main/Ta
- Command line
-
hf download hf://spaces/Fantasy112/Da/Ta
-
curl -L -o Ta https://huggingface.co/spaces/Fantasy112/Da/resolve/main/Ta
4.42 kB
| import hashlib | |
| import ecdsa | |
| import time | |
| from multiprocessing import Pool, cpu_count | |
| # 1. ข้อมูลเป้าหมายจากพัซเซิลเบอร์ 71 | |
| TARGET_RIPEMD160 = "f6f5431d25bbf7b12e8add9af5e3475c44a0a5b8" | |
| START_HEX = "40000000000000000" | |
| END_HEX = "7ffffffffffffffff" | |
| # 2. พิกัดเริ่มต้นของคุณและเป้าหมายการรัน (ปลอดภัยที่ 10 ล้านคีย์ต่อครั้ง) | |
| PROGRESS_PERCENT = 66.75380767327 | |
| TOTAL_KEYS_TO_RUN = 10_000_000 | |
| def check_key_range_stealth(args): | |
| """ ฟังก์ชันสแกนคีย์แบบหลบเลี่ยงการใช้ทรัพยากรเกินขีดจำกัด """ | |
| start, end = args | |
| ripemd160_obj = hashlib.new('ripemd160') | |
| count = 0 | |
| for current_key in range(start, end): | |
| count += 1 | |
| # [เทคนิคหลบภัยที่ 1] ทุกๆ 1,000,000 คีย์ ให้หยุดพัก 1 วินาที | |
| # เพื่อให้กราฟ CPU ดรอปตัวลง ระบบตรวจจับจะไม่มองว่าเป็นบอทรันเต็มพิกัดตลอดเวลา | |
| if count % 1_000_000 == 0: | |
| time.sleep(1.0) | |
| priv_bytes = current_key.to_bytes(32, byteorder='big') | |
| # แปลงพิกัดแบบประหยัดพลังงาน | |
| sk = ecdsa.SigningKey.from_string(priv_bytes, curve=ecdsa.SECP256k1) | |
| vk = sk.verifying_key | |
| x_str = vk.to_string()[:32] | |
| if vk.pubkey.point.y() % 2 == 0: | |
| pub_key_compressed = b'\x02' + x_str | |
| else: | |
| pub_key_compressed = b'\x03' + x_str | |
| # แฮชตรวจสอบ | |
| sha256_hash = hashlib.sha256(pub_key_compressed).digest() | |
| r160 = ripemd160_obj.copy() | |
| r160.update(sha256_hash) | |
| current_hash = r160.hexdigest() | |
| if current_hash == TARGET_RIPEMD160: | |
| return current_key | |
| return None | |
| if __name__ == '__main__': | |
| # คำนวณจุดเริ่มต้นจริงตามสูตรเปอร์เซ็นต์ | |
| absolute_start = int(START_HEX, 16) | |
| absolute_end = int(END_HEX, 16) | |
| total_range_size = absolute_end - absolute_start | |
| offset = int(total_range_size * (PROGRESS_PERCENT / 100)) | |
| custom_start_key = absolute_start + offset | |
| custom_end_key = custom_start_key + TOTAL_KEYS_TO_RUN | |
| print(f"[*] เปิดใช้งานโหมดคำนวณแบบปลอดภัย (Stealth Mode)") | |
| print(f"[*] ตรวจสอบพิกัดเป้าหมาย: {PROGRESS_PERCENT}%") | |
| print(f"[*] เริ่มค้นหาจาก: {hex(custom_start_key)}") | |
| print(f"[*] สิ้นสุดบล็อกที่: {hex(custom_end_key)}") | |
| print("-" * 60) | |
| # แบ่งงานตามจำนวน Core ของระบบ | |
| num_cores = cpu_count() | |
| chunk_size = TOTAL_KEYS_TO_RUN // num_cores | |
| ranges = [] | |
| for i in range(num_cores): | |
| s = custom_start_key + (i * chunk_size) | |
| e = s + chunk_size if i < num_cores - 1 else custom_end_key | |
| ranges.append((s, e)) | |
| print(f"[*] จัดคิวงานกระจายไปยัง CPU ทั้ง {num_cores} คอร์...") | |
| print(f"[*] ระบบกำลังประมวลผล (มีลูปหน่วงเวลาอุณหภูมิเครื่อง จะใช้เวลาเพิ่มขึ้นเล็กน้อย)...") | |
| with Pool(num_cores) as pool: | |
| results = pool.map(check_key_range_stealth, ranges) | |
| found_key = next((res for res in results if res is not None), None) | |
| print("-" * 60) | |
| if found_key: | |
| print(f"[+] ความสำเร็จ!! ค้นพบคีย์ที่ถูกต้อง:") | |
| print(f"Private Key (Hex): {hex(found_key)}") | |
| else: | |
| print(f"[!] ตรวจสอบบล็อก 10 ล้านคีย์เสร็จสิ้นเรียบร้อย (ไม่พบพฤติกรรมผิดปกติในระบบ)") | |