What is my user agent?
Figure out the user agent of your browser. But! You are not allowed to visit http://whatsmyuseragent.com/ or any similar service :)
It’s time to discover netcat, the “Swiss-army knife for TCP/IP”. In a terminal launch
nc and start listening on a port:
$ nc -l 8080
http://localhost:8080 . Switch back to the terminal and you will see something similar:
GET / HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive