Python Password Generator /// Eagleweb

Eagleweb

Kıdemli Üye
8 May 2021
2,120
1,151
localhost/e8
Hi,
If you want a password generator of your own, you can use the following codes ;


Python:
import random
from tkinter import *
import string


def generate_password():
    password = []
    for i in range(5):
        alpha = random.choice(string.ascii_letters)
        symbol = random.choice(string.punctuation)
        numbers = random.choice(string.digits)
        password.append(alpha)
        password.append(symbol)
        password.append(numbers)

    y = "".join(str(x) for x in password)
    lbl.config(text=y)


root = Tk()
root.title("Eagleweb Password Generator")
root.geometry("500x500")
btn = Button(root, text="Password", command=generate_password)
btn.grid(row=2, column=2)
lbl = Label(root, font=("times", 15, "bold"))
lbl.grid(row=4, column=2)
root.mainloop()


Source : Şifre Üretici Klon Çalışması /// Eagleweb

logo.png


 

7as

Uzman üye
15 May 2021
1,706
1,159
En el universo
Hi,
If you want a password generator of your own, you can use the following codes ;


Python:
import random
from tkinter import *
import string


def generate_password():
    password = []
    for i in range(5):
        alpha = random.choice(string.ascii_letters)
        symbol = random.choice(string.punctuation)
        numbers = random.choice(string.digits)
        password.append(alpha)
        password.append(symbol)
        password.append(numbers)

    y = "".join(str(x) for x in password)
    lbl.config(text=y)


root = Tk()
root.title("Eagleweb Password Generator")
root.geometry("500x500")
btn = Button(root, text="Password", command=generate_password)
btn.grid(row=2, column=2)
lbl = Label(root, font=("times", 15, "bold"))
lbl.grid(row=4, column=2)
root.mainloop()


Source : Şifre Üretici Klon Çalışması /// Eagleweb

logo.png


Nice topic.
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.