๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
  • Tried. Failed. Logged.
๐Ÿ”’์ •๋ณด๋ณด์•ˆ/๋””์ง€ํ„ธ ํฌ๋ Œ์‹

๋””์ง€ํ„ธ ํฌ๋ Œ์‹ - PowerShell ๋ช…๋ น์–ด ๊ธฐ๋ก ์ €์žฅ ๊ฒฝ๋กœ(ConsoleHost_history.txt)

by Janger 2023. 5. 12.
728x90
๋กœ๊ทธ ํŒŒ์ผ ๊ฒฝ๋กœ
$env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt

C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt

 

์ฐธ๊ณ ๋กœ powershell -c ๋ช…๋ น์–ด ๊ฐ™์€ ๋ผ์ธ ์‹คํ–‰ ๋ช…๋ น์–ด๋Š” ๊ธฐ๋ก์ด ์•ˆ ๋˜๋Š” ๊ฒƒ์œผ๋กœ ๋ณด์ธ๋‹ค. 

 

 

 

์ถœ์ฒ˜: 

https://www.reddit.com/r/computerforensics/comments/gqjhhw/does_windows_log_the_cmd_history/

 

r/computerforensics on Reddit: Does windows log the cmd history?

Posted by u/Shana-na-na - 24 votes and 10 comments

www.reddit.com

 

728x90