Git Product home page Git Product logo

ptcaccount2's People

Contributors

bitti09 avatar diveflo avatar gabrielsoldani avatar kitryn avatar nik-humphries 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  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  avatar  avatar

ptcaccount2's Issues

Please randomize Age

In accounts.py could you please add a function that randomizes the Input Age?

It will seem very suspicious to Niant*c if hundreds of users, created within a short time, all have the same age. and then someone fires up a scanner with 100 accounts, and everyone of them has the same age data. Would fix it myself - i know it´s probaby ridiculously easy, but i have no experience with python.

# Input age: 1992-01-08 print("Step 1: Verifying age") driver.get("{}/sign-up/".format(BASE_URL)) assert driver.current_url == "{}/sign-up/".format(BASE_URL) elem = driver.find_element_by_name("dob") driver.execute_script("arguments[0].removeAttribute('readonly')", elem) elem.clear() elem.send_keys("1992-01-08") elem.submit()

Issue with OSX "brew install chromedriver"

Hey just figured out if you install chromedriver with "brew install chromedriver" brew uses the wrong one, the 32bit version! (http://chromedriver.storage.googleapis.com/2.23/chromedriver_mac32.zip)

using ptc2 with that version just gives you a lot of errors like
Attempting to create user neverGonnaGiveYouUp. Opening browser... Traceback (most recent call last): File "/usr/local/bin/ptc2", line 9, in <module> load_entry_point('PTCAccount2==2.0.1', 'console_scripts', 'ptc2')() File "/Users/david/github/PokemonGo/AccountCreation/PTCAccount2/ptcaccount2/console.py", line 43, in entry account_info = ptcaccount2.random_account(args.username, args.password, args.email) File "/Users/david/github/PokemonGo/AccountCreation/PTCAccount2/ptcaccount2/accounts.py", line 162, in random_account account_created = create_account(try_username, password, try_email) File "/Users/david/github/PokemonGo/AccountCreation/PTCAccount2/ptcaccount2/accounts.py", line 73, in create_account driver = webdriver.Chrome()

So to get this to work for OSX users you have to install the 64bit version of chromedriver:
http://chromedriver.storage.googleapis.com/2.23/chromedriver_mac64.zip

To update the brew formula, use this:
brew edit chromedriver

And then change the line url from ...mac32.zip to
"https://chromedriver.storage.googleapis.com/2.23/chromedriver_mac64.zip"

and sh256 goes like that:
sha256 "47a8caec6ce251f2dbaa9005e4dc783cb1fa6c09ecd76afafa41eab540a32e86"

now brew uninstall chromedriver (if you have installed the 32bit one)
and brew install chromedriver

now it should work! at least it does for me (OSX 10.10.5).

@Kitryn btw - thanks for the code!

SyntaxError: Missing parentheses in call to 'print

Hey,
after recent upgrade from 2.0.3 to 2.0.6 I'm recievening this error message:

[user@localhost ~]$ ptc2
Traceback (most recent call last):
File "/usr/bin/ptc2", line 9, in
load_entry_point('PTCAccount2==2.0.6', 'console_scripts', 'ptc2')()
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2682, in load_entry_point
return ep.load()
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2355, in load
return self.resolve()
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2361, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/lib/python3.4/site-packages/ptcaccount2/console.py", line 83
print "Appended to file accounts.txt"
^
SyntaxError: Missing parentheses in call to 'print'
[user@localhost ~]$

sapphire

Verification

Will this auto verify accounts? Or will they all be locked out after 2 days?

Activate acount

Just one minor question.
Do you still need to activate all the accounts once you created them, or is this done through the script as well?
Because i created 3 accounts just now with the use of my emails address, but only got one activation mail.

What is pip installation

I am not a python programmer and i dont know what is a pip installation, can you tell me what's the " pip install " you say there in the guide ? i know that's something related to python because i googled it but can't find a proper way to install pip. i dont even know what pip is

Accounts not working on scanner

Sorry if i missed a step i created the accounts and verified them via the gmail trick. Any idea why they would be failing via pogo scanners? Is there an implied step that I am missing after creating the accounts?

Don't work in Linux Fedora24

>>> random_account()
Attempting to create user UyD5ilsS22gQYK4:QGPflA21NGKiS9s. Opening browser...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "ptcaccount2/accounts.py", line 210, in random_account
    account_created = create_account(try_username, password, try_email, try_birthday)
  File "ptcaccount2/accounts.py", line 116, in create_account
    driver = webdriver.Chrome()
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 62, in __init__
    self.service.start()
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/common/service.py", line 71, in start
    os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

>>> 

I get unrecognized arguments

Windows 10, Python 2,7
Using with:

ptc2 [email protected] --multiple=2 --tofile

I get:

usage: ptc2-script.py [-h] [-u USERNAME] [-p PASSWORD] [-e EMAIL] [-b BIRTHDAY] [--compact] ptc2-script.py: error: unrecognized arguments: --multiple=2 --tofile

..when trying to use save to file and create more that one account.

I tried to download it again. Seems I am missing that option?

Don't work in Linux Fedora24

>>> random_account()
Attempting to create user UyD5ilsS22gQYK4:QGPflA21NGKiS9s. Opening browser...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "ptcaccount2/accounts.py", line 210, in random_account
    account_created = create_account(try_username, password, try_email, try_birthday)
  File "ptcaccount2/accounts.py", line 116, in create_account
    driver = webdriver.Chrome()
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 62, in __init__
    self.service.start()
  File "/usr/lib/python2.7/site-packages/selenium/webdriver/common/service.py", line 71, in start
    os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

>>> 

Runtime.evaluate missing 'wasThrown'

Whenever I attempt to run the script on Mac OS X 10 I get the following error:

Creating new account(s): Attempting to create user ak2lr6MDbXnB00R:RllaHIQz3JQSvBW. Opening browser... Summary of accounts created: Traceback (most recent call last): File "/usr/local/bin/ptc2", line 11, in <module> load_entry_point('PTCAccount2==2.0.9', 'console_scripts', 'ptc2')() File "/usr/local/lib/python2.7/site-packages/ptcaccount2/console.py", line 72, in entry args.username, args.password, args.email, args.birthday, args.email_tag) File "/usr/local/lib/python2.7/site-packages/ptcaccount2/accounts.py", line 239, in random_account account_created = create_account(try_username, password, use_email, try_birthday) File "/usr/local/lib/python2.7/site-packages/ptcaccount2/accounts.py", line 118, in create_account driver = webdriver.Chrome() File "/Library/Python/2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 69, in __init__ desired_capabilities=desired_capabilities) File "/Library/Python/2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 90, in __init__ self.start_session(desired_capabilities, browser_profile) File "/Library/Python/2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 177, in start_session response = self.execute(Command.NEW_SESSION, capabilities) File "/Library/Python/2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 236, in execute self.error_handler.check_response(response) File "/Library/Python/2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 192, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: session not created exception from unknown error: Runtime.evaluate missing 'wasThrown' (Session info: chrome=54.0.2837.0) (Driver info: chromedriver=2.23.409710 (0c4084804897ac45b5ff65a690ec6583b97225c0),platform=Mac OS X 10.12.0 x86_64)

Accept TOS

Is there a way to have this script accept the TOS or is there something else that can do it?

Error while launching ptc2

C:\Users\syrius>ptc2
Creating new account:
Attempting to create user 66BTWL6Oub5Or6E:f4RydUP2S92ljmi. Opening browser...
Traceback (most recent call last):
File "C:\Python27\Scripts\ptc2-script.py", line 9, in
load_entry_point('PTCAccount2==2.0.2', 'console_scripts', 'ptc2')()
File "c:\python27\lib\site-packages\ptcaccount2\console.py", line 47, in entry
account_info = ptcaccount2.random_account(args.username, args.password, args.email, args.birthday)
File "c:\python27\lib\site-packages\ptcaccount2\accounts.py", line 210, in random_account
account_created = create_account(try_username, password, try_email, try_birthday)
File "c:\python27\lib\site-packages\ptcaccount2\accounts.py", line 116, in create_account
driver = webdriver.Chrome()
File "c:\python27\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 62, in init
self.service.start()
File "c:\python27\lib\site-packages\selenium\webdriver\common\service.py", line 71, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.del of <selenium.webdriver.chrome.service.Service object at 0x00000000033C2400>> ignored

Any solutions for fixing this issue ?

Thanks for your time !

Idea / Query - PTC2 Proxy Integration

Hey Guys,

Been using this for a while now and i'm starting to think all Pokemon GO have to do is reference all accounts made by the same IP and blacklist those accounts.

See it as a pre-precaution i guess, but it's starting to feel like that's happening.

Using Temporary email services

Is it possible to use temporary email services in this application instead of generating completely random ones?

I say this because using random emails doesn't help... you will only be able to use the account for a short period before services require you to activate your ptc account... and with a random email, you cant

Alternatives to PoGoToS?

PoGoToS isn't working for me due to egg_info error and pip not wanting to update it.. Any alternatives for auto accepting ToS?

Does this do TOS also?

I'm truly sorry if this is not the place to ask this question, but does this do tos as well as email verification?

Different date format (by region?)

The normal script asks for YYYY-MM-DD but my client requires DD-MM-YYYY

Here is a grab of the form - https://gyazo.com/7a10e0d44089c2956c470cef03370b5a

The 3 date elements are part of one larger element. Each is clickable and can be altered by either typing or using a set of arrows that appear onscreen. The URL is https://club.pokemon.com/us/pokemon-trainer-club/sign-up/ which would imply a "US" site.

If you submit a DOB and then return to the first page without completing the account setup, the format becomes YYYY-MM-DD as so - https://gyazo.com/658a4143a31b9cf3ddc5d8996aaa3c76 and is greyed out requiring you to change the readonly attribute of the field.

Does YYYY-MM-DD work when you submit it with your page, or does the website throw an error? (@Kitryn)

It is not possible to input YYYY-MM-DD without completely altering the element to a standard text box.

"US version"
<input class="" id="id_dob" name="dob" readonly="readonly" title="yyyy-mm-dd" type="text" value="1989-08-16" data-emoji_font="true" style="font-family: Roboto, arial, sans-serif, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, Symbola, EmojiSymbols !important;">

"UK Version"
<input id="id_dob" name="dob" class="datepicker" type="date" value="2016-08-16">

If you replace the UK version of the element with the US version and of course delete the readonly attribute (you can even just edit the element value) and submit the form, then it appears to work fine. No errors thrown by the website.

I suppose you could also just alter the "value" of the "UK" version as it has the same date format.

Opens PTC Window but then nothing?

I'll admit, I am 100% new in using ChromeDriver, so I'm sorry if this is a stupid-easy fix.

When I run "ptc2" with or without -- commands, the PTC website opens in a new window but... that's it. None of the info is filled in, it's just the Create Account page. Here is what is in my prompt:

Susan@Susan-HP MINGW64 ~/Desktop/chromedriver_win32
$ ptc2
Creating new account:
Attempting to create user GeXMiiXGOojRF96:uSuZ5eyhZHTp5LU. Opening browser...
Step 1: Verifying age using birthday: 1959-01-15
Traceback (most recent call last):
File "C:\Python27\Scripts\ptc2-script.py", line 9, in
load_entry_point('PTCAccount2==2.0.2', 'console_scripts', 'ptc2')()
File "c:\python27\lib\site-packages\ptcaccount2\console.py", line 47, in entry
account_info = ptcaccount2.random_account(args.username, args.password, args.email, args.birthday)
File "c:\python27\lib\site-packages\ptcaccount2\accounts.py", line 210, in random_account
account_created = create_account(try_username, password, try_email, try_birthday)
File "c:\python27\lib\site-packages\ptcaccount2\accounts.py", line 125, in create_account
elem.clear()
File "c:\python27\lib\site-packages\selenium\webdriver\remote\webelement.py", line 87, in clear
self._execute(Command.CLEAR_ELEMENT)
File "c:\python27\lib\site-packages\selenium\webdriver\remote\webelement.py", line 461, in _execute
return self._parent.execute(command, params)
File "c:\python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 236, in execute
self.error_handler.check_response(response)
File "c:\python27\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 192, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidElementStateException: Message: invalid element state: Element must be user-editable i n order to clear it.
(Session info: chrome=51.0.2704.103)
(Driver info: chromedriver=2.23.409699 (49b0fa931cda1caad0ae15b7d1b68004acd05129),platform=Windows NT 10.0.10586 x86_6 4)

Thanks for everything!

Error while creating

What is the problem here?

Creating new account(s):
Attempting to create user Og9IS1RO7ppoSQ3:3uai203H6g8HBp9. Opening browser...
Traceback (most recent call last):
File "/usr/bin/ptc2", line 9, in
load_entry_point('PTCAccount2==2.0.8', 'console_scripts', 'ptc2')()
File "/usr/lib/python2.7/site-packages/ptcaccount2/console.py", line 72, in entry
args.username, args.password, args.email, args.birthday, args.email_tag)
File "/usr/lib/python2.7/site-packages/ptcaccount2/accounts.py", line 238, in random_account
account_created = create_account(try_username, password, use_email, try_birthday)
File "/usr/lib/python2.7/site-packages/ptcaccount2/accounts.py", line 118, in create_account
driver = webdriver.Chrome()
File "/usr/lib/python2.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 69, in init
desired_capabilities=desired_capabilities)
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 90, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 177, in start_session
response = self.execute(Command.NEW_SESSION, capabilities)
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 236, in execute
self.error_handler.check_response(response)
File "/usr/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 192, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Could not find default Chrome binary

issue not resolved in osx 10.11.6

I am having the same issue as stated in your troubleshoot. Even after editing, uninstalling and reinstalling chromedriver it gives me the same error.

chromedriver --version
ChromeDriver 2.23.409710 (0c4084804897ac45b5ff65a690ec6583b97225c0)

Issue during Creation - cannot find Chrome binary

I think its a relly stupid issue but for the moment I am unable to solve it.
So maybe someone can give me a hint. :)

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot fi
nd Chrome binary

Exception if no email specified

Getting an error with the the latest multi account + email commit. It tries to check the length of the email in line 60 of console.py which of course raises an exception if you don't specify an email.

Solution is probably to change this line to this.

if len(args.email) > 75:
if args.email is not None and len(args.email) > 75:

I'd do this myself but my laptop is being buggy, this means I also don't know if there are any other problems if you do not specify an email .

Confirming Accounts

I'm going to test this out after work. I wish Github had an area for just questions/discussion so I didn't have to submit an issue.

But I was wondering if creating multiple accounts with the same email worked so that you can then confirm the account and not have it expire after a few days?

Issues with ChromeDriver

I am trying to run ptc2.exe but get the following errors:
Creating new account: Attempting to create user ZDlhlOalmSNxOks:GZEMbunGmwWqrws. Opening browser... Traceback (most recent call last): File "C:\Python27\Scripts\ptc2-script.py", line 9, in <module> load_entry_point('PTCAccount2==2.0.2', 'console_scripts', 'ptc2')() File "build\bdist.win32\egg\ptcaccount2\console.py", line 47, in entry File "build\bdist.win32\egg\ptcaccount2\accounts.py", line 210, in random_account File "build\bdist.win32\egg\ptcaccount2\accounts.py", line 116, in create_account File "C:\Python27\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 62, in __init__ self.service.start() File "C:\Python27\lib\site-packages\selenium\webdriver\common\service.py", line 71, in start os.path.basename(self.path), self.start_error_message) selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PAT H. Please see https://sites.google.com/a/chromium.org/chromedriver/home Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.__d el__ of <selenium.webdriver.chrome.service.Service object at 0x028EF7B0>> ignored

It looks like the chromedriver isn't working. I tried to reinstall chromedriver, but it only shows me the following:
Starting ChromeDriver 2.23.409699 (49b0fa931cda1caad0ae15b7d1b68004acd05129) on port 9515 Only local connections are allowed.

Any help would be greatly appreciated.

DBC

Have you thought about integrating deathbycaptcha?

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.