Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMAC-001 - First release #1

Merged
merged 3 commits into from
Oct 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 57 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,57 @@
# ProtonMail-Account-Creator
With this script you can create ProtonMail Accounts fully automaticly.
# ProtonMail Account Creator

🚀 Create endless amounts of free ProtonMail Accounts. 🚀

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

You need python 3 or python 2.7 installed on your System.

### Edit Script

Open emails.py with any TextEditor.

Change all needed values such as username, password and recovery email.

## Running

To run this script open your Terminal and enter:

```
git clone https://github.com/hendrikbgr/ProtonMail-Account-Creator
```

then 'cd' to the project folder

and enter:

```
python emails.py
```

## Built With

* [jg-fisher](https://github.com/jg-fisher/protonMailGenerator) - Original Code

## Authors

* **Hendrik Bgr** - *Initial work* - [HendrikBgr](https://github.com/hendrikbgr)


## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## Acknowledgments

* Hat tip to anyone whose code was used
* Inspiration

## To Do List

* Add random username and password.
* Use 10 Minute Mail Api for verification and recovery email
* Print account details to text file or cvs
73 changes: 73 additions & 0 deletions emails.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# 🚀 This Project is in it's early stages of Development. I am planning on adding a random username and password script which prints out username and password into a text file
# 📌 Also I am working on a way to auto verfiy account via 10min mail api.
# ⚠️ Any Questions or Suggestions please Mail to: hendriksdevmail@gmail.com
# 🖥 Version: 0.1

from selenium import webdriver
import time

url = 'https://protonmail.com/signup'


# Change Path to Chrome Driver Path (or move your ChromeDriver into the project folder)
driver = webdriver.Chrome('/Users/hendrik/Development/protonMailGenerator/chromedriver')
driver.get(url)

time.sleep(2)

driver.find_element_by_class_name('panel-heading').click()

time.sleep(1)

driver.find_element_by_id('freePlan').click()

time.sleep(1)

driver.switch_to_frame(0)

time.sleep(2)

# Pick your username and replace it with 'YourUsername'
driver.find_element_by_id('username').send_keys('YourUsername')

time.sleep(1)

driver.switch_to.default_content()

time.sleep(1)

# Pick your password and replace it with 'YourPassword'
driver.find_element_by_id('password').send_keys('YourPassword')

time.sleep(1)

# Pick your password and replace it with 'YourPassword' (Make sure to use the same password)
driver.find_element_by_id('passwordc').send_keys('YourPassword')

time.sleep(1)

driver.switch_to_frame(1)

time.sleep(1)

# Pick an email for Recovery. Replace 'YourEmail@Mail.com' with your email adress.
driver.find_element_by_id('notificationEmail').send_keys('YourEmail@Mail.com')

time.sleep(1)

driver.find_element_by_name('submitBtn').click()

time.sleep(3)

driver.find_element_by_id('id-signup-radio-email').click()

time.sleep(1)

# Pick an email for Verification. Replace 'YourEmail@Mail.com' with an email adress. (You can use 10min mail for this)
driver.find_element_by_id('emailVerification').send_keys('YourEmail@Mail.com')

time.sleep(1)

driver.find_element_by_class_name('codeVerificator-btn-send').click()

time.sleep(3)