[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EW8R34EGZ5Y0KEXC8CHP72":3,"skill-same:01M6EW8R34EGZ5Y0KEXC8CHP72":111},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":72,"commitSha":73,"skillDirectory":74,"forksCount":14,"repositoryHtmlUrl":75,"repositoryHomepageUrl":76,"ownerHtmlUrl":77,"ownerBlogUrl":6,"ownerDescription":78,"updatedAt":79,"install":80,"resources":93},"01M6EW8R34EGZ5Y0KEXC8CHP72","recovering-deleted-files-with-photorec",null,"Recover deleted files from disk images and storage media using PhotoRec's file signature-based carving engine regardless of file system damage.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"photorec","with","files","recovering deleted files with photorec","digital-forensics","t1074","file-carving","data-recovery","evidence-recovery","Media","cybersecurity","data","disk","aml","evidence","images","file-recovery","map","de","storage","2026-11-10 10:12:30",false,"---\nname: recovering-deleted-files-with-photorec\ndescription: Recover deleted files from disk images and storage media using PhotoRec's\n  file signature-based carving engine regardless of file system damage.\ndomain: cybersecurity\nsubdomain: digital-forensics\ntags:\n- forensics\n- file-recovery\n- photorec\n- file-carving\n- data-recovery\n- evidence-recovery\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\n- MAP-5.1\n- MANAGE-2.4\natlas_techniques:\n- AML.T0070\n- AML.T0066\n- AML.T0082\nnist_csf:\n- RS.AN-01\n- RS.AN-03\n- DE.AE-02\n- RS.MA-01\nmitre_attack:\n- T1005\n- T1074\n- T1119\n- T1070\n- T1059\n---\n\n# Recovering Deleted Files with PhotoRec\n\n## When to Use\n- When recovering deleted files from a forensic disk image or storage device\n- When the file system is corrupted, formatted, or overwritten\n- During investigations requiring recovery of documents, images, videos, or databases\n- When file system metadata is unavailable but raw data sectors remain intact\n- For recovering files from memory cards, USB drives, and hard drives\n\n## Prerequisites\n- PhotoRec installed (part of TestDisk suite)\n- Forensic disk image or direct device access (read-only)\n- Sufficient output storage space (potentially larger than source)\n- Write-blocker if working with original media\n- Root\u002Fsudo privileges for device access\n- Knowledge of target file types for focused recovery\n\n## Workflow\n\n### Step 1: Install PhotoRec and Prepare the Environment\n\n```bash\n# Install TestDisk (includes PhotoRec) on Debian\u002FUbuntu\nsudo apt-get install testdisk\n\n# On RHEL\u002FCentOS\nsudo yum install testdisk\n\n# On macOS\nbrew install testdisk\n\n# Verify installation\nphotorec --version\n\n# Create output directory structure\nmkdir -p \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002F{all,documents,images,databases}\n\n# Verify the forensic image\nfile \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\nls -lh \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\n```\n\n### Step 2: Run PhotoRec in Interactive Mode\n\n```bash\n# Launch PhotoRec against a forensic image\nphotorec \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\n\n# Interactive menu steps:\n# 1. Select the disk image: evidence.dd\n# 2. Select partition table type: [Intel] for MBR, [EFI GPT] for GPT\n# 3. Select partition to scan (or \"No partition\" for whole disk)\n# 4. Select filesystem type: [ext2\u002Fext3\u002Fext4] or [Other] for NTFS\u002FFAT\n# 5. Choose scan scope: [Free] (unallocated only) or [Whole] (entire partition)\n# 6. Select output directory: \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n# 7. Press C to confirm and begin recovery\n\n# For direct device scanning (with write-blocker)\nsudo photorec \u002Fdev\u002Fsdb\n```\n\n### Step 3: Run PhotoRec with Command-Line Options for Targeted Recovery\n\n```bash\n# Non-interactive mode with specific file types\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdocuments\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   partition_table,options,mode,fileopt,search\n\n# Recover only specific file types using photorec command mode\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdocuments\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   options,keep_corrupted_file,enable \\\n   fileopt,everything,disable \\\n   fileopt,doc,enable \\\n   fileopt,docx,enable \\\n   fileopt,pdf,enable \\\n   fileopt,xlsx,enable \\\n   search\n\n# Recover only image files\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fimages\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   fileopt,everything,disable \\\n   fileopt,jpg,enable \\\n   fileopt,png,enable \\\n   fileopt,gif,enable \\\n   fileopt,bmp,enable \\\n   fileopt,tif,enable \\\n   search\n\n# Recover database files\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdatabases\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   fileopt,everything,disable \\\n   fileopt,sqlite,enable \\\n   fileopt,dbf,enable \\\n   search\n```\n\n### Step 4: Organize and Catalog Recovered Files\n\n```bash\n# PhotoRec outputs files into recup_dir.1, recup_dir.2, etc.\nls \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n\n# Count recovered files by type\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f | \\\n   sed 's\u002F.*\\.\u002F\u002F' | sort | uniq -c | sort -rn > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_type_summary.txt\n\n# Sort recovered files into directories by extension\ncd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\nfor ext in jpg png pdf docx xlsx pptx zip sqlite; do\n   mkdir -p \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fsorted\u002F$ext\n   find . -name \"*.$ext\" -exec cp {} \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fsorted\u002F$ext\u002F \\;\ndone\n\n# Generate SHA-256 hashes for all recovered files\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -exec sha256sum {} \\; \\\n   > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Frecovered_hashes.txt\n\n# Generate file listing with metadata\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f \\\n   -printf \"%f\\t%s\\t%T+\\t%p\\n\" | sort > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_listing.txt\n```\n\n### Step 5: Validate and Filter Recovered Files\n\n```bash\n# Verify file integrity using file signatures\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -exec file {} \\; \\\n   > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_signatures.txt\n\n# Find files with mismatched extension\u002Fsignature\nwhile IFS= read -r line; do\n   filepath=$(echo \"$line\" | cut -d: -f1)\n   filetype=$(echo \"$line\" | cut -d: -f2-)\n   ext=\"${filepath##*.}\"\n   if [[ \"$ext\" == \"jpg\" ]] && ! echo \"$filetype\" | grep -qi \"JPEG\"; then\n      echo \"MISMATCH: $filepath -> $filetype\"\n   fi\ndone \u003C \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_signatures.txt > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fmismatches.txt\n\n# Filter out known-good files using NSRL hash comparison\nhashdeep -r -c sha256 \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F | \\\n   grep -vFf \u002Fopt\u002Fnsrl\u002Fnsrl_sha256.txt > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Funknown_files.txt\n\n# Remove zero-byte and corrupted files\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -empty -delete\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -name \"*.jpg\" -exec jpeginfo -c {} \\; 2>&1 | \\\n   grep \"ERROR\" > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fcorrupted_images.txt\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| File carving | Recovering files from raw data using file header\u002Ffooter signatures |\n| File signatures | Magic bytes at the start of files identifying their type (e.g., FF D8 FF for JPEG) |\n| Unallocated space | Disk sectors not assigned to any active file; may contain deleted data |\n| Fragmented files | Files stored in non-contiguous sectors; harder to carve completely |\n| Cluster\u002FBlock size | Minimum allocation unit on a file system; affects carving granularity |\n| File footer | Byte sequence marking the end of a file (not all formats have footers) |\n| Data remanence | Residual data remaining after deletion until sectors are overwritten |\n| False positives | Carved artifacts that match signatures but contain corrupted or partial data |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| PhotoRec | Open-source file carving tool supporting 300+ file formats |\n| TestDisk | Companion tool for partition recovery and repair |\n| Foremost | Alternative file carver originally developed by US Air Force OSI |\n| Scalpel | High-performance file carver based on Foremost |\n| hashdeep | Recursive hash computation and audit tool |\n| jpeginfo | JPEG file integrity verification |\n| file | Unix utility identifying file types by magic bytes |\n| exiftool | Extract metadata from recovered image and document files |\n\n## Common Scenarios\n\n**Scenario 1: Recovering Deleted Evidence from a Suspect's USB Drive**\nImage the USB drive with dcfldd, run PhotoRec targeting document and image formats, organize by file type, hash all recovered files, compare against known-bad hash sets, extract metadata from images for GPS and timestamp information.\n\n**Scenario 2: Formatted Hard Drive Recovery**\nRun PhotoRec in \"Whole\" mode against the entire formatted partition, recover all file types, expect higher false positive rate due to file fragmentation, validate recovered files with signature checking, catalog and hash for evidence chain.\n\n**Scenario 3: Memory Card from a Surveillance Camera**\nRecover deleted video files (AVI, MP4, MOV) from the memory card image, use targeted file type selection to speed recovery, verify video files are playable, extract frame timestamps, document recovery in case notes.\n\n**Scenario 4: Corrupted File System on Evidence Drive**\nWhen file system metadata is destroyed, PhotoRec bypasses the file system entirely and carves from raw sectors, recover maximum possible data, accept that file names and directory structure will be lost, rename files based on content during review.\n\n## Output Format\n\n```\nPhotoRec Recovery Summary:\n  Source Image:     evidence.dd (500 GB)\n  Partition:        NTFS (Partition 2)\n  Scan Mode:        Free space only\n\n  Files Recovered:  4,523\n    Documents:      234 (doc: 45, docx: 89, pdf: 67, xlsx: 33)\n    Images:         2,145 (jpg: 1,890, png: 198, gif: 57)\n    Videos:         34 (mp4: 22, avi: 12)\n    Archives:       67 (zip: 45, rar: 22)\n    Databases:      12 (sqlite: 8, dbf: 4)\n    Other:          2,031\n\n  Data Recovered:   12.4 GB\n  Corrupted Files:  312 (flagged for review)\n  Output Directory: \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n  Hash Manifest:    \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Frecovered_hashes.txt\n```\n","# Recovering Deleted Files with PhotoRec\n\n## When to Use\n- When recovering deleted files from a forensic disk image or storage device\n- When the file system is corrupted, formatted, or overwritten\n- During investigations requiring recovery of documents, images, videos, or databases\n- When file system metadata is unavailable but raw data sectors remain intact\n- For recovering files from memory cards, USB drives, and hard drives\n\n## Prerequisites\n- PhotoRec installed (part of TestDisk suite)\n- Forensic disk image or direct device access (read-only)\n- Sufficient output storage space (potentially larger than source)\n- Write-blocker if working with original media\n- Root\u002Fsudo privileges for device access\n- Knowledge of target file types for focused recovery\n\n## Workflow\n\n### Step 1: Install PhotoRec and Prepare the Environment\n\n```bash\n# Install TestDisk (includes PhotoRec) on Debian\u002FUbuntu\nsudo apt-get install testdisk\n\n# On RHEL\u002FCentOS\nsudo yum install testdisk\n\n# On macOS\nbrew install testdisk\n\n# Verify installation\nphotorec --version\n\n# Create output directory structure\nmkdir -p \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002F{all,documents,images,databases}\n\n# Verify the forensic image\nfile \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\nls -lh \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\n```\n\n### Step 2: Run PhotoRec in Interactive Mode\n\n```bash\n# Launch PhotoRec against a forensic image\nphotorec \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd\n\n# Interactive menu steps:\n# 1. Select the disk image: evidence.dd\n# 2. Select partition table type: [Intel] for MBR, [EFI GPT] for GPT\n# 3. Select partition to scan (or \"No partition\" for whole disk)\n# 4. Select filesystem type: [ext2\u002Fext3\u002Fext4] or [Other] for NTFS\u002FFAT\n# 5. Choose scan scope: [Free] (unallocated only) or [Whole] (entire partition)\n# 6. Select output directory: \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n# 7. Press C to confirm and begin recovery\n\n# For direct device scanning (with write-blocker)\nsudo photorec \u002Fdev\u002Fsdb\n```\n\n### Step 3: Run PhotoRec with Command-Line Options for Targeted Recovery\n\n```bash\n# Non-interactive mode with specific file types\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdocuments\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   partition_table,options,mode,fileopt,search\n\n# Recover only specific file types using photorec command mode\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdocuments\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   options,keep_corrupted_file,enable \\\n   fileopt,everything,disable \\\n   fileopt,doc,enable \\\n   fileopt,docx,enable \\\n   fileopt,pdf,enable \\\n   fileopt,xlsx,enable \\\n   search\n\n# Recover only image files\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fimages\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   fileopt,everything,disable \\\n   fileopt,jpg,enable \\\n   fileopt,png,enable \\\n   fileopt,gif,enable \\\n   fileopt,bmp,enable \\\n   fileopt,tif,enable \\\n   search\n\n# Recover database files\nphotorec \u002Fd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fdatabases\u002F \\\n   \u002Fcmd \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \\\n   fileopt,everything,disable \\\n   fileopt,sqlite,enable \\\n   fileopt,dbf,enable \\\n   search\n```\n\n### Step 4: Organize and Catalog Recovered Files\n\n```bash\n# PhotoRec outputs files into recup_dir.1, recup_dir.2, etc.\nls \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n\n# Count recovered files by type\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f | \\\n   sed 's\u002F.*\\.\u002F\u002F' | sort | uniq -c | sort -rn > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_type_summary.txt\n\n# Sort recovered files into directories by extension\ncd \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\nfor ext in jpg png pdf docx xlsx pptx zip sqlite; do\n   mkdir -p \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fsorted\u002F$ext\n   find . -name \"*.$ext\" -exec cp {} \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fsorted\u002F$ext\u002F \\;\ndone\n\n# Generate SHA-256 hashes for all recovered files\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -exec sha256sum {} \\; \\\n   > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Frecovered_hashes.txt\n\n# Generate file listing with metadata\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f \\\n   -printf \"%f\\t%s\\t%T+\\t%p\\n\" | sort > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_listing.txt\n```\n\n### Step 5: Validate and Filter Recovered Files\n\n```bash\n# Verify file integrity using file signatures\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -exec file {} \\; \\\n   > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_signatures.txt\n\n# Find files with mismatched extension\u002Fsignature\nwhile IFS= read -r line; do\n   filepath=$(echo \"$line\" | cut -d: -f1)\n   filetype=$(echo \"$line\" | cut -d: -f2-)\n   ext=\"${filepath##*.}\"\n   if [[ \"$ext\" == \"jpg\" ]] && ! echo \"$filetype\" | grep -qi \"JPEG\"; then\n      echo \"MISMATCH: $filepath -> $filetype\"\n   fi\ndone \u003C \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Ffile_signatures.txt > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fmismatches.txt\n\n# Filter out known-good files using NSRL hash comparison\nhashdeep -r -c sha256 \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F | \\\n   grep -vFf \u002Fopt\u002Fnsrl\u002Fnsrl_sha256.txt > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Funknown_files.txt\n\n# Remove zero-byte and corrupted files\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -type f -empty -delete\nfind \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F -name \"*.jpg\" -exec jpeginfo -c {} \\; 2>&1 | \\\n   grep \"ERROR\" > \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fcorrupted_images.txt\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| File carving | Recovering files from raw data using file header\u002Ffooter signatures |\n| File signatures | Magic bytes at the start of files identifying their type (e.g., FF D8 FF for JPEG) |\n| Unallocated space | Disk sectors not assigned to any active file; may contain deleted data |\n| Fragmented files | Files stored in non-contiguous sectors; harder to carve completely |\n| Cluster\u002FBlock size | Minimum allocation unit on a file system; affects carving granularity |\n| File footer | Byte sequence marking the end of a file (not all formats have footers) |\n| Data remanence | Residual data remaining after deletion until sectors are overwritten |\n| False positives | Carved artifacts that match signatures but contain corrupted or partial data |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| PhotoRec | Open-source file carving tool supporting 300+ file formats |\n| TestDisk | Companion tool for partition recovery and repair |\n| Foremost | Alternative file carver originally developed by US Air Force OSI |\n| Scalpel | High-performance file carver based on Foremost |\n| hashdeep | Recursive hash computation and audit tool |\n| jpeginfo | JPEG file integrity verification |\n| file | Unix utility identifying file types by magic bytes |\n| exiftool | Extract metadata from recovered image and document files |\n\n## Common Scenarios\n\n**Scenario 1: Recovering Deleted Evidence from a Suspect's USB Drive**\nImage the USB drive with dcfldd, run PhotoRec targeting document and image formats, organize by file type, hash all recovered files, compare against known-bad hash sets, extract metadata from images for GPS and timestamp information.\n\n**Scenario 2: Formatted Hard Drive Recovery**\nRun PhotoRec in \"Whole\" mode against the entire formatted partition, recover all file types, expect higher false positive rate due to file fragmentation, validate recovered files with signature checking, catalog and hash for evidence chain.\n\n**Scenario 3: Memory Card from a Surveillance Camera**\nRecover deleted video files (AVI, MP4, MOV) from the memory card image, use targeted file type selection to speed recovery, verify video files are playable, extract frame timestamps, document recovery in case notes.\n\n**Scenario 4: Corrupted File System on Evidence Drive**\nWhen file system metadata is destroyed, PhotoRec bypasses the file system entirely and carves from raw sectors, recover maximum possible data, accept that file names and directory structure will be lost, rename files based on content during review.\n\n## Output Format\n\n```\nPhotoRec Recovery Summary:\n  Source Image:     evidence.dd (500 GB)\n  Partition:        NTFS (Partition 2)\n  Scan Mode:        Free space only\n\n  Files Recovered:  4,523\n    Documents:      234 (doc: 45, docx: 89, pdf: 67, xlsx: 33)\n    Images:         2,145 (jpg: 1,890, png: 198, gif: 57)\n    Videos:         34 (mp4: 22, avi: 12)\n    Archives:       67 (zip: 45, rar: 22)\n    Databases:      12 (sqlite: 8, dbf: 4)\n    Other:          2,031\n\n  Data Recovered:   12.4 GB\n  Corrupted Files:  312 (flagged for review)\n  Output Directory: \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Fall\u002F\n  Hash Manifest:    \u002Fcases\u002Fcase-2024-001\u002Frecovered\u002Frecovered_hashes.txt\n```\n",{"name":5,"tags":49,"author":51,"domain":34,"license":15,"version":52,"nist_csf":53,"subdomain":28,"description":7,"nist_ai_rmf":58,"mitre_attack":62,"atlas_techniques":68},[50,40,24,30,31,32],"forensics","mahipal","1.0",[54,55,56,57],"RS.AN-01","RS.AN-03","DE.AE-02","RS.MA-01",[59,60,61],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[63,64,65,66,67],"T1005","T1074","T1119","T1070","T1059",[69,70,71],"AML.T0070","AML.T0066","AML.T0082","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Frecovering-deleted-files-with-photorec","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":81,"prompt":91,"zipAvailable":92},[82,85,88],{"tool":83,"command":84},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill recovering-deleted-files-with-photorec",{"tool":86,"command":87},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill recovering-deleted-files-with-photorec",{"tool":89,"command":90},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill recovering-deleted-files-with-photorec","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002FSKILL.md",true,[94,99,105],{"path":95,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":97,"sourceHtmlUrl":98},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002FLICENSE",{"path":100,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fapi-reference.md","REFERENCE","参考文档",2068,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002Freferences\u002Fapi-reference.md",{"path":106,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":109,"sourceHtmlUrl":110},"scripts\u002Fagent.py","SCRIPT","脚本",7533,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002Fscripts\u002Fagent.py",[112,150,159,168,189,215],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":116,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":133,"publishedAt":44},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[119,122,125,128],{"categoryNo":120,"categoryName":121,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":123,"categoryName":124,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":126,"categoryName":127,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":129,"categoryName":130,"taxonomyType":131,"taxonomyTypeDesc":132},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[114,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,39,26,149,25],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","Bash","markdown","convert","read","write","edit","html","youtube",{"skillNo":151,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":116,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":158,"publishedAt":44},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[154,155,156,157],{"categoryNo":120,"categoryName":121,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":123,"categoryName":124,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":126,"categoryName":127,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":129,"categoryName":130,"taxonomyType":131,"taxonomyTypeDesc":132},[114,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,39,26,149,25],{"skillNo":160,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":116,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":167,"publishedAt":44},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[163,164,165,166],{"categoryNo":120,"categoryName":121,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":123,"categoryName":124,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":126,"categoryName":127,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":129,"categoryName":130,"taxonomyType":131,"taxonomyTypeDesc":132},[114,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,39,26,149,25],{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":116,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":44},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[175,176,43,177,178,179,180,181,182,183,184,185,186,187,188],"python","zarr python","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":116,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":196,"publishedAt":44},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[195],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[197,198,199,200,201,202,203,204,205,206,207,145,146,208,209,210,211,212,213,214],"oracle","what if oracle","go","run","ux","futures","analysis","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":116,"licenseFileUrl":6,"sourceHtmlUrl":219,"categories":220,"keywords":231,"publishedAt":44},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[221,224,227,228],{"categoryNo":222,"categoryName":223,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":225,"categoryName":226,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":229,"categoryName":230,"taxonomyType":131,"taxonomyTypeDesc":132},"01JBSEEDCAT000000000000036","内容创作者",[232,233,234,235,236,237,238,239,142,240,145,146,147,241,242,243,244,245,188,246],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","access","proposals","Academic","requirements","formatting","journal","chi"]