2.2 KiB
2.2 KiB
Send Message iOS - by bst04
Description
This script, created by bst04, is designed to work on iOS systems. It opens the Messages app, navigates to a specific contact, and sends a predefined text message.
Technical Explanation
-
Initialization:
DELAY 2000: Waits for 2 seconds to ensure the system is ready.GUI h: Simulates pressing "Command" + "h" to hide the current application.DELAY 150: Waits for 0.15 seconds.GUI SPACE: Simulates pressing "Command" + "Space" to open Spotlight Search.DELAY 150: Waits for 0.15 seconds for Spotlight to open.BACKSPACE: Clears any existing text in the search bar.
-
Open Messages App:
DELAY 500: Waits for 0.5 seconds.STRING Messages: Types "Messages" to search for the Messages app.DELAY 250: Waits for 0.25 seconds.ENTER: Opens the Messages app.
-
Navigate to Contact:
DELAY 1500: Waits for 1.5 seconds to ensure the Messages app is fully opened.GUI n: Simulates pressing "Command" + "n" to start a new message.DELAY 250: Waits for 0.25 seconds.STRING [persona]: Types the name of the contact (replace[persona]with the actual name).DELAY 500: Waits for 0.5 seconds.ENTER: Selects the contact.DELAY 250: Waits for 0.25 seconds.TAB: Navigates to the message input field.ENTER: Confirms the selection.DOWNARROW: Moves to the message input field.
-
Send Text Message:
DELAY 500: Waits for 0.5 seconds.STRING [texto]: Types the predefined message (replace[texto]with the actual text).DELAY 500: Waits for 0.5 seconds.ENTER: Sends the message.
Usage
- Copy the payload script to your DuckyScript-enabled device.
- Ensure the device is connected to an iOS system.
- Execute the payload to open the Messages app, navigate to a specific contact, and send the predefined text message.

