Giter Site home page Giter Site logo

ptcaccount's People

Contributors

jepayne1138 avatar ryanza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ptcaccount's Issues

[Request] random_account return dictionary

Currently an ordered list is returned which works but it'd be better if a named dictionary were used.

return {'user': try_username, 'password': password, 'email': try_email}

error

hi guys,

i got this error. can anyone help me?

Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/ptc", line 9, in
load_entry_point('PTCAccount==1.2.1', 'console_scripts', 'ptc')()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ptcaccount/console.py", line 45, in entry
args.username, args.password, args.email, args.email_tag
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ptcaccount/accountcreator.py", line 379, in random_account
try_username, password, try_email
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ptcaccount/accountcreator.py", line 226, in create_account
resp_code=200
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ptcaccount/accountcreator.py", line 88, in request
raise PTCInvalidStatusCodeException(str(resp.status_code))
ptcaccount.ptcexceptions.PTCInvalidStatusCodeException: 500

Random unveryfied accounts don't work

Hello i just wanted to know why random accounts are implemented, when you create an account and cant verify it's email i cant use the account for Pokemoin-map or other services until i verify them.

PTC no longer working ?

I was using this script until about couple hours ago, and now nothing outputs after

Creating new account(s):
and it will not finish running the script.

Maybe something has changed ?

the --email-tag

i'm rly new to the python thingy so i get the making an account part but how do i use the --email-tag thing? also i'm making accounts calling them "example1" and just increasing the number, is there any way to make it increase it by it self so making alot of accounts go faster? :D

Problems running ur script

I try to run ur script on command prompt and double clicking it but its not working, can u make a video or a instructions please?

When i double click it, automatically close its and i cant see the error

requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(54 bytes read)', IncompleteRead

Hi,

i'll get

Traceback (most recent call last):
  File "/usr/local/bin/ptc", line 9, in <module>
    load_entry_point('PTCAccount==v1.2.1', 'console_scripts', 'ptc')()
  File "/usr/local/lib/python2.7/dist-packages/ptcaccount/console.py", line 45, in entry
    args.username, args.password, args.email, args.email_tag
  File "/usr/local/lib/python2.7/dist-packages/ptcaccount/accountcreator.py", line 379, in random_account
    try_username, password, try_email
  File "/usr/local/lib/python2.7/dist-packages/ptcaccount/accountcreator.py", line 226, in create_account
    resp_code=200
  File "/usr/local/lib/python2.7/dist-packages/ptcaccount/accountcreator.py", line 84, in request
    resp = self.send(prepped)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 617, in send
    r.content
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 741, in content
    self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 667, in generate
    raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(54 bytes read)', IncompleteRead(54 bytes read))

when i run

ptc -u *** -p *** -e ***

what can i do?

Username already exists/Does nothing

Was working for the first few times
Now it says the username already exists on everything if i specify one
OR!
If i don't specify any paramaters and it goes to make a random account, it just sits there and does nothing.

There is no "PTC" command available

I've installed it and use python 2.7. typing "ptc" doesn't do anything and I can't find the "ptc.py" file to run anyhow. Which py do I need to run after install?

[SUGGESTION] Retry account creation after receiving wrong status code

When I ran the script earlier today, I got a lot of these errors
ptcaccount.ptcexceptions.PTCInvalidStatusCodeException: 500

I was able to fix this by wrapping all your calls to PTCSession.request like this

session = PTCSession()
while True:
        try:
            session.request(...)
            session.request(...)
            session.request(...)
        except PTCInvalidStatusCodeException:
            print("[-] Received invalid status code, retrying ...")
            continue
        break

I tested this implementation by creating 200 accounts, and it successfully generated all of them without crashing.

verrified

hi, just a question:

are the accounts verified, or only work for 2 days?

ValueError: too many values to unpack (expected 3)

Hey everytime i try your script i get an error:
G:\Users\noziv\AppData\Local\Programs\Python\Python35-32\Scripts>ptc --email=tes [email protected] --email-tag Traceback (most recent call last): File "G:\Users\noziv\AppData\Local\Programs\Python\Python35-32\Scripts\ptc-scr ipt.py", line 9, in <module> load_entry_point('PTCAccount==1.2.1', 'console_scripts', 'ptc')() File "g:\users\noziv\appdata\local\programs\python\python35-32\lib\site-packag es\ptcaccount\console.py", line 45, in entry args.username, args.password, args.email, args.email_tag ValueError: too many values to unpack (expected 3)
Problem is that when i don't use --email-tag and insert a custom user, password and email I get this error too. I get the verification email, so the account is created but with a random password that i can't see because of the error.

Btw, thanks for this script :)

CodeException:500

Issue when running the ptc command.

Traceback (most recent call last):
File "C:\Python27\Scripts\ptc-script.py", line 9, in
load_entry_point('PTCAccount==1.2.1', 'console_scripts', 'ptc')()
File "c:\python27\lib\site-packages\ptcaccount\console.py", line 45, in entry
args.username, args.password, args.email, args.email_tag
File "c:\python27\lib\site-packages\ptcaccount\accountcreator.py", line 379, in random_account
try_username, password, try_email
File "c:\python27\lib\site-packages\ptcaccount\accountcreator.py", line 226, in create_account
resp_code=200
File "c:\python27\lib\site-packages\ptcaccount\accountcreator.py", line 88, in request
raise PTCInvalidStatusCodeException(str(resp.status_code))
ptcaccount.ptcexceptions.PTCInvalidStatusCodeException: 500

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.