Skip to content

RECON IR Recycled bin  #6

Description

@freeload101

Set-Variable -Name ErrorActionPreference -Value SilentlyContinue

(Get-ChildItem -Path 'C:$Recycle.Bin' -Force -Recurse) | select * | ForEach-Object {

Write-Output ($_).FullName

if ((($).Name -match '$') -and ((Get-Item ($).FullName).length -lt 500 )) {

((Get-Content ($_).FullName) -replace ".*\u0001.", "Meta: " -replace "\u0000", "")

}

}

The random file names are killing me ...I have no way to know if the random file is a metadata file or the file itself ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions