I checked this How to make an HTTP GET request manually with netcat?, but it didn't really answer my question.
This is for an assignment and I'm stuck.
There's a client (User), web server (Web), and an authentication server (Auth), which holds the usernames/passwords that Web checks with (and sends out packets with such info that can be seen with Wireshark).
Web has a simple username/password form. I want to query Auth a specific username to see the password through Wireshark.
This is the hint given to us on how to send network traffic:
echo -e "GET / HTTP/1.1 \n\n" | nc Web <port #>
I've tried several things, such as:
echo -e "GET / HTTP/john \n\n" | nc Web 80
(echo "john" ; echo " ";) | nc Web 80
echo -n -e "john" | nc Web 80
and others. I can't find much relevant resources online for this scenario.