Skip to content

Instantly share code, notes, and snippets.

@WWelna
Created March 5, 2021 04:19
Show Gist options
  • Save WWelna/501354e212638bc532befdc9f0b64a96 to your computer and use it in GitHub Desktop.
Save WWelna/501354e212638bc532befdc9f0b64a96 to your computer and use it in GitHub Desktop.
DDoSecrets - Gab Stats - Breach Information
#!/bin/python3
import orjson as json
pass_count = 0
email_count = 0
emailandpass_count = 0
justemail_count = 0
justpass_count = 0
with open('/xs/Archive-Gab/ddosecrets_gabdump.json') as f:
for line in f:
try:
j = json.loads(line)
if j['__DBEXPORT__'] == 'accounts':
haz_pass = False
haz_email = False
if 'password' in j:
if len(j['password']) > 1:
pass_count += 1
haz_pass = True
if 'email' in j:
if len(j['email']) > 1:
email_count += 1
haz_email = True
if haz_email == True and haz_pass == True:
emailandpass_count += 1
if haz_email == True and haz_pass == False:
justemail_count += 1
if haz_email == False and haz_pass == True:
justpass_count += 1
except: pass # Some entries have zero data attached, faster + easier just to catch exception
print(f"There is {pass_count} accounts total with passwords")
print(f"There is {email_count} accounts total with emails")
print(f"There is {justemail_count} accounts with just emails")
print(f"There is {justpass_count} accounts with just passwords")
print(f"There is {emailandpass_count} accounts with emails and passwords")
@WWelna
Copy link
Author

WWelna commented Mar 5, 2021

There is 7110 accounts total with passwords
There is 38171 accounts total with emails
There is 31069 accounts with just emails
There is 8 accounts with just passwords
There is 7102 accounts with emails and passwords

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment