import random
import hashlib
import time

import socket

              

def tHeader(tgt):
    start = time.time()
    t = str(random.getrandbits(64)).encode('utf-8')
    val = hashlib.sha256(t).hexdigest()
    nonce = 0
    while int(val,16)>int(tgt,16):
        temp = int(val,16) + nonce
        val = hashlib.sha256((hex(temp)).encode('utf-8')).hexdigest()
        nonce+=1
    return val

tgt = hex(10**10)

s = socket.socket()         
host = socket.gethostname() 
port = 5005               
s.bind((host, port))        

s.listen(5)                 
while True:
   c, addr = s.accept()
   val = tHeader(tgt)
   c.send(int(val, 16))
   c.close()  

1563ca18bc4f5b5425e3806ec9b720c2325351af
<mask token>


def tHeader(tgt):
    start = time.time()
    t = str(random.getrandbits(64)).encode('utf-8')
    val = hashlib.sha256(t).hexdigest()
    nonce = 0
    while int(val, 16) > int(tgt, 16):
        temp = int(val, 16) + nonce
        val = hashlib.sha256(hex(temp).encode('utf-8')).hexdigest()
        nonce += 1
    return val


<mask token>

<mask token>


def tHeader(tgt):
    start = time.time()
    t = str(random.getrandbits(64)).encode('utf-8')
    val = hashlib.sha256(t).hexdigest()
    nonce = 0
    while int(val, 16) > int(tgt, 16):
        temp = int(val, 16) + nonce
        val = hashlib.sha256(hex(temp).encode('utf-8')).hexdigest()
        nonce += 1
    return val


<mask token>
s.bind((host, port))
s.listen(5)
while True:
    c, addr = s.accept()
    val = tHeader(tgt)
    c.send(int(val, 16))
    c.close()

<mask token>


def tHeader(tgt):
    start = time.time()
    t = str(random.getrandbits(64)).encode('utf-8')
    val = hashlib.sha256(t).hexdigest()
    nonce = 0
    while int(val, 16) > int(tgt, 16):
        temp = int(val, 16) + nonce
        val = hashlib.sha256(hex(temp).encode('utf-8')).hexdigest()
        nonce += 1
    return val


tgt = hex(10 ** 10)
s = socket.socket()
host = socket.gethostname()
port = 5005
s.bind((host, port))
s.listen(5)
while True:
    c, addr = s.accept()
    val = tHeader(tgt)
    c.send(int(val, 16))
    c.close()

import random
import hashlib
import time
import socket


def tHeader(tgt):
    start = time.time()
    t = str(random.getrandbits(64)).encode('utf-8')
    val = hashlib.sha256(t).hexdigest()
    nonce = 0
    while int(val, 16) > int(tgt, 16):
        temp = int(val, 16) + nonce
        val = hashlib.sha256(hex(temp).encode('utf-8')).hexdigest()
        nonce += 1
    return val


tgt = hex(10 ** 10)
s = socket.socket()
host = socket.gethostname()
port = 5005
s.bind((host, port))
s.listen(5)
while True:
    c, addr = s.accept()
    val = tHeader(tgt)
    c.send(int(val, 16))
    c.close()

import random
import hashlib
import time

import socket

              

def tHeader(tgt):
    start = time.time()
    t = str(random.getrandbits(64)).encode('utf-8')
    val = hashlib.sha256(t).hexdigest()
    nonce = 0
    while int(val,16)>int(tgt,16):
        temp = int(val,16) + nonce
        val = hashlib.sha256((hex(temp)).encode('utf-8')).hexdigest()
        nonce+=1
    return val

tgt = hex(10**10)

s = socket.socket()         
host = socket.gethostname() 
port = 5005               
s.bind((host, port))        

s.listen(5)                 
while True:
   c, addr = s.accept()
   val = tHeader(tgt)
   c.send(int(val, 16))
   c.close()  
