Lab Icon

Backup Hunter

Can you uncover the secrets hidden in forgotten backup files?

Challenge Updated 21 Jun 2026 Solution (Pro)
Web Enumeration File Discovery Reconnaissance Information Gathering

A corporate portal stands before you, its login form mocking your attempts. But somewhere in the shadows of this web server, a developer left behind a trace of their work. A backup file, forgotten and exposed, waiting to reveal its secrets. Your mission: hunt down these digital breadcrumbs and extract the sensitive information they contain.

1
Flags
50
XP
67%
Success Rate

Backup file exposure is a widespread web application vulnerability where developers or administrators accidentally leave backup copies of sensitive files accessible on production web servers. These forgotten files often contain credentials, source code, configuration details, and other information that was never intended to be publicly accessible. Discovering and exploiting these files is a fundamental reconnaissance technique in cybersecurity assessments.

How Backup Files End Up on Web Servers

Backup files are created through various means - text editors like Vim automatically generate .swp swap files, developers manually create copies with extensions like .bak or .old before making changes, and deployment scripts sometimes leave behind previous versions. Common backup file patterns include file.php.bak, config.old, settings.php~, .file.swp, and compressed archives like backup.zip or source.tar.gz. When these files reside within the web server's document root, they become accessible to anyone who knows or guesses their paths.

Techniques for Finding Backup Files

Security professionals use several methods to discover exposed backup files. Directory brute-forcing tools like Gobuster, ffuf, and Dirbuster systematically test common backup file names and extensions against a target server. Manual testing involves appending known backup extensions to discovered file paths. Google dorking can reveal indexed backup files through search engine queries. Analyzing robots.txt and sitemap files sometimes inadvertently discloses backup locations.

Security Impact and Prevention

Exposed backup files can lead to severe consequences including credential theft, source code disclosure revealing additional vulnerabilities, and exposure of internal network architecture. In real-world penetration tests, backup file discovery frequently provides the initial foothold that leads to full system compromise. Prevention requires configuring web servers to block access to backup file patterns, storing backups outside the web root, using proper deployment pipelines, and regularly scanning for accidentally exposed files.

What You Will Learn

  • Common backup file patterns and naming conventions on web servers
  • Directory enumeration and file discovery techniques
  • How text editors and deployment processes create backup files
  • Using tools like Gobuster and ffuf for file discovery
  • Web server hardening to prevent backup file exposure

Prerequisites

Basic web server concepts Familiarity with HTTP requests Command line basics

Ready to hack this lab?

Create a free account and start practicing cybersecurity hands-on.

Start Hacking - It's Free
Start Your Challenge
~1-2 min setup
Dedicated server
Private instance
Standard power
New here? Here's what to do
1
Click "Start Lab" above You'll get your own private machine with an IP address
2
Explore the target Open the IP in your browser and look for vulnerabilities
3
Find and submit flags Flags are secret text strings hidden in the system - paste them below to score

Ready to hack this lab?

Create a free account to start your own dedicated server, submit flags, and earn XP on the leaderboard.

Start Hacking Free
13,000+ Hackers 100+ Labs & Courses Free
Start Hacking Free