You are not logged in.

#1 2009-09-19 15:54:50

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Need password without reseting router

Is there a tool for linux that can let me get my password from my router and also keep the settings? I forgot my password, but I don't want to reset it and have to start over with all my settings/port forwardings/whatever.


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

#2 2009-09-19 16:48:12

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: Need password without reseting router

Try brute forcing the password. But seriously, if it was a large password, and you don't remember anything about it, then it probably will take too long to even be useful.

Offline

#3 2009-09-19 17:43:43

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Re: Need password without reseting router

What could I use to brute force it? I don't think it was very long, maybe 7 or 8 characters.


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

#4 2009-09-19 18:01:54

myrkiada
Member
From: Norway
Registered: 2009-04-15
Posts: 74

Re: Need password without reseting router

You could try Hydra from AUR.

hydra -l "admin" -P wordlist.txt -v -e ns 192.168.1.1 http-get /

Something like that.. (?) Just type "hydra" with no arguments and you'll get more info about the options.

That example should work if there is a popup asking for your password, if the login is coded into the page itself, check out this guide.

Edit: You can safely remove the "-e ns" part from the arguments, as it only checks if password is empty or equal to login name..

Last edited by myrkiada (2009-09-19 18:03:33)


My Configs @ Github

Offline

#5 2009-09-19 19:46:03

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Re: Need password without reseting router

Thanks I'll try that later and post back. I've got to start using a more standard password...


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

#6 2009-09-19 21:15:59

brenix
Member
From: California
Registered: 2008-03-05
Posts: 185

Re: Need password without reseting router

I'd recommend hydra too. Though if you have problems with it there is also medusa and authforce in the aur. Never really used them, but it looks like they have the same capabilities..

Offline

#7 2009-09-19 21:59:13

csstaub
Member
From: Switzerland
Registered: 2009-02-09
Posts: 37

Re: Need password without reseting router

Maybe you can find a remote exploit for your router online.
There was one for DD-WRT not very long ago, you could use
it to change the password.

Offline

#8 2009-09-19 22:27:42

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Re: Need password without reseting router

Despite what many people hear, there are network security professionals that beleive it is permissible to write down your password, so long as you keep the sheet in a secure location.


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

#9 2009-09-20 07:15:19

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: Need password without reseting router

Mardoct wrote:

Despite what many people hear, there are network security professionals that beleive it is permissible to write down your password, so long as you keep the sheet in a secure location.

Since most don't encrypt the harddrive  and most of the passwords to sites etc are stored on the comuter. Then everyone with some knowledge and physical access to the computer can get them.
So for a normal person, I totaly agrre with you, better write down the passwords.

Offline

#10 2009-09-20 14:12:32

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Need password without reseting router

You could also try to see if telnet is enabled and try bruteforcing from there, it will not make it easier to find the password but may give you more choice of programs to try and bruteforce.
If you have not changed the default password (which you should have done) try the one in the manual or check for password lists on the net, if bruteforcing try reducing the possible characters to use or try password lists (know as dictionary attacks) if you think the password you have chosen may be easy to guess.

But like tomd123 says, maybe it will take longer to find the password than it will take you to reconfigure the router.

Oh and by the way, I believe we are all assuming it is _your_ router (as you state), knowing how how to attack/bruteforce into a router is a good thing as long as you use the knowledge to secure yourself, if it is to get access to the router owned by someone else it is not a nice thing to do (to say the least) and can get you into serious trouble.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#11 2009-09-20 19:49:41

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Re: Need password without reseting router

Thanks myrkiada, that link looks right up my ally. Also, for the record, it is my physical router in my home.


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

#12 2009-09-20 23:17:22

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Re: Need password without reseting router

Ok, so I tried according the guide, but the problem is that opposed to the guide, my router doesn't forward a message or anything that says "wrong login". It just reloads the current page.

So, every time I try hydra, it either a) gives me the first word in dictionary file or b) gives me a number every couple seconds then quits.

Any ideas on how to get around this?


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

#13 2009-09-21 12:17:00

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Need password without reseting router

Did you try with telnet? hydra supports telnet and maybe you will get more feedback there (if you have it enabled).
My router clearly states that the login is incorrect when using telnet, but it also says so if using the web interface.

You may want to try other services too, sometimes routers have ftp and ssh enabled for the local network too and maybe using them may be faster (less time waiting for page load/reload).


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#14 2009-09-21 14:22:36

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Need password without reseting router

z.s.tar.gz wrote:

I've got to start using a more standard password...

No you don't. You just have to remember the one you use or store it in a safe place wink.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB