Use netcat to simulate a HTTP GET request on the target webserver and GET the flag.html. server: 10.90.4.10 port: 80 code example
Example: nc http server
while true; do
echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 1500 -q 1
done
while true; do
echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 1500 -q 1
done