[nullhaven]
All challenges
Forensics★★☆☆☆50 pts

Deleted is not gone

Godmode · 1d ago · 3 solved

An engineer committed a production config by mistake, noticed an hour later, and deleted it in a follow-up commit. Problem solved, right?
lua
$ git log --oneline
9b7d4e2 remove secrets, sorry
8c01e77 add healthcheck endpoint
3f2a1c9 add production config
diff
$ git show 3f2a1c9
diff --git a/config/prod.env b/config/prod.env
new file mode 100644
index 0000000..4c1f2ab
--- /dev/null
+++ b/config/prod.env
@@ -0,0 +1,4 @@
+APP_ENV=production
+DB_HOST=db1.corp.example
+VAULT_KEY=nullhaven{history_is_forever}
+LOG_LEVEL=warn
diff
$ git show 9b7d4e2
-APP_ENV=production
-DB_HOST=db1.corp.example
-VAULT_KEY=***
-LOG_LEVEL=warn
+APP_ENV=production
+DB_HOST=db1.corp.example
+LOG_LEVEL=warn

A commit is immutable. Deleting a file in a later commit deletes nothing.

Submitting a flag needs an account

That's what records your points and lets you claim the first blood under your name.

Free, no e-mail verification. You land back on this challenge.

Solved by · 3

  1. 1
    SK
    Skollwarynz First blood1d ago
  2. 2
    ZE
    zeroD1d ago
  3. 3
    JE
    Jetboy011d ago