10/12 free views
Tool
CLI
Incident Response & Management

RecoverPy

by PabloLec

1.7Kstars
89forks
13watchers
Updated 3 months ago
About

RecoverPy is a Linux terminal tool that interactively finds and recovers deleted or overwritten files by scanning disk blocks.

Interactively find and recover deleted or :point_right: overwritten :point_left: files from your terminal

Primary Use Case

RecoverPy is designed for Linux users who need to recover lost data from their partitions, including files that have been deleted or overwritten. Incident responders, forensic analysts, and system administrators can use this tool to quickly locate and restore important files by searching file contents directly on disk blocks.

Key Features
  • Recover overwritten and deleted files
  • Search file contents by string, including binary files
  • Interactive, modern terminal user interface
  • Supports all Linux file systems
  • Fast scanning leveraging core Linux utilities (grep, dd, lsblk)

Installation

  • Install required tools: grep, coreutils, util-linux, and optionally progress
  • For Debian/Ubuntu: sudo apt install grep coreutils util-linux progress
  • For Arch: sudo pacman -S grep coreutils util-linux progress
  • For Fedora: sudo dnf install grep coreutils util-linux progress
  • Run without installation using pipx: sudo pipx run recoverpy
  • Run without installation using uvx: sudo uvx recoverpy
  • Install from PyPI: python3 -m pip install recoverpy
  • Run the tool with root privileges: sudo recoverpy

Usage

>_ sudo recoverpy

Launch RecoverPy with root privileges to start the interactive recovery process.

>_ Select partition

Choose the Linux partition where the lost data is located for scanning.

>_ Search content by string

Enter a unique string from the lost file to scan disk blocks and locate matching data.

>_ Preview and recover

Interactively preview found blocks and save recovered files; explore adjacent blocks if needed.

Security Frameworks
Discovery
Collection
Recovery
Investigation
Response
Usage Insights
  • Integrate RecoverPy into incident response playbooks to accelerate forensic data recovery during investigations.
  • Use RecoverPy in blue team exercises to simulate recovery from ransomware or data deletion attacks.
  • Combine RecoverPy with disk imaging tools to create a robust forensic workflow for evidence preservation.
  • Automate scanning and recovery tasks with scripting to reduce manual effort during high-pressure incidents.
  • Leverage RecoverPy’s interactive search to train analysts on identifying overwritten or deleted artifacts in complex investigations.

Docs Take 2 Hours. AI Takes 10 Seconds.

Ask anything about RecoverPy. Installation? Config? Troubleshooting? Get answers trained on real docs and GitHub issues—not generic ChatGPT fluff.

This tool hasn't been indexed yet. Request indexing to enable AI chat.

Admin will review your request within 24 hours

Security Profile
Red Team30%
Blue Team80%
Purple Team60%
Details
LicenseGNU General Public License v3.0
LanguagePython
Open Issues24
Topics
python3
tui
data
recovery
cybersecurity
python
cli
console
terminal
linux