Simple initial challenge to verify that the environment is working correctly.
Find an HTTP server at IP address 172.20.0.5
and retrieve a flag.
Click to reveal how to solve steps
- Use
nmap
to find opened ports:
root@hackerlab:~# nmap -sS -n -v 172.20.0.5
...
PORT STATE SERVICE
8000/tcp open http-alt
MAC Address: 02:42:AC:14:00:03 (Unknown)
...
- Discover opened port 8000 and try to send an HTTP request
root@hackerlab:~# curl 172.20.0.5:8000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello world</title>
</head>
<body>
Congratulations, you found a flag for the hello-world challenge.
Your setup seems to be working, happy hacking!
bsy{simple-hello-world-flag}
</body>
</html>
The script auto-solve.sh automatically verifies that the challenge can be solved.