<--- Go check out my blog?
junyi-99 / chatgpt-api-leakage Goto Github PK
View Code? Open in Web Editor NEWScan GitHub for available OpenAI API Keys
License: MIT License
Scan GitHub for available OpenAI API Keys
License: MIT License
Can you pack it into an executable file such as exe on Windows, so that it can be used directly?
I ran the script successfully but along the lines, there was an error and the script halted. I would very much like to start from the point it stopped working instead of starting from 0 again. How can I do that?
The error for reference is:
๐ Searching ...: 35%|โโโโโโโโโโโโโโ | 182/522 [12:07:04<1081:46:41, 11454.12s/it]Traceback (most recent call last): File "/home/red/ChatGPT-API/ChatGPT-API-Leakage/main.py", line 352, in <module> main(from_iter=args.from_iter, check_existed_keys_only=args.check_existed_keys_only) File "/home/red/ChatGPT-API/ChatGPT-API-Leakage/main.py", line 321, in main leakage.search(from_iter=from_iter) File "/home/red/ChatGPT-API/ChatGPT-API-Leakage/main.py", line 217, in search self._process_url(url) File "/home/red/ChatGPT-API/ChatGPT-API-Leakage/main.py", line 124, in _process_url self.driver.get(url) File "/home/red/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 356, in get self.execute(Command.GET, {"url": url}) File "/home/red/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 347, in execute self.error_handler.check_response(response) File "/home/red/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: 288.007 (Session info: chrome=126.0.6478.61) Stacktrace: #0 0x5556c728f6aa <unknown> #1 0x5556c6f720dc <unknown> #2 0x5556c6f59456 <unknown> #3 0x5556c6f59035 <unknown> #4 0x5556c6f56f76 <unknown> #5 0x5556c6f575ef <unknown> #6 0x5556c6f67f17 <unknown> #7 0x5556c6f7e46e <unknown> #8 0x5556c6f83b6b <unknown> #9 0x5556c6f57d3a <unknown> #10 0x5556c6f7e2ee <unknown> #11 0x5556c70008f6 <unknown> #12 0x5556c6fe1613 <unknown> #13 0x5556c6fb14f7 <unknown> #14 0x5556c6fb1e4e <unknown> #15 0x5556c725587b <unknown> #16 0x5556c7259921 <unknown> #17 0x5556c724136e <unknown> #18 0x5556c725a482 <unknown> #19 0x5556c7225ccf <unknown> #20 0x5556c727f0a8 <unknown> #21 0x5556c727f280 <unknown> #22 0x5556c728e7dc <unknown> #23 0x7f050a1d2ac3 <unknown>
i get a minor bug while connecting to login page from github
Output:
> python main.py
INFO:root:Opening Chrome ...
DevTools listening on ws://127.0.0.1:51864/devtools/browser/acb03786-9b08-4e3c-9353-a9ca364cc634
INFO:root:๐ Opening database file github.db
INFO:root:๐ค No cookies found, please login to GitHub first
Press Enter after you logged in: [15640:16112:0401/120304.983:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -100
[15640:16112:0401/120304.998:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -107
[15640:16112:0401/120316.800:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -107
[15640:16112:0401/120328.677:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -107
This might be dumb cause I'm new to this, but after running the code and logging in my github account, theoretically i pressed enter, but of course it just made a new line. And I can't write a new command because the old one's still running.
$ python3 main.py
\U0001f4c2 Opening database file github.db
\U0001f30d Opening Chrome ...
\U0001f917 No cookies found, please login to GitHub first
Press Enter after you logged in:
and that's it.
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.