sihunh / yarateste

웹사이트 내 Yara Rule를 이용해 webshell을 탐지하는 툴입니다 및 사용자가 다운로드 받은 파일에 대해 검사를 진행합니다
0 stars 0 forks source link

popup #1

Open sihunh opened 2 years ago

sihunh commented 2 years ago

윈도우 팝업 예제

from plyer import notification

import tkinter as tk

root = tk.Tk()

tk.Label(root , text = 'NOTIFICATION DEVELOPER').grid(row = 0, column = 0) tk.Label(root , text = 'Notification Title:').grid(row = 3, column = 0) tk.Label(root , text = 'Notification Message').grid(row = 4, column = 0) tk.Label(root , text = 'Seconds for which it appears'). grid(row = 5, column = 0)

t1 = tk.Entry(root) t1.grid(row = 3, column = 1)

m = tk.Entry(root) m.grid(row = 4, column = 1)

tm = tk.Entry(root) tm.grid(row = 5, column = 1)

def strt(): a = int(tm.get()) notification.notify( title = t1.get(), message = m.get(), timeout = a ) tk.Button(root , text = 'START NOTIFICATION' , command = strt).grid(row = 6, column = 0)

root.mainloop()

sihunh commented 1 year ago

오류 떠서 패스