yeswanth0212/token_system
1
1import psycopg22import sys3 4passwords = ["Yeswanth@012", "Yeswanth@2005", "Yeswanth"]5host = "db.rtfakivynmxhradgseym.supabase.co"6user = "postgres"7dbname = "postgres"8port = 54329 10for pw in passwords:11 print(f"Testing password: {pw}")12 try:13 conn = psycopg2.connect(14 host=host,15 database=dbname,16 user=user,17 password=pw,18 port=port,19 connect_timeout=520 )21 print("SUCCESS! Connected successfully.")22 conn.close()23 sys.exit(0)24 except Exception as e:25 print(f"FAILED: {e}\n")26 