{"id":21088131,"url":"https://github.com/hanasuru/trashparse","last_synced_at":"2025-05-16T11:32:31.556Z","repository":{"id":48616166,"uuid":"317353881","full_name":"hanasuru/TrashParse","owner":"hanasuru","description":"Simply tool for analyzing Windows Recycle.Bin files","archived":false,"fork":false,"pushed_at":"2021-07-17T19:38:07.000Z","size":18,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-25T19:48:58.301Z","etag":null,"topics":["forensic","recycle-bin","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hanasuru.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-30T21:46:11.000Z","updated_at":"2024-12-16T13:03:36.000Z","dependencies_parsed_at":"2022-09-06T15:02:04.198Z","dependency_job_id":null,"html_url":"https://github.com/hanasuru/TrashParse","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanasuru%2FTrashParse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanasuru%2FTrashParse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanasuru%2FTrashParse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanasuru%2FTrashParse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanasuru","download_url":"https://codeload.github.com/hanasuru/TrashParse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254522235,"owners_count":22085075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["forensic","recycle-bin","windows"],"created_at":"2024-11-19T21:15:29.100Z","updated_at":"2025-05-16T11:32:26.504Z","avatar_url":"https://github.com/hanasuru.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrashParse\n\nTrashParse is a simple tool for analyzing Windows Recycle.Bin files based on $I \u0026 $R entry. Also a tool that originally inspired from [$I parser](https://df-stream.com/recycle-bin-i-parser/).\n\n## Installation\n\n```\n$ pip install trashparse\n```\n\n\n## Usage\n\nFor instances, you can check helper section by passing `-h` or `--help`.\n\n```bash\n$ trashparse -h                                                       \n\nusage: trashparse [-h] [--sort attribute] [--write directory] [--quiet]\n                  directory\n\nSimple Recycle.Bin Windows Parser\n\npositional arguments:\n  directory             target directory\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --sort attribute, -s attribute\n                        Sort by attribute (name, time, size)\n  --write directory, -w directory\n                        Write $R content into a directory; default=\"files/\"\n  --quiet, -q           quiet (Don't show list file)                                       \n```\n\n### Display general info\n\nTrashParse allow you to generate general information by passing directory name that contains any file with `$I prefix file`\n\n```bash\n$ trashparse \\$RECYCLE.BIN/S-1-5-21-4144826732-2003267707-115468498-1001\n\n+--------------+----------------------------+------------+------+---------------------+\n|    Index     |        Deleted Time        |  Version   | Size |    Original Path    |\n+--------------+----------------------------+------------+------+---------------------+\n| $IEW83YF.txt | 2020-11-30 22:12:27.451000 | Windows 10 |  30  | D:\\samples\\test.txt |\n+--------------+----------------------------+------------+------+---------------------+\n\n\n```\n\n### Extract deleted file\n\nTrashParse allow you to extract content based on parsed `fileinfo` from `$I and $R file`\n\n```bash\n$ trashparse \\$RECYCLE.BIN/S-1-5-21-4144826732-2003267707-115468498-1001 -q -w files\n\n$ ls files/\ntest.txt\n\n$ cat files/test.txt  \nThis file will be deleted soon\n```\n\n## Authors\n\n* **hanasuru** - *Initial work* \n\nSee also the list of [contributors](https://github.com/hanasuru/TrashParse/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanasuru%2Ftrashparse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanasuru%2Ftrashparse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanasuru%2Ftrashparse/lists"}