boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

PowerShell History

Whenever a user runs a command in PowerShell, it is stored in a file that keeps a history of past commands. This is handy for repeating earlier commands quickly, and it also means that if a user typed a password directly on the PowerShell command line, you can retrieve it later. Run this from a cmd.exe prompt:

type %userprofile%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline\ConsoleHost_history.txt

Note: This command only works from cmd.exe, since PowerShell will not recognize %userprofile% as an environment variable. To read the file from PowerShell, replace %userprofile% with $Env:userprofile.