[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B96BKAY7SW919ME99Y4YSP":3,"skill-same:01M7B96BKAY7SW919ME99Y4YSP":89},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":13,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M7B96BKAY7SW919ME99Y4YSP","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.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\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":24,"author":31,"domain":32,"license":14,"version":33,"nist_csf":34,"subdomain":38,"description":7,"nist_ai_rmf":39,"mitre_attack":43,"atlas_techniques":49},[25,26,27,28,29,30],"forensics","file-recovery","photorec","file-carving","data-recovery","evidence-recovery","mahipal","cybersecurity","1.0",[35,36,37],"RS.AN-03","DE.AE-02","RS.MA-01","digital-forensics",[40,41,42],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[44,45,46,47,48],"T1005","T1074","T1119","T1070","T1059",[50,51,52],"AML.T0070","AML.T0066","AML.T0082","main","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Frecovering-deleted-files-with-photorec","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill recovering-deleted-files-with-photorec",{"tool":65,"command":66},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill recovering-deleted-files-with-photorec",{"tool":68,"command":69},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill recovering-deleted-files-with-photorec","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002FSKILL.md",true,[73,77,83],{"path":74,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fapi-reference.md","REFERENCE","参考文档",2068,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002Freferences\u002Fapi-reference.md",{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"scripts\u002Fagent.py","SCRIPT","脚本",7533,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Frecovering-deleted-files-with-photorec\u002Fscripts\u002Fagent.py",[90,98,105,112,119,126],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]