|
1 | 1 | import random
|
2 |
| -from rich import print |
| 2 | +import time |
| 3 | + |
| 4 | +import requests |
| 5 | +from blessed import Terminal |
| 6 | +import psutil |
3 | 7 | from rich.panel import Panel
|
4 | 8 | from rich.console import Console
|
5 |
| -from hdwallet import HDWallet |
6 |
| -from hdwallet import BIP44HDWallet |
7 |
| -from hdwallet.cryptocurrencies import EthereumMainnet as Cryptocurrency |
8 |
| -from hdwallet.utils import is_mnemonic |
| 9 | +from rich.style import Style |
| 10 | +from cryptofuzz import Convertor, Ethereum |
9 | 11 | from mnemonic import Mnemonic
|
10 |
| -from multiprocessing import Process |
11 |
| -from requests_html import HTMLSession |
12 |
| -import base64 |
| 12 | +import os |
| 13 | +import sys |
13 | 14 |
|
| 15 | +conv = Convertor() |
| 16 | +eth = Ethereum() |
14 | 17 | console = Console()
|
15 | 18 |
|
16 |
| -e = "ZnJvbSBmYWtlX3VzZXJhZ2VudCBpbXBvcnQgVXNlckFnZW50CmltcG9ydCBiYXNlNjQKaW1wb3J0IHJhbmRvbQoKCmNvbnNvbGUgPSBDb25zb2xlKCkKZGVmIGdldFVzZXJBZ2VudCgpOgogICAgdWEgPSBVc2VyQWdlbnQoKQogICAgcmV0dXJuIHVhLnJhbmRvbQoKCmRlZiBiYWxhbmNlKGFkZHIpOgogICAgdXJsX24gPSBmImh0dHBzOi8vZXRoZXJldW0uYXRvbWljd2FsbGV0LmlvL2FkZHJlc3Mve2FkZHJ9IgogICAgc2UgPSBIVE1MU2Vzc2lvbigpCiAgICBoZWFkZXJzID0geyJVc2VyLUFnZW50IjogZ2V0VXNlckFnZW50KCl9CiAgICBubXAgPSBzZS5nZXQodXJsX24sIGhlYWRlcnM9aGVhZGVycykKICAgIE1hc3RlciA9IG5tcC5odG1sLnhwYXRoKCcvaHRtbC9ib2R5L21haW4vZGl2L3RhYmxlL3Rib2R5L3RyWzJdL3RkWzJdL3NwYW4vc3BhblsxXScpCiAgICByZXR1cm4gTWFzdGVyWzBdLnRleHQKCgpkZWYgdHJhbnNhY3Rpb24oYWRkcik6CiAgICB1cmxfbiA9IGYiaHR0cHM6Ly9ldGhlcmV1bS5hdG9taWN3YWxsZXQuaW8vYWRkcmVzcy97YWRkcn0iCiAgICBzZSA9IEhUTUxTZXNzaW9uKCkKICAgIGhlYWRlcnMgPSB7IlVzZXItQWdlbnQiOiBnZXRVc2VyQWdlbnQoKX0KICAgIG5tcCA9IHNlLmdldCh1cmxfbiwgaGVhZGVycz1oZWFkZXJzKQogICAgTWFzdGVyID0gbm1wLmh0bWwueHBhdGgoJy9odG1sL2JvZHkvbWFpbi9kaXYvdGFibGUvdGJvZHkvdHJbM10vdGRbMl0nKQogICAgcmV0dXJuIE1hc3RlclswXS50ZXh0Cg==" |
17 |
| - |
18 |
| -exec(base64.b64decode(e).decode()) |
19 |
| - |
20 |
| - |
21 |
| -def mmdrza(): |
22 |
| - z = 1 |
23 |
| - w = 0 |
24 |
| - while True: |
25 |
| - z += 1 |
26 |
| - |
27 |
| - langrnd = ['english'] |
28 |
| - sellan = random.choice(langrnd) |
29 |
| - mne = Mnemonic(str(sellan)) |
30 |
| - listno = ["128", "256"] |
31 |
| - rnd = random.choice(listno) |
32 |
| - words = mne.generate(strength=int(rnd)) |
33 |
| - STRENGTH = int(rnd) |
34 |
| - LANGUAGE: str = (sellan) |
35 |
| - MNEMONIC = words |
36 |
| - PASSPHRASE: str = None |
37 |
| - assert is_mnemonic(mnemonic=words, language=sellan) |
38 |
| - |
39 |
| - bip44_hdwallet: BIP44HDWallet = BIP44HDWallet(cryptocurrency=Cryptocurrency, account=0, change=False, |
40 |
| - address=0) |
41 |
| - bip44_hdwallet.from_mnemonic(mnemonic=MNEMONIC, passphrase=PASSPHRASE, language=LANGUAGE) |
42 |
| - mixword = words[:32] |
43 |
| - addr = bip44_hdwallet.p2pkh_address() |
44 |
| - # addr ='0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de' |
45 |
| - priv = bip44_hdwallet.private_key() |
46 |
| - # ======================================= |
47 |
| - |
48 |
| - # ======================================= |
49 |
| - MmdrzaPanel = str( |
50 |
| - '[gold1 on grey15]Total Checked: ' + '[orange_red1]' + str( |
51 |
| - z) + '[/][gold1 on grey15] ' + ' Win:' + '[white]' + str( |
52 |
| - w) + '[/]' + '[grey74] ReqSpeed: ' + '[/][gold1] Balance: ' + '[/][aquamarine1]' + str( |
53 |
| - balance(addr)) + '[/][gold1] Transaction : ' + '[/][aquamarine1]' + str( |
54 |
| - transaction(addr)) + '\n[/][gold1 on grey15]Addr: ' + '[white] ' + str( |
55 |
| - addr) + '[/]\nPRIVATEKEY: [grey54]' + str(priv) + '[/]') |
56 |
| - style = "gold1 on grey11" |
57 |
| - console.print(Panel(str(MmdrzaPanel), title="[white]Ethereum Mnemonic Checker V3[/]", |
58 |
| - subtitle="[green_yellow blink] Mmdrza.Com [/]", style="green"), style=style, justify="full") |
59 |
| - |
60 |
| - z += 1 |
61 |
| - iffer = '0 ETH' |
62 |
| - if balance(addr) != iffer: |
63 |
| - w += 1 |
64 |
| - f1 = open('Winner___ETH___WalletWinner.txt', 'a') |
65 |
| - f1.write(f'\nAddress === {addr}') |
66 |
| - f1.write(f'\nPrivateKey === {priv}') |
67 |
| - f1.write(f'\nMnemonic === {words}') |
68 |
| - f1.write(f'\nBalance === {balance(addr)}') |
69 |
| - f1.write(f'\nTransaction === {transaction(addr)}') |
70 |
| - f1.write(f'\n -------[ M M D R Z A . C o M ]------ \n') |
71 |
| - f1.close() |
72 |
| - |
73 |
| - # ============================ |
74 |
| - |
75 |
| - |
76 |
| -mmdrza() |
77 |
| - |
78 |
| -if __name__ == '__main__': |
79 |
| - for i in range(len(add)): |
80 |
| - p = multiprocessing.Process(target=mmdrza) |
81 |
| - p.start() |
82 |
| - p.join() |
| 19 | + |
| 20 | +def OnClear(): |
| 21 | + if "win" in sys.platform.lower(): |
| 22 | + os.system("cls") |
| 23 | + else: |
| 24 | + os.system("clear") |
| 25 | + |
| 26 | + |
| 27 | +def balance(addr): |
| 28 | + url_n = f"https://ethereum.atomicwallet.io/api/v2/address/{addr}" |
| 29 | + req = requests.get(url_n) |
| 30 | + if req.status_code == 200: |
| 31 | + return dict(req.json())["balance"] |
| 32 | + else: |
| 33 | + return "0" |
| 34 | + |
| 35 | + |
| 36 | +def transaction(addr): |
| 37 | + req = requests.get(f"https://ethereum.atomicwallet.io/api/v2/address/{addr}") |
| 38 | + if req.status_code == 200: |
| 39 | + return int(dict(req.json())["txs"]) |
| 40 | + else: |
| 41 | + return 0 |
| 42 | + |
| 43 | + |
| 44 | +def draw_system_status(term): |
| 45 | + cpu_percent = psutil.cpu_percent() |
| 46 | + ram_percent = psutil.virtual_memory().percent |
| 47 | + disk_percent = psutil.disk_usage('/').percent |
| 48 | + termWidth = term.width |
| 49 | + system_status = ( |
| 50 | + f'\n{draw_graph("CPU", cpu_percent, termWidth)}\n' |
| 51 | + f'\n{draw_graph("RAM", ram_percent, termWidth)}\n' |
| 52 | + f'\n{draw_graph("HDD", disk_percent, termWidth)}\n' |
| 53 | + ) |
| 54 | + return system_status |
| 55 | + |
| 56 | + |
| 57 | +def draw_ethereum_info(z, w, addr, priv, mixWord, txs): |
| 58 | + MmdrzaPanel = ( |
| 59 | + f'\n[gold1]Total Checked: [orange_red1]{z}[/][gold1] Win: [white]{w}[/]' |
| 60 | + f'[gold1] Transaction: [/][aquamarine1]{txs}\n\n[/][gold1]ADDR: [white] {addr}[/white]\n\n' |
| 61 | + f'PRIVATE: [grey54]{priv}[/grey54]\n\nMNEMONIC: [white]{mixWord}[/white]\n' |
| 62 | + ) |
| 63 | + return MmdrzaPanel |
| 64 | + |
| 65 | + |
| 66 | +def draw_graph(title, percent, width): |
| 67 | + bar_length = int(width - 17) |
| 68 | + num_blocks = int(percent * bar_length / 100) |
| 69 | + dash = "[grey54]–[/]" |
| 70 | + barFill = "[green]▬[/]" |
| 71 | + bar = barFill * num_blocks + dash * (bar_length - num_blocks) |
| 72 | + return f"[white]{title}[/]: |{bar}| {percent}%" |
| 73 | + |
| 74 | + |
| 75 | +def main(): |
| 76 | + term = Terminal() |
| 77 | + with term.fullscreen(): |
| 78 | + with term.cbreak(), term.hidden_cursor(): |
| 79 | + OnClear() |
| 80 | + while True: |
| 81 | + z = 0 |
| 82 | + w = 0 |
| 83 | + while True: |
| 84 | + system_status = draw_system_status(term) |
| 85 | + draw_system_status_panel = Panel(system_status, border_style="grey66") |
| 86 | + mne = Mnemonic("english") |
| 87 | + NumberList = [128, 256] |
| 88 | + randomSize = random.choice(NumberList) |
| 89 | + words = mne.generate(strength=randomSize) |
| 90 | + priv = conv.mne_to_hex(words) |
| 91 | + addr = eth.hex_addr(priv) |
| 92 | + mixWord = words[:64] |
| 93 | + txs = transaction(addr) |
| 94 | + if txs > 0: |
| 95 | + w += 1 |
| 96 | + with open("Found.txt", "a") as fr: |
| 97 | + fr.write(f"{addr} TXS: {txs} BAL: {balance(addr)}\n") |
| 98 | + fr.write(f"{priv}\n") |
| 99 | + fr.write(f"{words}\n") |
| 100 | + fr.write(f"{'-' * 50}\n") |
| 101 | + MmdrzaPanel = draw_ethereum_info(z, w, addr, priv, mixWord, txs) |
| 102 | + with term.location(0, 1): |
| 103 | + console.print(draw_system_status_panel, justify="full", soft_wrap=True) |
| 104 | + console.print(Panel(MmdrzaPanel, title="[white]Ethereum Mnemonic Checker V3[/]", |
| 105 | + subtitle="[green_yellow blink] Mmdrza.Com [/]", style="green"), |
| 106 | + justify="full", soft_wrap=True) |
| 107 | + z += 1 |
| 108 | + |
| 109 | + |
| 110 | +if __name__ == "__main__": |
| 111 | + main() |
0 commit comments