A tiny C program that talks directly to Google's servers via raw sockets to fetch HTTP headers like a real hacker. π§βπ»
This little beast:
- Opens a TCP socket π§΅
- Connects to
www.google.com
via IP π‘ - Sends a
HEAD /
HTTP request π - Prints the raw HTTP headers returned by the server π¬
gcc sockets.c -o sockets
./sockets