Skip to main content

Summary

This uses AppleEvents to read information about open instances of Apple’s Terminal.app. The contents flag allows you to see exactly what the user can see at that moment on the screen. The history flag allows you to see everything that’s in that tab’s scroll history. This can be a lot of information, so keep that in mind. This function will also give you the window/tab information for each open session and a bunch of other information.
  • Needs Admin: False
  • Version: 1
  • Author: @its_a_feature_

Arguments

level

  • Description: How much data to retrive - what’s viewable or all history
  • Required Value: True
  • Default Value: None

Usage

MITRE ATT&CK Mapping

  • T1139
  • T1056

Detailed Summary

This sends AppleEvents to the Terminal.app to read information about the windows/tabs: