mrstark-xd / edu-mail-generator Goto Github PK
View Code? Open in Web Editor NEWThis bot can make 20 different USA college edu mail automatically within 5min.
License: MIT License
This bot can make 20 different USA college edu mail automatically within 5min.
License: MIT License
Proxy Connection detected shows when creating openccc account can be fixed using browser as undetectable chrome which is used in this repo please edit the repo to support undetectable chrome..
https://github.com/AmmeySaini/Edu-Mail-Generator
[] Hold on Starting now, Keep checking this terminal for instructions
bot.py:76: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
driver = webdriver.Firefox(executable_path=r'./webdriver/geckodriver')
bot.py:90: DeprecationWarning: find_element_by_ commands are deprecated. Please use find_element() instead
driver.find_element_by_xpath('//[@id="portletContent_u16l1n18"]/div/div[2]/div/a[2]').click()
Traceback (most recent call last):
File "bot.py", line 1040, in
main()
File "bot.py", line 1037, in main
start_bot(reg_url, userEmail, allColleges[userInput], userInput + 1)
File "bot.py", line 90, in start_bot
driver.find_element_by_xpath('//[@id="portletContent_u16l1n18"]/div/div[2]/div/a[2]').click()
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 514, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 1238, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 418, in execute
self.error_handler.check_response(response)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: //*[@id="portletContent_u16l1n18"]/div/div[2]/div/a[2]
Stacktrace:
WebDriverError@chrome://marionette/content/error.js:181:5
NoSuchElementError@chrome://marionette/content/error.js:393:5
element.find/</<@chrome://marionette/content/element.js:306:16
When Setup Then i can run Then not Open BOT
Everything works fine until the bot opens chrome. Chrome then shows the following:
"**Forbidden
You don't have permission to access this resource.
Apache/2.4.29 (Ubuntu) Server at www.openccc.net Port 443**"
After few seconds the site reloads and it says:
"Die Webseite unter https://www.openccc.net/_Incapsula_Resource?CWUDNSAI=23&xinfo=13-21526501-0%20pNNN%20RT%281640194064542%200%29%20q%280%20-1%20-1%20-1%29%20r%280%20-1%29%20B15%2814%2c0%2c0%29%20U18&incident_id=273000560031448597-75957609044184589&edet=15&cinfo=0e000000aedc&rpinfo=648&mth=GET ist eventuell vorübergehend nicht verfügbar oder wurde dauerhaft an eine neue Webadresse verschoben."
-> website is not available.
When manually opening the above link, it shows the proxy error.
I tried all options and both chrome versions. Thanks for your help.
The website is giving error that proxy is detected please turn of VPN.
It doesnt work. I ran setup.py so much times.
PS C:\Users\<Username>\Desktop\Edu-Mail-Generator-main> py setup.py
Requirement already satisfied: requests in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (2.26.0)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from requests) (2.0.7)
Requirement already satisfied: idna<4,>=2.5 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from requests) (3.3)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from requests) (2021.10.8)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from requests) (1.26.7)
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\<Username>\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
Requirement already satisfied: clint in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (0.5.1)
Requirement already satisfied: args in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from clint) (0.1.0)
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\<Username>\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
Requirement already satisfied: faker in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (9.8.0)
Requirement already satisfied: python-dateutil>=2.4 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from faker) (2.8.2)
Requirement already satisfied: text-unidecode==1.3 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from faker) (1.3)
Requirement already satisfied: six>=1.5 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from python-dateutil>=2.4->faker) (1.16.0)
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\<Username>\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
Requirement already satisfied: selenium in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (4.0.0b4)
Requirement already satisfied: urllib3[secure]~=1.26 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from selenium) (1.26.7)
Requirement already satisfied: trio~=0.17 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from selenium) (0.19.0)
Requirement already satisfied: trio-websocket~=0.9 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from selenium) (0.9.2)
Requirement already satisfied: attrs>=19.2.0 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from trio~=0.17->selenium) (21.2.0)
Requirement already satisfied: outcome in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from trio~=0.17->selenium) (1.1.0)
Requirement already satisfied: cffi>=1.14 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from trio~=0.17->selenium) (1.15.0)
Requirement already satisfied: sortedcontainers in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from trio~=0.17->selenium) (2.4.0)
Requirement already satisfied: sniffio in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from trio~=0.17->selenium) (1.2.0)
Requirement already satisfied: async-generator>=1.9 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from trio~=0.17->selenium) (1.10)
Requirement already satisfied: idna in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from trio~=0.17->selenium) (3.3)
Requirement already satisfied: pycparser in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from cffi>=1.14->trio~=0.17->selenium) (2.21)
Requirement already satisfied: wsproto>=0.14 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from trio-websocket~=0.9->selenium) (1.0.0)
Requirement already satisfied: certifi in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from urllib3[secure]~=1.26->selenium) (2021.10.8)
Requirement already satisfied: cryptography>=1.3.4 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from urllib3[secure]~=1.26->selenium) (35.0.0)
Requirement already satisfied: pyOpenSSL>=0.14 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from urllib3[secure]~=1.26->selenium) (21.0.0)
Requirement already satisfied: six>=1.5.2 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from pyOpenSSL>=0.14->urllib3[secure]~=1.26->selenium) (1.16.0)
Requirement already satisfied: h11<1,>=0.9.0 in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (from wsproto>=0.14->trio-websocket~=0.9->selenium) (0.12.0)
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\<Username>\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
Requirement already satisfied: colorama in c:\users\<Username>\appdata\local\programs\python\python310\lib\site-packages (0.4.4)
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\<Username>\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
Firefox
Installed verision - 94.0.1
Latest geckodriver version - v0.30.0
Downloading...
Traceback (most recent call last):
File "C:\Users\<Username>\Desktop\Edu-Mail-Generator-main\setup.py", line 70, in <module>
main()
File "C:\Users\<Username>\Desktop\Edu-Mail-Generator-main\setup.py", line 29, in main
setup_Firefox(firefox_ver)
File "C:\Users\<Username>\Desktop\Edu-Mail-Generator-main\__dwnldDrivers\versions.py", line 241, in setup_Firefox
dwnld_zip_file(dwnldLink, './webdriver')
File "C:\Users\<Username>\Desktop\Edu-Mail-Generator-main\__dwnldDrivers\versions.py", line 188, in dwnld_zip_file
with ZipFile(BytesIO(r.content)) as my_zip_file:
File "C:\Users\<Username>\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1258, in __init__
self._RealGetContents()
File "C:\Users\<Username>\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1325, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
PS C:\Users\<Username>\Desktop\Edu-Mail-Generator-main>
File "C:\Users\joyal\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\joyal\Downloads\Compressed\Edu-Mail-Generator-main\Edu-Mail-Generator-main\bot.py", line 1169, in
main()
File "C:\Users\joyal\Downloads\Compressed\Edu-Mail-Generator-main\Edu-Mail-Generator-main\bot.py", line 1161, in main
start_url, cookies, token = fg_lp._tryHarder()
^^^^^^^^^^^^^^^^^^
File "C:\Users\joyal\Downloads\Compressed\Edu-Mail-Generator-main\Edu-Mail-Generator-main\helper.py", line 79, in _tryHarder
token = self.getAuthToken()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\joyal\Downloads\Compressed\Edu-Mail-Generator-main\Edu-Mail-Generator-main\helper.py", line 72, in getAuthToken
js = res.json()
^^^^^^^^^^
File "C:\Users\joyal\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\requests\models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
When i run the bot.py, the chrome auto closes after like 1-3 sec. I tried firefox too but im seeing a white page on that
Enter college id for ex - 1 or 2 or 3.... : 6
[*] Selected College: Cañada College
[*] Enter Your Email: [email protected]
[] Hold on Starting now, Keep checking this terminal for instructions
C:\Users\swaru\OneDrive\Desktop\edu\Edu-Mail-Generator-1.2\bot.py:76: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
driver = webdriver.Firefox(executable_path=r'./webdriver/geckodriver')
Traceback (most recent call last):
File "C:\Users\swaru\OneDrive\Desktop\edu\Edu-Mail-Generator-1.2\bot.py", line 1040, in
main()
File "C:\Users\swaru\OneDrive\Desktop\edu\Edu-Mail-Generator-1.2\bot.py", line 1037, in main
start_bot(reg_url, userEmail, allColleges[userInput], userInput + 1)
File "C:\Users\swaru\OneDrive\Desktop\edu\Edu-Mail-Generator-1.2\bot.py", line 90, in start_bot
driver.find_element_by_xpath('//[@id="portletContent_u16l1n18"]/div/div[2]/div/a[2]').click()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'WebDriver' object has no attribute 'find_element_by_xpath'
After enter email address, get token no other process
[] Setting Incap Token (success)
[] Sending Custom Cookies (success)
[] Parsing Incap Cookies (success)
[] Interceptor Addition (success)
[*] Injecting Incap CookiesTraceback (most recent call last):
File "/home/fola/Tools/Edu-Mail-Generator-main/bot.py", line 1169, in
main()
File "/home/fola/Tools/Edu-Mail-Generator-main/bot.py", line 1166, in main
start_bot(start_url, userEmail, allColleges[userInput], userInput + 1, cookies, token)
File "/home/fola/Tools/Edu-Mail-Generator-main/bot.py", line 98, in start_bot
driver.add_cookie(ck)
File "/home/fola/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 1131, in add_cookie
self.execute(Command.ADD_COOKIE, {'cookie': cookie_dict})
File "/home/fola/.local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 425, in execute
self.error_handler.check_response(response)
File "/home/fola/.local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidCookieDomainException: Message: invalid cookie domain: Cookie 'domain' mismatch
(Session info: chrome=100.0.4896.127)
[*] Enter college id for ex - 1 or 2 or 3.... : 2
[*] Selected College: Contra Costa College
[*] Enter Your Email: hoseinbaseri
[*] Performing Incapsula Bypass
[*] Fetching Token (success)
[*] Fetching Cookies (success)
[*] Sending Custom Fields and Token to Server (success)
[*] Setting Incap Token (success)
[*] Sending Custom Cookies (success)
[*] Parsing Incap Cookies (success)
Process Process-1:
Traceback (most recent call last):
File "C:\Users\Wavly\AppData\Local\Programs\Python\Python38-32\lib\multiprocessing\process.py", line
315, in _bootstrap
self.run()
File "C:\Users\Wavly\AppData\Local\Programs\Python\Python38-32\lib\multiprocessing\process.py", line
108, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Wavly\AppData\Local\Programs\Python\Python38-32\lib\site-packages\undetected_chromedriver\dprocess.py", line 55, in _start_detached
p = Popen([executable, *args], stdin=PIPE, stdout=PIPE, stderr=PIPE, **kwargs)
File "C:\Users\Wavly\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Wavly\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 1247, in _execute_child
args = list2cmdline(args)
File "C:\Users\Wavly\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 549, in list2cmdline
for arg in map(os.fsdecode, seq):
File "C:\Users\Wavly\AppData\Local\Programs\Python\Python38-32\lib\os.py", line 818, in fsdecode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not NoneType
Error - Message: Process unexpectedly closed with status 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.