[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DD75TEYBX906BVR2XSFD23":3,"skill-same:01M7DD75TEYBX906BVR2XSFD23":93},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M7DD75TEYBX906BVR2XSFD23","recovering-deleted-files-with-photorec",null,"Recovers deleted files from disk images and storage media using PhotoRec's file signature-based carving engine, which works regardless of file system damage or corruption. Use when recovering deleted or lost files from a forensic disk image, damaged storage device, or corrupted file system during evidence recovery.","SaiVatsal\u002FSkills-I-Use","SaiVatsal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F242597752?v=4","01M7D5YM1T4VXW9203M0GFAHZ1","SaiVatsalPolimera","01M7D5YM2D61ST39XVR2V7B7ZJ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: recovering-deleted-files-with-photorec\ndescription: Recovers deleted files from disk images and storage media using PhotoRec's\n  file signature-based carving engine, which works regardless of file system damage\n  or corruption. Use when recovering deleted or lost files from a forensic disk\n  image, damaged storage device, or corrupted file system during evidence recovery.\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-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":25,"author":32,"domain":33,"license":15,"version":34,"nist_csf":35,"subdomain":39,"description":7,"nist_ai_rmf":40,"mitre_attack":44,"atlas_techniques":50},[26,27,28,29,30,31],"forensics","file-recovery","photorec","file-carving","data-recovery","evidence-recovery","mahipal","cybersecurity","1.0",[36,37,38],"RS.AN-03","DE.AE-02","RS.MA-01","digital-forensics",[41,42,43],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[45,46,47,48,49],"T1005","T1074","T1119","T1070","T1059",[51,52,53],"AML.T0070","AML.T0066","AML.T0082","main","8a3b3de73262a4c4db64523949360f3c599c2fb1","Anthropic-Cybersecurity-Skills-main\u002Fskills\u002Frecovering-deleted-files-with-photorec",0,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use","https:\u002F\u002Fgithub.com\u002FSaiVatsal","https:\u002F\u002Fsaivatsal.github.io\u002FPortfolio\u002F","The Longer It Takes The Stronger It Becomes ","2026-09-21 22:45:58",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add SaiVatsal\u002FSkills-I-Use --skill recovering-deleted-files-with-photorec",{"tool":69,"command":70},"bunx","bunx skills add SaiVatsal\u002FSkills-I-Use --skill recovering-deleted-files-with-photorec",{"tool":72,"command":73},"pnpm","pnpm dlx skills add SaiVatsal\u002FSkills-I-Use --skill recovering-deleted-files-with-photorec","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002FSKILL.md",true,[77,81,87],{"path":78,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fapi-reference.md","REFERENCE","参考文档",2068,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002Freferences\u002Fapi-reference.md",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Fagent.py","SCRIPT","脚本",7533,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002Fscripts\u002Fagent.py",[94,102,110,119,126,133],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":20},"01M7DJZP6E6KMBQV4CZSDPZEZ8","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":20},"01M7DJZFTS5TS06K2TV3MDTE67","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":115,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":20},"01M7DJRK4SRQ908F2TJM6EZ7EV","ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","MIT","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":20},"01M7DJR902059VEQP23PVM2WA0","design","Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social\u002Fads\u002Fweb\u002Fprint), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":20},"01M7DJR56QF5N6XYTCPCFHFMNP","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign-system\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":20},"01M7DJQXB6M0SFF7NX8J5N01AH","banner-design","Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter\u002FX, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fbanner-design\u002FSKILL.md",[],[]]