Minecraft account checker (python)

Posts 1–12 of 12 · Page 1 of 1
Minecraft account checker (python)
Hi guys. I created a simple command line account checker with python that will check a list of accounts in a file. Feel free to add to it or give suggestions on how I can improve it.

Documentation
Each account should be on a seperate line. The order should be username[seperatorhere]password or username[seperatorhere]ingame[seperatorhere]password with the seperator being the same.
You can use different arguments alongside the file in the command line to use it to your liking.
These arguments are:

-s : change the separator between the username and password. to use spaces put ^ instead, it will be replaced with a space. (Defaults to : if argument not used)

-f : instruct it what file to read from that contains the usernames and passwords. (Defaults to accounts.txt if not used)

-o : instruct the file to be used to output the working usernames and passwords. (Defaults to output.txt if not used)
NOTE: The output file will be overwritten if the same file is used.

--complex: if used the output file will contain extra information on each account instead of just the working username and passwords
The data is in JSON format and looks like so:
{
"username": // The accounts username for logging in (String)
"password": // The password for logging in (String)
"nickname": // The in game name (String)
"paid": // If the account is paid (Boolean)
"regIP": // Ip where the account was registered (String)
"DOB": // Accounts birth day (String in format day-month-year)
"suspended": // If the account is suspended (Boolean)
"blocked": // If the account is blocked (Boolean)
"emailVerified": // If the account is verified with an email (Boolean)
"secured": // If the account is 'secure' (Boolean)
}
If not used the output will be the accounts that worked formatted how they were inputted

Example
This example should work on any OS but definitely works on linux:
python accountchecker.py -f list -o working -s = --complex

accountchecker_mpgh.net.zip1 KB · 696 downloads Clean
Update:
Fixed a typo that would stop it working

Fix:
On line 97 change "workingCount" to "workedCount"
I can't post links so can't share the updated code myself.
Quote Originally Posted by notreall View Post
Update:
Fixed a typo that would stop it working

Fix:
On line 97 change "workingCount" to "workedCount"
I can't post links so can't share the updated code myself.
I just did that but now I get a new error

C:\Users\alex\Desktop\Python>accountchecker.py
File "C:\Users\Force\Desktop\Python\accountchecker. py", line 91
except urllib2.HTTPError, f:
^
SyntaxError: invalid syntax
Quote Originally Posted by notreall View Post
Hi guys. I created a simple command line account checker with python that will check a list of accounts in a file. Feel free to add to it or give suggestions on how I can improve it.

Documentation
Each account should be on a seperate line. The order should be username[seperatorhere]password or username[seperatorhere]ingame[seperatorhere]password with the seperator being the same.
You can use different arguments alongside the file in the command line to use it to your liking.
These arguments are:

-s : change the separator between the username and password. to use spaces put ^ instead, it will be replaced with a space. (Defaults to : if argument not used)

-f : instruct it what file to read from that contains the usernames and passwords. (Defaults to accounts.txt if not used)

-o : instruct the file to be used to output the working usernames and passwords. (Defaults to output.txt if not used)
NOTE: The output file will be overwritten if the same file is used.

--complex: if used the output file will contain extra information on each account instead of just the working username and passwords
The data is in JSON format and looks like so:
{
"username": // The accounts username for logging in (String)
"password": // The password for logging in (String)
"nickname": // The in game name (String)
"paid": // If the account is paid (Boolean)
"regIP": // Ip where the account was registered (String)
"DOB": // Accounts birth day (String in format day-month-year)
"suspended": // If the account is suspended (Boolean)
"blocked": // If the account is blocked (Boolean)
"emailVerified": // If the account is verified with an email (Boolean)
"secured": // If the account is 'secure' (Boolean)
}
If not used the output will be the accounts that worked formatted how they were inputted

Example
This example should work on any OS but definitely works on linux:
python accountchecker.py -f list -o working -s = --complex

Added on IM, I'm seeing something that you can improve ^^, I don't wanna bother ^^
thank you sir
except urllib2.HTTPError, f:
^
SyntaxError: invalid syntax

Getting this error
me too, same problem
Can you help me through this? I am not sure how to get it working.

In CMD I type CD C:\Users\Force\Desktop\Python

next line i type accountchecker.py

it says
File "C:\Users\Force\Desktop\Python\accountchecker. py", line 91
except urllib2.HTTPError, f:
^
SyntaxError: invalid syntax
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us