Spaces:
Paused
Paused
Download get_hashes.py from YOSOYYONOSOYOTRO/crowdata: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/spaces/YOSOYYONOSOYOTRO/crowdata/resolve/main/get_hashes.py
- Command line
-
hf download hf://spaces/YOSOYYONOSOYOTRO/crowdata/get_hashes.py
-
curl -L -o get_hashes.py https://huggingface.co/spaces/YOSOYYONOSOYOTRO/crowdata/resolve/main/get_hashes.py
331 Bytes
| import sqlite3 | |
| conn = sqlite3.connect('E:/crowdata/backend/crowdata.db') | |
| cursor = conn.cursor() | |
| cursor.execute('SELECT email, hashed_password FROM users WHERE email IN ("admin@crowdata.ar", "crowsistemas@proton.me")') | |
| for row in cursor.fetchall(): | |
| print(f'Email: {row[0]}') | |
| print(f'Hash: {row[1]}') | |
| print() | |
| conn.close() |