The title for today tutorial how to browse website using command prompt is my personal experience, back when I'm a student, on that time I just started learn about Linux and I'm addicted to it. One time I come to a linux program lynx that can open a webpage or website in a console mode (without GUI), then I ask a question to myself: "how about Windows command prompt to browse a website like lynx in Linux?"
Some of you maybe will asking "for what I get this looks unuseful information? only browse website using cmd 😛 ", I want to told you that there is no unuseful information for a knowledge, it can be useful and powerful if it used by the right people. So if you browse another blog, website or book if you feel unuseful, maybe you need to be the right people first before extract the knowledge and it will become powerful 🙂
This method will be useful when you successfully own a machine and you want to gather as much data(enumeration) as possible especially about the network condition, the ISP information, etc.
1. Open your command prompt (Windows button + R and type cmd. If still confuse, check here). If your telnet client is disable, you can enable it by look to this tutorial how to enable telnet on windows 7.
2. Basically command prompt cannot browse the website because its only command-line interpreter, but we will use telnet. Just a brief explanation about telnet from Wikipedia:
Telnet is a network protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection.
3. Run this command to connect to a website using telnet
telnet website_url 80
telnet –> we want to start the telnet.
hacking-tutorial.lan –> the web server we want to connect to (I use the local address).
80 –> because web server is running in port 80, we connect to that port