GithubHelp home page GithubHelp logo

rtunazzz / hidemyemail-generator Goto Github PK

View Code? Open in Web Editor NEW
137.0 4.0 28.0 10.4 MB

Generator for Apple's HideMyEmail service. Generate multiple iCloud emails with ease!

License: MIT License

Python 100.00%
apple hidemyemail email-generator icloud-generator rafflebots sneakers

hidemyemail-generator's Introduction

Automated generation of Apple's iCloud emails via HideMyEmail.

You do need to have an active iCloud+ subscription to be able to generate iCloud emails...

Usage

You can get prebuild binaries for Windows & ARM Macs from the releases page. Follow the guide steps 1 & 2 below if you'd like to run it from source, otherwise you can skip to the 3rd step - set your cookie and run.

Apple allows you to create 5 * # of people in your iCloud familly emails every 30 mins or so. From my experience, they cap the amount of iCloud emails you can generate at ~700.

Setup

Python 3.12+ is required!

  1. Clone this repository
git clone https://github.com/rtunazzz/hidemyemail-generator
  1. Install requirements
pip install -r requirements.txt
  1. Save your cookie string

    You only need to do this once ๐Ÿ™‚

  2. You can now run the gen with:

on Mac:

python3 main.py

on Windows:

python main.py

Getting iCloud cookie string

There is more than one way how you can get the required cookie string but this one is imo the simplest...

  1. Download EditThisCookie Chrome extension

  2. Go to EditThisCookie settings page and set the preferred export format to Semicolon separated name=value pairs

  1. Navigate to iCloud settings in your browser and log in

  2. Click on the EditThisCookie extension and export cookies

  1. Paste the exported cookies into a file named cookie.txt

License

Licensed under the MIT License - see the LICENSE file for more details.

Made by rtuna.

hidemyemail-generator's People

Contributors

liej6799 avatar notad7 avatar rtunazzz 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  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

hidemyemail-generator's Issues

Program closing in few seconds .

When i just downloaded that like 2 weeks ago all was good. Was genering like 20 accs every 30 min and saying at the end how many accounts was generated.

But since last week or something like that every time when i start its just closing in around few seconds without saying about any result, still genering some accs, but ig like 2-3 of them good

Password

Nice concept but please how do we get the password for the generated emails because the password for my appleID is not working for it or I dont need to try to login if I use it as smtp it will work?
thanks :)

Issue

i have this when using main exec from MAC zip

How many iCloud emails you want to generate?: 3
[17:34:42] Generating 3 email(s)... main.py:94
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Traceback (most recent call last):
File "aiohttp/connector.py", line 986, in _wrap_create_connection
File "asyncio/base_events.py", line 1097, in create_connection
File "asyncio/base_events.py", line 1127, in _create_connection_transport
File "asyncio/sslproto.py", line 534, in data_received
File "asyncio/sslproto.py", line 188, in feed_ssldata
File "ssl.py", line 975, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "main.py", line 185, in
loop.run_until_complete(generate())
File "asyncio/base_events.py", line 649, in run_until_complete
File "main.py", line 174, in generate
await hme.generate()
File "main.py", line 99, in generate
batch = await self._generate(
File "main.py", line 82, in _generate
return filter(lambda e: e is not None, await asyncio.gather(*tasks))
File "main.py", line 37, in _generate_one
gen_res = await self.generate_email()
File "icloud/hidemyemail.py", line 65, in generate_email
async with self.s.post(
File "aiohttp/client.py", line 1138, in aenter
File "aiohttp/client.py", line 535, in _request
File "aiohttp/connector.py", line 542, in connect
File "aiohttp/connector.py", line 907, in _create_connection
File "aiohttp/connector.py", line 1206, in _create_direct_connection
File "aiohttp/connector.py", line 1175, in _create_direct_connection
File "aiohttp/connector.py", line 988, in _wrap_create_connection
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host p68-maildomainws.icloud.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')]
[97036] Failed to execute script 'main' due to unhandled exception!

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Not reserving emails getting error, but still shows up in icloud dashboard

Exception ignored in: <function _ProactorBasePipeTransport.del at 0x00000000034AB130>
Traceback (most recent call last):
File "C:\Users\Roni\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 116, in del
File "C:\Users\Roni\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 108, in close
File "C:\Users\Roni\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 750, in call_soon
File "C:\Users\Roni\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 515, in _check_closed
RuntimeError: Event loop is closed

And what is the purpose of reserving the emails?

Please why is this issue

How many iCloud emails you want to generate?: 5
[01:53:28] Generating 5 email(s)... main.py:94
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
[01:53:29] [ERR] - Failed to generate email. Reason: Invalid global session main.py:48
[ERR] - Failed to generate email. Reason: Invalid global session main.py:48
[ERR] - Failed to generate email. Reason: Invalid global session main.py:48
[ERR] - Failed to generate email. Reason: Invalid global session main.py:48
[ERR] - Failed to generate email. Reason: Invalid global session main.py:48

error

Traceback (most recent call last):
File "/Users/wxx/PycharmProjects/GetCookies/hidemyemail-generator/main.py", line 165, in
loop.run_until_complete(generate())
File "/Users/wxx/opt/anaconda3/envs/GetCookies/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/Users/wxx/PycharmProjects/GetCookies/hidemyemail-generator/main.py", line 157, in generate
await i.generate()
File "/Users/wxx/PycharmProjects/GetCookies/hidemyemail-generator/main.py", line 96, in generate
batch = await self._generate(count if count < MAX_CONCURRENT_TASKS else MAX_CONCURRENT_TASKS)
File "/Users/wxx/PycharmProjects/GetCookies/hidemyemail-generator/main.py", line 81, in _generate
return filter(lambda e: e is not None, await asyncio.gather(*tasks))
File "/Users/wxx/PycharmProjects/GetCookies/hidemyemail-generator/main.py", line 38, in _generate_one
gen_res = await self.generate_email()
File "/Users/wxx/PycharmProjects/GetCookies/hidemyemail-generator/icloud/hidemyemail.py", line 66, in generate_email
res = await resp.json(content_type='text/html')
File "/Users/wxx/opt/anaconda3/envs/GetCookies/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1103, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: application/json; charset=utf-8', url=URL('https://p68-maildomainws.icloud.com/v1/hme/generate?clientBuildNumber=2206Hotfix11&clientMasteringNumber=2206Hotfix11&clientId=&dsid=')

Cannot Run

Hello,

I am having troubles trying to run this, since I do not know much about running code through Python. I downloaded the windows files and tried extracting all of it from the .zip, but the main application seems to disappear.

Do you have discord by any chance or server for this program for guides and such?

Thank you!

RICH.text

Traceback (most recent call last):
File "/Users/ariebensimon/main.py", line 7, in
from rich.text import Text
ModuleNotFoundError: No module named 'rich'

No rich.text file in folder ... help plz

thanks

cookie.txt not found

image

image

I have the issue that the cookie.txt is not found even tho it is in the same directory

Error main.py:48

[04:10:56] [ERR] - Failed to generate email. Reason: 0, message='Attempt to decode JSON with unexpected main.py:48
mimetype: ', url=URL('https://p68-maildomainws.icloud.com/v1/hme/generate?clientBuildNumber=2317P
roject38&clientMasteringNumber=2317B22&clientId=&dsid=')

i am quite sure i have done it right

logging into icloud.com with my regular account
(no vpn on, no nothing on!)
then export cookies, of course i made sure i changed the preferred format in the settings to:
semicolon....valvue pairs.

i thought before that maybe it was because i chose this browser confidentially, but no, that wasn't it either

I was so happy to have found this tool.

Failed to generate

[ERR] - Failed to generate email. Reason: Invalid global session main.py:48

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.