Skip to content

linux trash dir artifact to find recycled files#3039

Open
shortstack wants to merge 2 commits intoVelocidex:masterfrom
Digital-Defense-Institute:whitney-trash-artifact
Open

linux trash dir artifact to find recycled files#3039
shortstack wants to merge 2 commits intoVelocidex:masterfrom
Digital-Defense-Institute:whitney-trash-artifact

Conversation

@shortstack
Copy link
Copy Markdown
Contributor

find all ~/.local/share/Trash dir contents on nix systems and display output

SELECT Uid, User, Homedir from Artifact.Linux.Sys.Users()
},
query={
SELECT FullPath, Mtime, Ctime, User, Uid
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you switch this to OSPath? Is it worth putting a Size field too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed/added :)

@shortstack shortstack requested a review from mgreen27 October 26, 2023 15:06
@scudette
Copy link
Copy Markdown
Contributor

scudette commented Mar 1, 2026

I think this is covered by this rule

https://triage.velocidex.com/docs/linux.triage.uac/rules/#Trash_info

although that rule only grabs the trash info - do you want to also include all the files themselves in the trash dir?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants