chore: clean .gitignore cache

This commit is contained in:
GitHub Actions
2026-01-26 19:22:05 +00:00
parent e5f0fec5db
commit f64e3feef8
1448 changed files with 468101 additions and 0 deletions

23
scripts/debug_db.py Normal file
View File

@@ -0,0 +1,23 @@
import sqlite3
import os
db_path = '/projects/Charon/backend/data/charon.db'
if not os.path.exists(db_path):
print(f"Database not found at {db_path}")
exit(1)
try:
conn = sqlite3.connect(db_path)
cursor = conn.cursor()
cursor.execute("SELECT id, domain_names, forward_host, forward_port FROM proxy_hosts")
rows = cursor.fetchall()
print("Proxy Hosts:")
for row in rows:
print(f"ID: {row[0]}, Domains: {row[1]}, ForwardHost: {row[2]}, Port: {row[3]}")
conn.close()
except Exception as e:
print(f"Error: {e}")