Skip to content

Commit d9e0867

Browse files
committed
update db
1 parent 2508eba commit d9e0867

File tree

6 files changed

+4
-13
lines changed

6 files changed

+4
-13
lines changed

README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# ChatGPT-API-Scanner
22

33
This tool scans GitHub for available OpenAI API Keys.
4-
![](https://private-user-images.githubusercontent.com/14367694/339697779-8a4aa293-f55e-4db9-955c-d62b97879a69.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNDQ5NzksIm5iZiI6MTcyNDI0NDY3OSwicGF0aCI6Ii8xNDM2NzY5NC8zMzk2OTc3NzktOGE0YWEyOTMtZjU1ZS00ZGI5LTk1NWMtZDYyYjk3ODc5YTY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDEyNTExOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMxNTYzNDBlZDg0YWM2NjNhOTEyNWI0YTlhNzAxYjliZjQ3MDA1NTNhZTBlM2U5Y2FjNTQ1Y2M2NjE5MzRiYWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0rUodw1AwTJoKc5BrXtEnK6koFKdTNtUy0xhiMhRlKY)
5-
![Result Demo 1](pics/db1.png)
4+
5+
![Result Demo 1](pics/demo.png)
66

77
> [!NOTE]
88
> As of `August 21, 2024`, GitHub has enabled push protection to prevent API key leakage, which could significantly impact this repository.
@@ -107,16 +107,7 @@ You can view the contents of this database using any SQLite database browser of
107107
108108
<figure>
109109
<img
110-
src="pics/db1.png"
111-
alt="Result in DB">
112-
<p align="center">
113-
Result stored in SQLite (available API Keys)
114-
</p>
115-
</figure>
116-
117-
<figure>
118-
<img
119-
src="pics/db2.png"
110+
src="pics/db.png"
120111
alt="Result in DB">
121112
<p align="center">
122113
Result stored in SQLite (different API Key status)

github.db

76 KB
Binary file not shown.
File renamed without changes.

pics/db1.png

-107 KB
Binary file not shown.

pics/demo.png

111 KB
Loading

src/configs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
# Old Project API Key
8888
(re.compile(r"sk-proj-[A-Za-z0-9-_]{58}T3BlbkFJ[A-Za-z0-9-_]{58}"), True, True),
8989
# Service Account Key
90-
(re.compile(r"sk-svcacct-[A-Za-z0-9-_]+T3BlbkFJ[A-Za-z0-9-_]+"), False, False),
90+
(re.compile(r"sk-svcacct-[A-Za-z0-9-_]\+T3BlbkFJ[A-Za-z0-9-_]+"), False, False),
9191
(re.compile(r"sk-proj-[A-Za-z0-9]{20}T3BlbkFJ[A-Za-z0-9]{20}"), True, False),
9292
# Old key format (deprecated by OpenAI)
9393
(re.compile(r"sk-[a-zA-Z0-9]{48}"), True, False),

0 commit comments

Comments
 (0)