├── LICENSE ├── README.md ├── adres.py ├── adsoyad.py ├── aile.py ├── gsmtc.py ├── installpython.bat ├── installreq.bat ├── pythoncheck.py ├── requirements.txt ├── tc.py └── tcgsm.py /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Berk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # Python Checker 3 | 4 | Merhaba projeyi kisaca aciklamak gerekirse gayet hizli calisan bir panel diyebilirsiniz datalari bulmak size kalmis gayet basit bir kod eger oto guncelleme kodunu silmezseniz surekli olarak guncel tutmaya calisacagim yeni seyler ekleyerek. 5 | 6 | ## Bilgisayarınızda Çalıştırın 7 | 8 | Pythonu Indirin 9 | 10 | ```bash 11 | installpython.bat'i baslatin ve bitmesini bekleyin 12 | ``` 13 | 14 | Modulleri Indirin 15 | 16 | ```bash 17 | installreq.bat'i baslatin ve bitmesini bekleyin 18 | ``` 19 | 20 | Baslatin 21 | 22 | ```bash 23 | py pythonchecker.py yazarak baslatin 24 | ``` 25 | 26 | 27 | ## Destek 28 | 29 | Destek için discord.gg/101m adresine katilabilirsiniz . 30 | 31 | 32 | ## Özellikler 33 | 34 | - Ad Soyad, GSM , TC, Aile Sorgu 35 | - Hizlandirilmis Calisma ( Az Kod Cok Islev ) 36 | - CMD Ekraninda kolay kullanim 37 | - Acik kaynak kodlu gelistirilmeye acik. 38 | - Adresi Rastgele Uretiyor. 39 | 40 | ## Hatalar Ve Cozumleri 41 | 42 | - termcolor hatasi: pip install termcolor 43 | - pystyle hatasi : pip install pystyle. 44 | - mysql hatasi : pip install mysql, pip install mysql.connector 45 | 46 | -------------------------------------------------------------------------------- /adres.py: -------------------------------------------------------------------------------- 1 | import requests 2 | import random 3 | 4 | tc = input("TC : ") 5 | 6 | url = "https://randomuser.me/api/?nat=tr&inc=name,location&noinfo" 7 | response = requests.get(url) 8 | data = response.json() 9 | 10 | name = data['results'][0]['name']['first'] + " " + data['results'][0]['name']['last'] 11 | city = data['results'][0]['location']['city'] 12 | state = data['results'][0]['location']['state'] 13 | postcode = data['results'][0]['location']['postcode'] 14 | latitude = data['results'][0]['location']['coordinates']['latitude'] 15 | longitude = data['results'][0]['location']['coordinates']['longitude'] 16 | 17 | 18 | mahalle_listesi = ['Merkez', 'Kuzey', 'Güney', 'Doğu', 'Batı', 'Orta', 'Yeni', 'Eski', 'İnönü', 'Atatürk', 'Cumhuriyet', 'Barış', 'Özgürlük', 'Gül', 'Çiçek', 'Meydan', 'Bahçe', 'Park', 'Yıldız', 'Ay', 'Güneş'] 19 | neighborhood = random.choice(mahalle_listesi) 20 | 21 | 22 | sokak_listesi = ['Cumhuriyet', 'Atatürk', 'İnönü', 'Barış', 'Özgürlük', 'Bahçe', 'Park', 'Çınar', 'Güzel', 'Gül', 'Meydan', 'Yıldız', 'Ay', 'Güneş'] 23 | sokak = random.choice(sokak_listesi) 24 | door_no = str(random.randint(1, 39)) 25 | apartment_no = str(random.randint(1, 999)) 26 | 27 | address = f"{sokak} Sokak No:{door_no}/{apartment_no}" 28 | door_no = str(random.randint(1, 39)) 29 | print("ADRESI: " + address) 30 | print("MAHALLE/SEMT: " + neighborhood) 31 | print("ŞEHİR: " + city) 32 | print("İL: " + state) 33 | print("POSTA KODU: " + str(postcode)) 34 | print("ENLEM: " + str(latitude)) 35 | print("BOYLAM: " + str(longitude)) 36 | print("KAPINO: " + str(random.randint(1, 39))) 37 | -------------------------------------------------------------------------------- /adsoyad.py: -------------------------------------------------------------------------------- 1 | import mysql.connector 2 | 3 | 4 | mydb = mysql.connector.connect( 5 | host="localhost", 6 | user="root", 7 | password="", 8 | database="101m" 9 | ) 10 | 11 | 12 | mycursor = mydb.cursor() 13 | 14 | 15 | adi = input("Adı: ") 16 | soyadi = input("Soyadı: ") 17 | il = input("İl (Boş bırakabilirsiniz): ") 18 | nufusil = input("NufusIl (Boş bırakabilirsiniz): ") 19 | 20 | 21 | dosya_adi = adi + "_" + soyadi + ".txt" 22 | 23 | 24 | try: 25 | if il: 26 | sql = f"SELECT * FROM 101m WHERE ADI = '{adi}' AND SOYADI = '{soyadi}' AND NUFUSIL = '{il}'" 27 | elif nufusil: 28 | sql = f"SELECT * FROM 101m WHERE ADI = '{adi}' AND SOYADI = '{soyadi}' AND NUFUSIL = '{il} AND NUFUSILCE = '{nufusil}'" 29 | else: 30 | sql = f"SELECT * FROM 101m WHERE ADI = '{adi}' AND SOYADI = '{soyadi}'" 31 | 32 | 33 | 34 | mycursor.execute(sql) 35 | 36 | 37 | with open(dosya_adi, "wb") as dosya: 38 | for kayit in mycursor: 39 | tc = kayit[1] 40 | adi = kayit[2] 41 | soyadi = kayit[3] 42 | baba_adi = kayit[6] 43 | ana_adi = kayit[5] 44 | dogum_tarihi = kayit[4] 45 | nufus_il = kayit[7] 46 | nufus_ilce = kayit[8] 47 | uyruk = kayit[9] 48 | 49 | dosya.write(f"TC:{tc}, ADI:{adi}, SOYADI:{soyadi}, BABAADI:{uyruk}, ANAADI:{nufus_il}, " 50 | f"DOGUMTARIHI:{dogum_tarihi}, NUFUSIL:{ana_adi}, NUFUSILCE:{baba_adi}, ANATC:{nufus_ilce}\n".encode()) 51 | 52 | 53 | print(f"TC:{tc}, ADI:{adi}, SOYADI:{soyadi}, BABAADI:{uyruk}, ANAADI:{nufus_il}, " 54 | f"DOGUMTARIHI:{dogum_tarihi}, NUFUSIL:{ana_adi}, NUFUSILCE:{baba_adi}, ANATC:{nufus_ilce}\n".encode()) 55 | 56 | print(f"Veriler {dosya_adi} dosyasına kaydedildi.") 57 | 58 | except mysql.connector.errors.ProgrammingError: 59 | print("Hata: Geçersiz sorgu.") 60 | except Exception as e: 61 | print("Hata:", e) 62 | -------------------------------------------------------------------------------- /aile.py: -------------------------------------------------------------------------------- 1 | import time 2 | 3 | print("Bakimda..") 4 | time.sleep(3) 5 | -------------------------------------------------------------------------------- /gsmtc.py: -------------------------------------------------------------------------------- 1 | import mysql.connector 2 | import time 3 | 4 | 5 | database = input("GSM Databaseinizin ismini girin (Ornek: hacerdedegsm, 120mgsm): ") 6 | frmname = input("GSM Databaseinizin frm ismini girin (Ornek: gsm.frm, 120mgsm.frm): ") 7 | 8 | mydb = mysql.connector.connect( 9 | host="localhost", 10 | user="root", 11 | password="", 12 | database= database 13 | ) 14 | 15 | mycursor = mydb.cursor() 16 | 17 | gsm = input("GSM giriniz: ") 18 | 19 | dosya_adi = database + "_" + gsm + ".txt" 20 | 21 | 22 | try: 23 | 24 | sql = f"SELECT * FROM {frmname} WHERE GSM = '{gsm}'" 25 | 26 | 27 | mycursor.execute(sql) 28 | 29 | 30 | with open(dosya_adi, "wb") as dosya: 31 | for i in mycursor: 32 | tc = i[0] 33 | 34 | dosya.write(f"TC:{tc}, GSM: {gsm}\n".encode()) 35 | 36 | print(f"Gsm {dosya_adi} dosyasına kaydedildi.") 37 | 38 | results = mycursor.fetchall() 39 | if len(results) > 0: 40 | for result in results: 41 | tc = result[0] 42 | gsm = result[1] 43 | 44 | print(f"TC: {tc}") 45 | time.sleep(5) 46 | else: 47 | print("Eşleşen veri yok.") 48 | 49 | except mysql.connector.errors.ProgrammingError: 50 | print("Hata: Geçersiz sorgu.") 51 | except Exception as e: 52 | print("Hata:", e) 53 | -------------------------------------------------------------------------------- /installpython.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | for /f "tokens=1,2 delims= " %%a in ('powershell -Command "Invoke-WebRequest https://www.python.org/ftp/python/ -UseBasicParsing | Select-String -Pattern '3.10.[0-9]{1,2}' -AllMatches | Select-Object -ExpandProperty Matches | Select-Object -ExpandProperty Value | Sort-Object -Descending -Unique | Select-Object -First 1"') do ( 4 | set "PYTHON_VERSION=%%a%%b" 5 | ) 6 | set "PYTHON_URL=https://www.python.org/ftp/python/%PYTHON_VERSION%/python-%PYTHON_VERSION%-amd64.exe" 7 | set "PYTHON_EXE=python-installer.exe" 8 | 9 | curl -L -o %PYTHON_EXE% %PYTHON_URL% 10 | 11 | start /wait %PYTHON_EXE% /quiet /passive InstallAllUsers=0 PrependPath=1 Include_test=0 Include_pip=1 Include_doc=0 12 | 13 | del %PYTHON_EXE% -------------------------------------------------------------------------------- /installreq.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM Excode 3 | 4 | REM Pip yoksa: 5 | where pip > nul || (echo "pip yüklü değil. Lütfen önce pip kurun." & pause & exit /b 1) 6 | 7 | REM paketleri indir 8 | for /f "delims=" %%i in (requirements.txt) do ( 9 | REM Excode 10 | pip install %%i 11 | ) 12 | 13 | echo "Kurulum Tamamlandi.." 14 | pause 15 | -------------------------------------------------------------------------------- /pythoncheck.py: -------------------------------------------------------------------------------- 1 | import os 2 | import webbrowser 3 | import os.path 4 | import subprocess 5 | from termcolor import colored 6 | from pystyle import * 7 | import ctypes 8 | import urllib 9 | import time 10 | import urllib.request 11 | ctypes.windll.kernel32.SetConsoleTitleA("EXCODE") 12 | import socket 13 | 14 | 15 | 16 | # Yeni başlık adını belirleyin 17 | yeni_baslik = "Excode :)" 18 | 19 | 20 | 21 | url = "https://raw.githubusercontent.com/codexecuter/pythonchecker/main/pythoncheck.py" 22 | filename = "pythoncheck.py" 23 | 24 | def check_file(): 25 | print("Kodun guncel olup olunmadigi kontrol ediliyor..") 26 | urllib.request.urlretrieve(url, "temp") 27 | if not os.path.exists(filename): 28 | return True 29 | else: 30 | with open("temp", "r") as f1, open(filename, "r") as f2: 31 | if f1.read() == f2.read(): 32 | return False 33 | else: 34 | return True 35 | os.remove("temp") 36 | 37 | 38 | 39 | def update_file(): 40 | print("Kod guncelleniyor..") 41 | urllib.request.urlretrieve(url, filename) 42 | 43 | 44 | if check_file(): 45 | update_file() 46 | print("Kod Guncel") 47 | time.sleep(3) 48 | 49 | 50 | def consoleclear(): 51 | os.system('cls') 52 | 53 | 54 | 55 | def check_mysql_port(host, port): 56 | while True: 57 | sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 58 | result = sock.connect_ex((host, port)) 59 | if result == 0: 60 | print(f"MySQL port {port} Acik {host}.") 61 | sock.close() 62 | break 63 | else: 64 | print(f"MySQL port {port} Kapali {host}. 5 Saniye Bekleniyor...") 65 | time.sleep(5) 66 | 67 | 68 | check_mysql_port('localhost', 3306) 69 | 70 | 71 | 72 | blue = Col.light_blue 73 | lblue = Colors.StaticMIX((Col.light_blue, Col.white, Col.white)) 74 | red = Col.light_red 75 | lred = Colors.StaticMIX((Col.light_red, Col.white, Col.white)) 76 | green = Col.light_green 77 | lgreen = Colors.StaticMIX((Col.light_green, Col.white, Col.white)) 78 | 79 | def stage(text: str, symbol: str = '...') -> str: 80 | if symbol == '...': 81 | return f""" {Col.Symbol(symbol, lblue, blue)} {lblue}{text}{Col.reset}""" 82 | elif symbol == "!": 83 | return f""" {Col.Symbol(symbol, lred, red)} {red}{text}{Col.reset}""" 84 | elif symbol == "x": 85 | return f""" {Col.Symbol(symbol, lgreen, green)} {green}{text}{Col.reset}""" 86 | else: 87 | return f""" {Col.Symbol(symbol, blue, lblue)} {blue}{text}{Col.reset}""" 88 | 89 | urllist= [] 90 | 91 | while True: 92 | 93 | url = "https://github.com/codexecuter/pythonchecker/blob/main/" 94 | if url in urllist: 95 | pass 96 | else: 97 | consoleclear() 98 | print(stage(f"Menu Dahilinde yeni .py dosyalari eklendi tekrardan githubdan indirin.", "x")) 99 | print(stage(f"1 - Ad Soyad Sorgu", "!")) 100 | print(stage(f"2 - GSM Sorgu", "!")) 101 | print(stage(f"3 - TC Sorgu", "!")) 102 | print(stage(f"4 - Aile Sorgu", "!")) 103 | print(stage(f"5 - GSM TC Sorgu", "!")) 104 | print(stage(f"6 - Adres Sorgu", "!")) 105 | print(stage(f"8 - Discord", "!")) 106 | print(stage(f"9 - Youtube", "!")) 107 | secim = input("Seciminiz: ") 108 | 109 | if secim == "1": 110 | subprocess.run(["python", "adsoyad.py"]) 111 | elif secim == "2": 112 | subprocess.run(["python", "gsm.py"]) 113 | elif secim == "3": 114 | subprocess.run(["python", "tc.py"]) 115 | elif secim == "4": 116 | subprocess.run(["python", "eokul.py"]) 117 | elif secim == "5": 118 | subprocess.run(["python", "gsmtc.py"]) 119 | elif secim == "9": 120 | webbrowser.open("https://www.youtube.com/@codexecuter") 121 | elif secim == "6": 122 | subprocess.run(["python", "adres.py"]) 123 | elif secim == "8": 124 | webbrowser.open("https://discord.gg/101m") 125 | else: 126 | consoleclear() 127 | print("Hatalı seçim.") 128 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | os 2 | pystyle 3 | termcolor 4 | mysql.connector 5 | webbrowser 6 | winreg 7 | psutil 8 | sys 9 | ctypes 10 | requests 11 | subprocess 12 | urllib.request 13 | time 14 | urllib 15 | mysql 16 | -------------------------------------------------------------------------------- /tc.py: -------------------------------------------------------------------------------- 1 | import mysql.connector 2 | 3 | 4 | db = mysql.connector.connect( 5 | host="localhost", 6 | user="root", 7 | password="", 8 | database="101m" 9 | ) 10 | 11 | 12 | if db.is_connected(): 13 | print("Veritabanına başarıyla bağlandı.") 14 | 15 | tc = input("Lütfen TC kimlik numarasını girin: ") 16 | 17 | 18 | cursor = db.cursor() 19 | cursor.execute(f"SELECT * FROM 101m WHERE TC = '{tc}'") 20 | result = cursor.fetchone() 21 | 22 | 23 | with open("sonuc.txt", "a", encoding="utf-8") as f: 24 | if result: 25 | adi = result[2] 26 | soyadi = result[3] 27 | dogum_tarihi = result[4] 28 | nufus_yeri = result[5] 29 | ilce = result[6] 30 | anne_adi = result[7] 31 | anne_tc = result[8] 32 | baba_adi = result[9] 33 | baba_tc = result[10] 34 | uyruk = result[11] 35 | f.write(f"Kendi: TC : {tc} ADI : {adi} SOYADI : {soyadi} DOGUM TARIHI: {dogum_tarihi} NUFUSU: {nufus_yeri} ILCESI: {ilce} Annesi: {anne_adi} Annesinin TCsi: {anne_tc} Babasi: {baba_adi} Babasinin TCsi: {baba_tc} UYRUGU: {uyruk}\n") 36 | print(f"Kendi: TC : {tc} ADI : {adi} SOYADI : {soyadi} DOGUM TARIHI: {dogum_tarihi} NUFUSU: {nufus_yeri} ILCESI: {ilce} Annesi: {anne_adi} Annesinin TCsi: {anne_tc} Babasi: {baba_adi} Babasinin TCsi: {baba_tc} UYRUGU: {uyruk}") 37 | else: 38 | f.write(f"{tc} için sonuç bulunamadı.\n") 39 | print(f"{tc} için sonuç bulunamadı.") 40 | 41 | # Bağlantıyı kapat 42 | db.close() 43 | -------------------------------------------------------------------------------- /tcgsm.py: -------------------------------------------------------------------------------- 1 | import mysql.connector 2 | import time 3 | 4 | 5 | database = input("GSM Databaseinizin ismini girin (Ornek: hacerdedegsm, 120mgsm): ") 6 | frmname = input("GSM Databaseinizin frm ismini girin (Ornek: gsm.frm, 120mgsm.frm): ") 7 | 8 | mydb = mysql.connector.connect( 9 | host="localhost", 10 | user="root", 11 | password="", 12 | database= database 13 | ) 14 | 15 | mycursor = mydb.cursor() 16 | 17 | tc = input("TC giriniz: ") 18 | 19 | dosya_adi = database + "_" + tc + ".txt" 20 | 21 | 22 | try: 23 | 24 | sql = f"SELECT * FROM {frmname} WHERE TC = '{tc}'" 25 | 26 | 27 | mycursor.execute(sql) 28 | 29 | 30 | with open(dosya_adi, "wb") as dosya: 31 | for i in mycursor: 32 | tc = i[0] 33 | gsm = i[1] 34 | 35 | dosya.write(f"GSM:{gsm}, TC: {tc}\n".encode()) 36 | print(f"Gsm {dosya_adi} dosyasına kaydedildi.") 37 | 38 | 39 | results = mycursor.fetchall() 40 | if len(results) > 0: 41 | for result in results: 42 | tc = result[0] 43 | gsm = result[1] 44 | 45 | print(f"GSM: {gsm}") 46 | time.sleep(5) 47 | else: 48 | print("Eşleşen veri yok.") 49 | 50 | 51 | except mysql.connector.errors.ProgrammingError: 52 | print("Hata: Geçersiz sorgu.") 53 | except Exception as e: 54 | print("Hata:", e) 55 | --------------------------------------------------------------------------------