Tags: git 

Rating:

After cloning the repository from the task description, we got a folder with a README file, but nothing intereseting there.
Running `git log` reveals three commits, one of which is named `oops`.
```
commit c21dbf5185a4dbdb5b2bd2f3d1d3b266c3a2271e (HEAD -> master, origin/master, origin/HEAD)
Author: Matías A. Ré Medina <aereal@gmail.com>
Date: Fri Sep 11 13:03:19 2020 -0400

oops

commit fd5c9927bb9f5ee3e4c521def43d3033ae83b825
Author: Matías A. Ré Medina <aereal@gmail.com>
Date: Fri Sep 11 13:02:59 2020 -0400

update

commit 8410559b915a311e1a66b2ef77b8f913c1bf9f2b
Author: Matías A. Ré Medina <aereal@gmail.com>
Date: Fri Sep 11 13:02:08 2020 -0400

ekolabs
```

So lets see what changed with this commit. Run `git log -p` too see commits with changed files.
```
commit c21dbf5185a4dbdb5b2bd2f3d1d3b266c3a2271e (HEAD -> master, origin/master, origin/HEAD)
Author: Matías A. Ré Medina <aereal@gmail.com>
Date: Fri Sep 11 13:03:19 2020 -0400

oops

diff --git a/.ssh/id_rsa b/.ssh/id_rsa
deleted file mode 100644
index e96835e..0000000
--- a/.ssh/id_rsa
+++ /dev/null
@@ -1,38 +0,0 @@
------BEGIN OPENSSH PRIVATE KEY-----
-b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
-NhAAAAAwEAAQAAAYEA0SkvG4eQdnLVMa0tCbK5WJsP6STzq+zdwUbXa3bMF7uwJ6MaIbDV
-+w+oD7eaB29zGqdlzEqo97pA6wVoC/6n4gn1OIORXNSeEJHnQ04g6tvmHmp2i4Csj6q764
-PpWcDiIXzV0pYmsSiPmKoBMvp/LOGYTxkGG6T48Q1v9rm5+4s+tBvj8e6ugVb5kWZR3tiF
-spZhtVmoC96RxbCfN1Mn4MhXbz6mKA5I1Svv/hOCBl2il8B7LdrFQvugxFNWBd4yVxanrp
-2PkN/3YMVlyGxe6qWBhibrBM4h84z1+ysJOLdWlvmn20RLe2g3IceyjP4Qz/wgTm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KEY-----
diff --git a/.ssh/id_rsa.pub b/.ssh/id_rsa.pub
deleted file mode 100644
index 3cf8765..0000000
--- a/.ssh/id_rsa.pub
+++ /dev/null
@@ -1 +0,0 @@
-ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDRKS8bh5B2ctUxrS0JsrlYmw/pJPOr7N3BRtdrdswXu7AnoxohsNX7D6gPt5oHb3Map2XMSqj3ukDrBWgL/qfiCfU4g5Fc1J4QkedDTiDq2+YeanaLgKyPqrvrg+lZwOIhfNXSliaxKI+YqgEy+n8s4ZhPGQYbpPjxDW/2ubn7iz60G+Px7q6BVvmRZlHe2IWylmG1WagL3pHFsJ83UyfgyFdvPqYoDkjVK+/+E4IGXaKXwHst2sVC+6DEU1YF3jJXFqeunY+Q3/dgxWXIbF7qpYGGJusEziHzjPX7Kwk4t1aW+afbREt7aDchx7KM/hDP/CBOYntwVA5qOG9L2rr6hbTTVMIqQxn2WAXtcBgc4Od4kMNAQt/8cvFsciApJ6RS++FPIwx8gJJCe/OZYdRl19/Fv+j9xi7dIiET4SqCUPz3nionKvMjvPvrd/42P9xw+niY+3gJEtIZjMb66Let+GuUew68bjz2DRlJSOtSNzP/MspNtUa5bY/4bmUMAHc= ekoparty-deploy@RUtPezc0NGFkN2ZlOGU2Y2U1ZTg4NWFkMjRlZWYyNDNiMWZkMTFkMGZiN2V9
```

In this commit, we can find Public SSH Key (Also other files non-relevant for this task), but the hostname seems suspiciously like a `base64` encoded string, right?.
```
ekoparty-deploy@RUtPezc0NGFkN2ZlOGU2Y2U1ZTg4NWFkMjRlZWYyNDNiMWZkMTFkMGZiN2V9
```

Lets decode it
```
echo "RUtPezc0NGFkN2ZlOGU2Y2U1ZTg4NWFkMjRlZWYyNDNiMWZkMTFkMGZiN2V9" | base64 -d
EKO{744ad7fe8e6ce5e885ad24eef243b1fd11d0fb7e}
```

Flag: EKO{744ad7fe8e6ce5e885ad24eef243b1fd11d0fb7e}