-9

How can we obtain the current username and password of a router that is currently connected to the computer?

I've already tried the default username and password.

Some answers have suggested resetting the router to default factory settings. As far as I know, this resets the password, not recover it.

4
  • 7
    Not at all relevant. I am not not answering your question because its you. I have nothing against you. Its your question that I think does not deserve an answer here. In addition I think this meta page is more on point.
    – soandos
    Jun 28, 2011 at 15:10
  • 9
    +1 for the most downvoted question on SU, because knowledge should not be hidden. Safety by obscurity is dangerous.
    – jiggunjer
    May 20, 2015 at 18:20
  • 3
    @jiggunjer, Yea, but the negativity has already taken hold. Those 20 upvotes wouldn't be able to offset the 50 downvotes because upon seeing a thread with negative votes, the typical user would simply downvote it without thinking further. While I can remove the question to regain (future) lost rep, we'd need to know what we are defending against. Having this "evil" question removed and less people educated will only benefit the blackhats who already know these things.
    – Pacerier
    Aug 24, 2015 at 11:58
  • 3
    So, SE's idea of a fitting remuneration for benefiting >120k visitors is negative rep, shrugs...
    – Pacerier
    Aug 24, 2015 at 11:59

10 Answers 10

9

If you have ever taken a backup of the configuration of the router into a file, then the free RouterPassView can help :

The backup file of the router usually contains important data like your ISP user name/password, the login password of the router, and wireless network keys. If you lost one of these password/keys, but you still have a backup file of your router configuration, RouterPassView might help you to recover your lost password from your router file.

image1

Otherwise, you are reduced to a brute-force attack, where the free Router Password Kracker can help :

Router Password Kracker is a free software to recover the lost password of your Router. It can also be used to recover password from your internet Modem or Web sites which are protected by HTTP BASIC Authentication.

Generally Routers or Modems control their access by using HTTP BASIC authentication mechanism. In simple words, when you connect to your Modem/Router from the browser (typically http://192.168.1.1) you will be asked to enter username & password. If you ever forget this password then you will not be able to access your Router/Modem configuration.

In these cases 'Router Password Kracker' can help you in quickly recovering your lost password.

'Router Password Kracker' uses simple Dictionary based password recovery technique. By default it comes with sample dictionary file suitable for Routers. However you can find good collection of password dictionaries (also called wordlists) here & here.

For complex passwords, you can use tools like Crunch or Cupp to generate brute-force based or any custom password list file and then use it with 'Router Password Kracker'.

image2

2
  • I've just tried Password Kracker but it doesn't seem to work. (I've actually already recalled the password since then and even though I insert the correct password into the dictionary file, it still doesn't work https://i.sstatic.net/jsMbA.png.) Is it a Trojan? I played with it for a while with different dictionary files and it gives "error occured during multiple attempts to communicate with router" https://i.sstatic.net/zdogh.png. Is this a bug; what's causing the error?
    – Pacerier
    Sep 23, 2014 at 21:04
  • I don't have experience with this product, but I did check that it was referred-to by several known freeware sites before recommending it, so I don't think it's bogus. The problem with adding the password into the dictionary might be because it tries combinations of words rather than the words alone. You might get in touch with the author so he can fix this bug for the next time. It is not a new product (v2.6), so it does evolve. In any case, just to note that one of my first acts with a new router is to backup the configuration.
    – harrymc
    Sep 24, 2014 at 6:03
13

None that I know of. Your father may have been the one to set the password, and if so, if you change it, even by resetting it, he is going to know.

8

I think the better question that should be answered here is this:

Is there ever a situation that I would need to "hack" into my wireless router without reseting all the settings?

The answer is simply no there is not. Here is the reason why.

  • If you don't know how to setup the settings on a router, then you shouldn't be trying to hack into it.
    • There is a high probability that you'll break it after getting into the router as you don't know what you're doing.
    • If you're afraid/don't know how to set it up then why would you want to hack into it in the first place when all this would do is give you access to settings within the router

Manufacturers made it difficult for individuals to 'hack' into a router without resetting all the settings for a good reason. Password/usernames could become compromised. Redirect, and malicious software could be remotely installed or deployed. Forcing the reset of the setting helps to mitigate these risks.

2
  • 4
    Even though original question is very controversial. I strongly disagree with your statement. Here is an example for you. Few years ago I moved into a flat that had a router for common internet access. At some point one of the neighbors has asked me to change some settings. No one new admin password. Router had no model or make printed on it so no way of figuring out default password. Resetting would no help as no one had a user manual. Do you think bruteforcing it was still irrelevant? (and yes I know that this is not the situation OP described, but I am just disagreeing with your statement) Jun 18, 2014 at 12:52
  • 2
    You are wrong. I cannot reset my router because someone has removed the 'default password' sticker. So it is unknown. Its a Motorol NGR something or other, and all of the 'default passwords' are different. So there is no way for me to get into the router by resetting it. Smarty pants. Sep 13, 2015 at 6:41
5

Accessing the router requires a web browser. So if you have previously accessed your router through your browser, there may be a chance that the password was saved. In most browsers you can display saved passwords. Here's what to do:

  1. Open your browser
  2. Look for the "options" action (depends on browser)
  3. Look for security
  4. Look for Saved Passwords (firefox for sure, not sure about chrome/IE/Opera)

Look for your router's default IP address - typically "192.168.1.1" or "192.168.0.1". Click the "show passwords" button (should be on the screen somewhere) Look for the username and password.

With any luck should be set...

1
  • Actually a good idea, but in my case it doesn't work.
    – Pacerier
    Sep 23, 2014 at 21:02
4

Look into brute force attacking. That is the longest but apparently most successful way to get through, assuming they haven't used a long random combination of letters, numbers and symbols (Like administrators should, but don't more often than not).

So in short, just reset it and start from scratch.

4

You can try the wifi network backup manager to backup your wifi data , it stores it in xml format . Open the file , it might have the password , though i am not sure if this would work . Please update here if it works .
Alternatively you can check the saved passwords of the browser that you father uses to check if the password is stored there.
All other ways that come to my mind are not ethical ;)

1
  • 1
    the wifi network backup manager does not store the router password (the link at 192.168.1.1) but rather the network password.. what i wanted is the router password. heys you can share any unethical methods since it's fully ethical. by right that's my router you see
    – Pacerier
    Jun 28, 2011 at 14:58
3

Nirsofts WirelessKeyView may help you.

WirelessKeyView recovers all wireless network security keys/passwords (WEP/WPA) stored in your computer by the 'Wireless Zero Configuration' service of Windows XP or by the 'WLAN AutoConfig' service of Windows Vista, Windows 7, Windows 8, and Windows Server 2008.

enter image description here

5
  • 1
    This is irrelevant. OP is asking about admin password to router's web interface. Jun 18, 2014 at 12:55
  • The term "web interface" hasn't been mentioned :) Jun 18, 2014 at 13:46
  • If you read through the original version of the post, then you will see the line "I'm thinking there's some program that could brute force it's way into 192.168.1.1". You can work it out from there. Jun 18, 2014 at 13:48
  • Username and Password to login into 192.168.1.1 GOT IT ?
    – UltraDEVV
    Sep 23, 2014 at 15:06
  • @SHOUBHIKBOSE, Doesn't seem to work i.sstatic.net/Hk5wD.png. Maybe because I'm connected by a wire, is there an option for non-wireless?
    – Pacerier
    Sep 23, 2014 at 21:01
2

Typically login to browser interface is protected by html form with POST method. Now I say typically because it is not always like that. However if this is the case then bruteforcing is easy.

You can either write a code in any language you know that will send POST requests with generated credentials (or using dictionary). Or you can download the software that will do it for you. One good program that works on both Windows and Linux is called hydra.

Maybe someone has written the graphical front end to it, but when I was using it, there was only command line interface.

I will not be posting links here and since SU is not a hacking forum I will also say this : Use this software only for testing and experiments and with educational purposes. Never brute-force or otherwise attack resources that you are not entitled to access bacause this is against the law

2

As said It is Not Possible.
Possible Duplicate : reset router password without changing settings/get settings before reset?

Also your choice is a telnet attack. As far as I know it prevents you from entering multiple incorrect passwords and it has a time interval. So it is a lot time consuming and at last Not Possible.

Try to test what you remember:

  • Go here http://zeek.ir/datuz
  • Download the file and put this on comments.txt (Assuming your username is admin and it is) :
admin
[YourPassword]
system debug stats
firewall debug stats
wireless stations list
systemlog show
exit
  • Each time change the password and try it.

You can also use this to loop and "Brute Force Attack"
We use netcat for this, not windows telnet - No need to enable windows features.

OH Also last chance is to call your ISP and provide info and get your user and pass back. (As you know it!)

2
  • That question linked is not a duplicate. This is asking for the current password, while that's asking for a solution to reset the password (while maintaining router settings).
    – Pacerier
    Sep 23, 2014 at 21:00
  • I said possible ... any way they are similar ....
    – UltraDEVV
    Sep 23, 2014 at 21:11
1

The default password to a router is usually pasted on the router itself. If you don't have access to the router, then you really shouldn't be trying to access it at all. (I.E. ... if you're sitting on the sidewalk trying to log onto your neighbor's wifi.) A hard reset of the router will usually work; if not, it's possible that the default password has been changed, at which point you either find it in the paperwork or call the network provider. All of which necessitates, of course, you being the person who could rightfully ask for the password in the first place.

1
  • 1
    The user mentions in his original question that he did not wish to perform a hard reset of the router to factory settings. Typically, attempt to constrain answers to the parameters set by the question. In this case, the question is poor and does not solicit particularly good answers.
    – Will
    Jun 3, 2013 at 22:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .