f-o / MEGA-Account-Generator

🔴 MEGA.nz account generator written in Python. Uses Mail.tm temporary emails for generating accounts, and automatically verifies them. Can also be used to keep accounts alive, by periodically logging in to them.
MIT License
66 stars 10 forks source link

Error sign in accounts #6

Open Mrclean0091 opened 4 months ago

Mrclean0091 commented 4 months ago

I get this error every time I try to sign in, but I can manually on the site mega.nz Capture .

f-o commented 3 months ago

Hello,

I have a hard time replicating this. All my accounts are properly signing in. Even the fthcapital.com ones. Is there a chance you could lend me one of your accounts that is having this issue? That way it will be easier for me to troubleshoot.

You can post it here, in the issue, or send it to me at tds7ddn7@mailer.me.

Mrclean0091 commented 3 months ago

Ok i sent you the mail and password. Hope this help me.

f-o commented 3 months ago

Ok i sent you the mail and password. Hope this help me.

Thanks! I received your email. I will look into it and see what I can do!

f-o commented 3 months ago

Once again, thanks for sending me the CSV file.

I just ran the script on your accounts, and all of them seemed to sign in successfully. Could you please try to run the script again, and see if you still have the error? You might have been temporarily IP banned from MEGA.

Otherwise you can run this script, and report back what is printed in the console. Just save it in the same directory as the other files.

signin_debug.py

import csv
import subprocess
import time

def main():
    with open("accounts.csv") as csvfile:
        csvreader = csv.reader(csvfile)
        for row in csvreader:
            if not row or row[0] == "Email":
                continue

            # CSV Format
            # ["Email", "MEGA Password", "Usage", "Mail.tm Password", "Mail.tm ID", "Purpose"]
            time.sleep(1)

            email = row[0].strip()
            password = row[1].strip()

            # login
            login = subprocess.run(
                [
                    "megatools",
                    "ls",
                    "-u",
                    email,
                    "-p",
                    password,
                ],
                universal_newlines=True,
                stdout=subprocess.PIPE,
                stderr=subprocess.PIPE,
            )
            if "/Root" in login.stdout:
                print(f"> [{email}]: Successefully logged in")
            else:
                print(f"> [{email}]: ERROR")
                print(login.stdout)

if __name__ == "__main__":
    main()
Mrclean0091 commented 3 months ago

This error may occur when you create an account with the same passwords.

f-o commented 3 months ago

I removed your comment for security reasons.

It's still a bit odd to me, because I was able to sign in to all of the accounts, as can be seen here: image

Do you by any chance have a VPN you could try to enable, and see if it fixes the issue? I will continue to look into this.

Mrclean0091 commented 3 months ago

No i don't have a vpn. But i noticed that when i log in manually and change the password, it works.