SEC260 Telnet, NC, CURL and HTTP - eitan-j/tech-journal GitHub Wiki
- Before I start I make dhclient start automatically for convenience
- Install telnet and netcat
yum install telnet nmap-ncat -y
-
ip addr
to find IP
- I did some parts at different times so the IPs are different
telnet 192.168.7.168 8008
GET / HTTP/1.1
Host: 192.168.7.168
<ENTER>
- Note:
GET /
by itself with no host line also works, only with Telnet, but I'm not sure why
-
nc 192.168.7.168 8008 -C
OPTIONS / HTTP/1.1
Host: 192.168.7.168
<ENTER>
⚠️ **GitHub.com Fallback** ⚠️