How To Find Router Username And Password With CMD

- Advertisement -

There is no CMD command that will help you check for the password and user name of your router, however, you can telnet to connect to the device and view the password on the device configuration unless it has been encrypted in the running configuration of the device.

- Advertisement -

This as it ensures maximum security in such a way that if someone were to hack the device to view the configuration, the password would not be visible in cleartext. For instance, A Cisco router can use either password level 7 password strings or, use the stronger MD5 hash algorithm. A password “level” 7 can be decoded as there is a simple formula that can be used to cryptographically see them

MD5 hash uses strings that require you to know one of the two prime numbers used of which they are kept a secret, hence why that is called a secret 5 password. It cannot be cracked to my knowledge without a lot of computing horsepower behind it.

These are just passwords used for things like authentication to the router and such, however, SHA256 is now the default as it is a stronger password algorithm that uses 256 bits in its algorithm.

Typically, your modem will have the password secured or should have it if it’s not, and even if you get to the running-config, you still may not be able to see it. Unless it is a clear text, then, anyone could if they got on the device using a Fierce PC.


Alternative solution

There is a number of tools you could use to get your router’s password without the need to use cmd, however, this is only possible for Linux users with large support for hacking and cracking tools. In this case, you can just crack the with Hydra, be sure you know the router name, and also a slight guess of what the password may be! then create a possible crunch key for it, now all you need is the server IP for your router.

using CMD to find router username and password

How to find the IP address of your router

Routers come with a default IP address and login credentials. You should however note that these will differ depending on the make and manufacturer of your router. Below, I will show you how to find the IP address of your router.

After you’ve gained access to your router’s settings, you can change how your network is displayed, who can access it and make sure your connection is secure. You can as well change the default username and password so that no one else can use this guide to change the access protocols back.

Examples of lately advanced routers and getting their IP addresses


Most Linksys routers have the same default settings. The admin panel can be accessed on most Linksys routers by entering “” in the address bar of your browser. If you own a smart router, enter “http://myrouter.local” instead.

Log in using admin for both the username and password, assuming you haven’t changed the default username and password already.

You’ll be able to log in to your D-Link router by using: http://mydlinkrouter.local or and if that doesn’t work, should.

The default username is admin and you’ll want to leave the password field blank.

Since most D-Link routers are not password-protected by default, you’re going to want to add a password as soon as possible to prevent hackers from accessing your network.


For almost all Belkin routers, the default web setup is located at though http://router may also work for you. Due to the method in which login credentials are set up, you likely won’t have to enter anything in the username and password fields when trying to access the admin panel.

By default, Belkin routers have no password on the admin account. This means the username field should be left blank though you may have to enter “admin” instead.

You’ll definitely want to change the username and password if you have a Belkin router. It’s simple for someone with access to your network to make changes in the admin panel that could open security holes or allows them to install malware and hacking software.

How to Hack router username & password

Ways to hack router password.

  • Using a default username and password
  • By applying a brute force attack or wordlist attack
  • Using Router exploit.

Read Also: How To Hack WiFi Password On A laptop

Using default credentials

It is best when you are attacking someone’s personal/home router because people generally don’t change their password or Wifi hacking is not easy and the router can hack only if you are connected to the wireless network.
Suppose a hacker hacked the wifi password then why did he/she hack the router password? Most people hack wifi to use the free internet that’s why people don’t change the default password. Another reason is some people really don’t know how to change the password.

Here are the default username and password list for every router
















If you are using window then open cmd and type ipconfig and write down IP address of default gateway.
In most cases, it will be

Ip address when finding router username and password