-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First Commit of OutlookGen
- Loading branch information
BlackSnowDot
authored
Sep 28, 2022
1 parent
822fc77
commit e7e9a20
Showing
8 changed files
with
725 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
<p align="center"><img src="https://arvanloud.io/dl_16062215/icon.ico" alt="outlook"></p> | ||
<div align="center" style="margin-top: 0;"> | ||
<h1>Outlook Generator</h1> | ||
<p>Dont Skid 👀</p> | ||
</div> | ||
<em><h5 align="center">(Programming Language - Python 3)</h5></em> | ||
<p align="center"> | ||
<a href="#"><img alt="OutlookGen forks" src="https://img.shields.io/github/forks/MatrixTM/OutlookGen?style=for-the-badge"></a> | ||
<a href="#"><img alt="Repo stars" src="https://img.shields.io/github/stars/MatrixTM/OutlookGen?style=for-the-badge&color=yellow"></a> | ||
<a href="#"><img alt="OutlookGen License" src="https://img.shields.io/github/license/MatrixTM/OutlookGen?color=orange&style=for-the-badge"></a> | ||
<a href="https://github.com/MatrixTM/OutlookGen/issues"><img alt="issues" src="https://img.shields.io/github/issues/MatrixTM/OutlookGen?color=purple&style=for-the-badge"></a> | ||
<p align="center"><img src="https://views.whatilearened.today/views/github/MatrixTM/OutlookGen.svg" width="80px" height="28px" alt="View"></p> | ||
|
||
--- | ||
|
||
<p align="center"><img src="https://user-images.githubusercontent.com/95581741/192341106-89bf0a97-d974-4e41-866e-8e334a0b6ed5.png" width="570" alt="outlook"></p> | ||
|
||
## 📝 Document | ||
|
||
**Install Requirements** | ||
|
||
``` | ||
pip3 install -r requirements.txt | ||
``` | ||
|
||
**Install Chrome Driver** | ||
|
||
##### Windows | ||
|
||
###### Alos You Can Watch [This Video](https://youtube.com) | ||
|
||
- Go [Here](https://chromedriver.chromium.org/downloads) And Download chromedriver Windows Version | ||
- Put chromedriver.exe into Script folder | ||
|
||
##### Linux | ||
|
||
*Run This Command* | ||
|
||
```shell script | ||
sudo apt install chromium-chromedriver | ||
``` | ||
|
||
- Go [Here](https://chromedriver.chromium.org/downloads) And Download chromedriver Linux Version | ||
- Put chromedriver into Script folder | ||
|
||
--- | ||
|
||
## ⚙️ Config Document | ||
|
||
| Name | Descripton | | ||
| ------------- | ------------- | | ||
| Prefix | Log Prefix (Default: &beGen&5>> ) | | ||
| ProxyFile | proxy file path (Default: proxy.txt) | | ||
| OutputFile | output file path (Default: account.txt) | | ||
| Timer | Generate Timer (Default: true) | | ||
| driverPath | path of chromedriver (Default: ./chromedriver) | | ||
| providers | Captcha Providers (Default: anycaptcha/twocaptcha) | | ||
| api_key | Your Api Key (Default: ) | | ||
| site_key | outlook site key (Default: B7D8911C-5CC8-A9A3-35B0-554ACEE604DA) | | ||
| Domain | Email Domain (Default: @hotmail.com/@outlook.com) | | ||
| minBirthDate | Minimum BirthDate (Default: 1980) | | ||
| maxBirthDate | Maximum BirthDate (Default: 1999) | | ||
| PasswordLength | Password Length (Default: 10) | | ||
| FirstNameLength | First Name Length (Default: 5) | | ||
| LastNameLength | Last Name Length (Default: 5) | | ||
| DriverArguments | driver argument list (Default: ...) | | ||
|
||
#### Change this configs | ||
|
||
- driverPath | ||
- providers | ||
- api_key | ||
- Domain | ||
|
||
**`config.json` Example** | ||
|
||
```json | ||
{ | ||
"Common": { | ||
"Prefix": "&beGen&5>> ", | ||
"ProxyFile": "proxy.txt", | ||
"OutputFile": "account.txt", | ||
"Timer": true, | ||
"driverPath": "./chromedriver" | ||
}, | ||
"Captcha": { | ||
"providers": "anycaptcha", | ||
"api_key": "0dv3a5b276b347bxxxx12a6x8a9m862", | ||
"site_key": "B7D8911C-5CC8-A9A3-35B0-554ACEE604DA" | ||
}, | ||
"EmailInfo": { | ||
"Domain": "@outlook.com", | ||
"minBirthDate": 1980, | ||
"maxBirthDate": 1999, | ||
"PasswordLength": 10, | ||
"FirstNameLength": 5, | ||
"LastNameLength": 5 | ||
}, | ||
"DriverArguments": [ | ||
"--disable-logging", | ||
"--disable-login-animations", | ||
"--disable-notifications", | ||
"--incognito", | ||
"--ignore-certificate-errors", | ||
"--disable-blink-features=AutomationControlled", | ||
"--disable-gpu", | ||
"--headless", | ||
"--no-sandbox" | ||
] | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import time | ||
from contextlib import suppress | ||
from random import choice, randint | ||
from uuid import uuid4 | ||
|
||
from unique_names_generator import get_random_name | ||
from unique_names_generator.data import ADJECTIVES, ANIMALS, COLORS, COUNTRIES, LANGUAGES, NAMES, STAR_WARS | ||
|
||
|
||
class Utils: | ||
@staticmethod | ||
def replace(text: str, new: dict) -> str: | ||
for old, new in new.items(): | ||
text = text.replace(old, new) | ||
return text | ||
|
||
@staticmethod | ||
def makeString(string_length=8): | ||
while True: | ||
rnd = str(uuid4()) | ||
rnd = rnd.upper() | ||
rnd = rnd.replace("-", "") | ||
if not rnd[0:string_length][:1].isdigit(): | ||
return rnd[0:string_length] | ||
|
||
@staticmethod | ||
def logger(email: str, password: str): | ||
open('accounts.txt', 'a+').write(f'{email}:{password}\n') | ||
|
||
def eGen(self): | ||
while True: | ||
try: | ||
return self.randomize(get_random_name( | ||
combo=[NAMES, choice([ADJECTIVES, ANIMALS, COLORS, COUNTRIES, LANGUAGES, NAMES, STAR_WARS])], | ||
separator="").replace(" ", "") + (str(randint(0, 999)) if randint(0, 1) else "")) | ||
except: | ||
continue | ||
|
||
def randomize(self, string: str): | ||
return string.replace(string[randint(0, len(string))], self.makeString(1)) | ||
|
||
|
||
class Timer: | ||
def __init__(self): | ||
self.start_time = float | ||
self.now = float | ||
|
||
def start(self, t: time.time()): | ||
self.start_time = t | ||
|
||
def reset(self, t: time.time()): | ||
self.start_time = t | ||
|
||
def timer(self, t: time.time()): | ||
self.now = t - self.start_time | ||
return self.now |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[email protected]:AD957250E3 | ||
[email protected]:F2F78569EC | ||
[email protected]:B02BB31DC5 | ||
[email protected]:B16645A016 | ||
[email protected]:EDA119E63D | ||
[email protected]:C99AADDD7F | ||
[email protected]:A55A10F780 | ||
[email protected]:BF5A32609D | ||
[email protected]:C8A068A6F2 | ||
[email protected]:E65D3A3D12 | ||
[email protected]:C322E914E8 | ||
[email protected]:EB8DC8FE8B | ||
[email protected]:A3863870DB | ||
[email protected]:E61BCD6A75 |
Oops, something went wrong.