Skip to content

Commit

Permalink
Add www.thecatch.cz-23 - Web_protocols writeup
Browse files Browse the repository at this point in the history
  • Loading branch information
aenniw committed Nov 23, 2023
1 parent a3d9c17 commit f3aaa86
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions www.thecatch.cz-23/Web_protocols/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ The webs are running on server `web-protocols.cns-jv.tcc`.
#### Solution:

```bash
nmap -p0-65535 web-protocols.cns-jv.tcc

{
echo "GET / HTTP/0.9" | nc web-protocols.cns-jv.tcc 5009 | sed "s/.*SESSION=//" | sed 's/;.*//' | head -n 3 | tail -n 1 | tr -d '\n';
curl http://web-protocols.cns-jv.tcc:5011 -v 2>&1 | grep SESSION | sed "s/.*SESSION=//" | sed 's/;.*//' | tr -d '\n';
curl http://web-protocols.cns-jv.tcc:5020 -v 2>&1 | grep SESSION | sed "s/.*SESSION=//" | sed 's/;.*//' | tr -d '\n';
} | base64 -d
```

---
Expand Down

0 comments on commit f3aaa86

Please sign in to comment.