Skip to content

Files

30 lines (20 loc) · 1.02 KB

consolehistory.md

File metadata and controls

30 lines (20 loc) · 1.02 KB

ConsoleHistory

Description

Enumerates for and reads the ConsoleHost_history.txt file within each accessible user directory. This file can often contain credentialed information that has been stored within the terminal

For each system output is stored in $pwd\PME\PME\Console History\

Supported Methods

  • MSSQL
  • SMB
  • SessionHunter (WMI)
  • WMI
  • WinRM

Optional Parameters

ParameterValueDescription
-ShowOutputN/ADisplays each targets output to the console
-SuccessOnlyN/ADisplay only successful results

Usage

{% code overflow="wrap" %}

# Standard execution
PsMapExec -Username [User] -Password [Pass] -targets [All] -Module ConsoleHistory -Method [Method] -ShowOutput

{% endcode %}