⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
erol
/
View File Name :
ayaryaz.py
import pymysql try: baglanti = pymysql.connect( host='127.0.0.1', db='newcoin', user='root', password='Ua04420076*', port=3306, charset='utf8mb4', cursorclass=pymysql.cursors.DictCursor ) with baglanti.cursor() as islem: try: while True: islem.execute('SELECT * from `symbols` where `isReset`=1') symbolayar = islem.fetchall() baglanti.commit() if symbolayar: for symbol in symbolayar: if symbol: islem.execute('update `symbols` set `isReset`=0, `longsay`=0, `shortsay`=0,`L_roi`=0, `S_roi`=0 where `symbol`=%s',symbol["symbol"]) baglanti.commit() except Exception as e: print(f"Hata oluştu: {e}") except KeyboardInterrupt: print("Ctrl+C'ye basıldı, program kapatılmayacak.") while True: pass finally: if 'baglanti' in locals(): baglanti.close()