curly60e / pyblock

ℙ𝕪𝔹𝕃𝕆ℂ𝕂 𝕚𝕥𝕤 𝕒 𝔹𝕚𝕥𝕔𝕠𝕚𝕟 𝔻𝕒𝕤𝕙𝕓𝕠𝕒𝕣𝕕 𝕨𝕚𝕥𝕙 ℂ𝕪𝕡𝕙𝕖𝕣𝕡𝕦𝕟𝕜 𝕒𝕖𝕤𝕥𝕙𝕖𝕥𝕚𝕔.
MIT License
102 stars 22 forks source link

Check The Pool PoC .py #723

Closed SatoshiNakamotoBitcoin closed 2 months ago

SatoshiNakamotoBitcoin commented 2 months ago

Check The Pool by PyBLOCK Crew.

import json from pprint import pprint import signal import sys signal.signal(signal.SIGINT, lambda x, y: sys.exit(0))

def CheckThePool(): try: clear() blogo() output = render("Check The Pool", colors=['yellow'], align='left', font='tiny') print(output) responseA = input("Pool Link or Ip. Like pool.pyblock.xyz: ") responseB = input("Pool Port Stratum. Like 3333: ") os.system(f"nc {responseA} {responseB} -vvv | jq -C") print(output) input("Press Enter to Continue.") clear() blogo() responseC = ("""{"id": 1, "method": "mining.subscribe", "params": []}""") os.system(f"{responseC}") print(output) input("Press Enter to Continue.") clear() blogo() responseD = ("""{"params": ["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", "x"], "id": 2, "method": "mining.authorize"}""") os.system(f"{responseD}") print(output) input("Press Enter to Continue.") clear() blogo() responseE = ("""{"id": 3, "result": true, "error": null}""") os.system(f"{responseE}") print(output) input("Press Enter to Continue.") clear() blogo() print(output) input("\a\nContinue...") except: menuSelection()

SatoshiNakamotoBitcoin commented 2 weeks ago

{"id": 3, "method": "mining.submit", "params": ["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", "6713ca8300003c28", "0c17000000000000", "671ae727", "66ee008e", "07da4000"]}

SatoshiNakamotoBitcoin commented 5 hours ago

Tests BitAxe:

{"id": 1, "method": "mining.subscribe", "params": ["bitaxe/BM1368/v2.3.0"]}

{"id": 2, "method": "mining.configure", "params": [["version-rolling"], {"version-rolling.mask": "ffffffff"}]}

{"id": 3, "method": "mining.authorize", "params": ["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", "x"]}

{"id": 4, "method": "mining.suggest_difficulty", "params": [1000]}