Code Monkey home page Code Monkey logo

python-ethredcryptomagic.py---view-1000---file-eth5.txt---thread-32's Introduction

For Running Example : python EthRedCryptoMAGIC.py -f eth5.txt -v 10000 -n 32

----------------------------- Programmer Mmdrza.Com ----------------------

import ctypes import time import optparse import multiprocessing from bip_utils import Bip32Slip10Secp256k1, Bip39MnemonicGenerator, Bip39SeedGenerator, Bip39WordsNum, EthAddrEncoder from rich import print

def Main(): p = optparse.OptionParser() p.add_option('-f', '--file', dest="filenameEth", help="Ethereum Rich Address File With Type Format .TXT [Example: -f eth5.txt] ") p.add_option('-v', '--view', dest="ViewPrint", help="Print After Generated This Number Print And Report") p.add_option('-n','--thread', dest="ThreadCount", help="Total Thread Number (Total Core CPU)") (options, args) = p.parse_args() filename = options.filenameEth logpx = options.ViewPrint thco = options.ThreadCount # ----------------------- START ------------------------------ # with open(filename) as f: add = f.read().split() add = set(add) z = 0 fu = 0 logp = 0

while True:
    z += 1
    ctypes.windll.kernel32.SetConsoleTitleW(f"MATCH:{fu} SCAN:{z}")
    mnemonic = Bip39MnemonicGenerator().FromWordsNumber(Bip39WordsNum.WORDS_NUM_24)
    seed_bytes = Bip39SeedGenerator(mnemonic).Generate()
    bip32_mst_ctx = Bip32Slip10Secp256k1.FromSeed(seed_bytes)
    MasterKey = bip32_mst_ctx.PrivateKey().Raw().ToHex()
    bip32_der_ctx = bip32_mst_ctx.DerivePath("m/44'/60'/0'/0/0")
    PrivateKeyBytes = bip32_der_ctx.PrivateKey().Raw().ToHex()
    addr = EthAddrEncoder.EncodeKey(bip32_der_ctx.PublicKey().KeyObject())
    Words24 = str(mnemonic)
    if addr in add:
        fu += 1
        print(f"[green1][+] MATCH ADDRESS FOUND IN LIST IMPORTED :[/green1] [white]{addr}[/white]")
        print(
            f"PrivateKey (Byte) : [green1]{PrivateKeyBytes}[/green1]\n[gold1]{mnemonic}[/gold1]\n[red1]MasterKey (Byte) : [/red1][green1]{MasterKey}[/green1]")
        with open('FoundMATCHAddr.txt', 'a') as f:
            f.write(
                f"{addr}\n{PrivateKeyBytes}\n{mnemonic}\n{MasterKey}\n------------------------- MMDRZA.Com -------------------\n")
            f.close()
    elif int(z) % int(logpx) == 0:
        logp += int(logpx)
        print(
            f"[red][[green1]+[/green1]][GENERATED[white] {logp}[/white] ETH ADDR][WITH [white]128 THREAD[/white]][sK/Th:[white]{time.thread_time()}[/white]][/red]\n[red][[green1]{PrivateKeyBytes.upper()}[/green1]][/red]")
        print(
            f"[red][MasterKey : [white]{MasterKey.upper()}[/white]][/red]\n[white on red3][MNEMONIC : {Words24[0:64]}...][/white on red3]")
    else:
        print(
            f"[red][-][ GENERATED [cyan]{z}[/cyan] ETH ADDR ][FOUND:[white]{fu}[/white]][THREAD:[cyan]{thco}[/cyan]][/red]",
            end="\r")

jobs = [] if name == 'main': m = multiprocessing.Process(target=Main) jobs.append(m) m.start()

python-ethredcryptomagic.py---view-1000---file-eth5.txt---thread-32's People

Contributors

samancctv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.